-
Notifications
You must be signed in to change notification settings - Fork 29
Fix race condition when starting proofreading with a split action #8676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
c2d0e97
wip: maintain annotation updateCounter
philippotto 481aef0
Revert "wip: maintain annotation updateCounter"
philippotto 8eead58
implement ping-pong mechanism to ensure that all diffing sagas ran wh…
philippotto 97ee7f5
fix skeleton tests and make them rely on saga middleware instead of s…
philippotto abdf8d3
also fix and convert volumetracing tests
philippotto 59a30c4
fix remaining tests
philippotto 4d9e7f3
add comments and prioritize consumption of user action in diffing sagas
philippotto 43dd43a
Apply suggestions from code review
philippotto 122b045
rename receivedDataPerRequest
philippotto 7e31a1f
DRY test setup
philippotto 7472ad9
Merge branch 'fix-await-saving' of github.com:scalableminds/webknosso…
philippotto 6630dc3
Merge branch 'master' of github.com:scalableminds/webknossos into fix…
philippotto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ import { | |
type APITracingStoreAnnotation, | ||
} from "types/api_types"; | ||
|
||
const TRACING_ID = "e90133de-b2db-4912-8261-8b6f84f7edab"; | ||
const TRACING_ID = "skeletonTracingId-e90133de-b2db-4912-8261-8b6f84f7edab"; | ||
export const tracing: ServerSkeletonTracing = { | ||
typ: "Skeleton", | ||
trees: [ | ||
|
@@ -42,7 +42,7 @@ export const tracing: ServerSkeletonTracing = { | |
b: 0, | ||
a: 1, | ||
}, | ||
name: "", | ||
name: "", // there is a test that asserts that empty names will be renamed automatically | ||
isVisible: true, | ||
createdTimestamp: 1528811979356, | ||
metadata: [], | ||
|
@@ -65,27 +65,27 @@ export const tracing: ServerSkeletonTracing = { | |
}, | ||
additionalAxes: [], | ||
zoomLevel: 2, | ||
id: "e90133de-b2db-4912-8261-8b6f84f7edab", | ||
id: TRACING_ID, | ||
}; | ||
export const annotation: APIAnnotation = { | ||
datasetId: "66f3c82966010034942e9740", | ||
datasetId: "datasetId-66f3c82966010034942e9740", | ||
modified: 1529066010230, | ||
state: "Active", | ||
id: "5b1fd1cf97000027049c67ee", | ||
id: "annotationId-5b1fd1cf97000027049c67ee", | ||
name: "", | ||
description: "", | ||
stats: {}, | ||
typ: "Task", | ||
task: { | ||
id: "5b1fd1cb97000027049c67ec", | ||
id: "taskId-5b1fd1cb97000027049c67ec", | ||
projectName: "sampleProject", | ||
projectId: "dummy-project-id", | ||
team: "Connectomics department", | ||
type: { | ||
id: "5b1e45faa000009d00abc2c6", | ||
summary: "sampleTaskType", | ||
description: "Description", | ||
teamId: "5b1e45f9a00000a000abc2c3", | ||
teamId: "teamId-5b1e45f9a00000a000abc2c3", | ||
teamName: "Connectomics department", | ||
settings: { | ||
allowedModes: ["orthogonal", "oblique", "flight"], | ||
|
@@ -98,7 +98,7 @@ export const annotation: APIAnnotation = { | |
recommendedConfiguration: null, | ||
tracingType: "skeleton", | ||
}, | ||
datasetId: "66f3c82966010034942e9740", | ||
datasetId: "datasetId-66f3c82966010034942e9740", | ||
datasetName: "ROI2017_wkw", | ||
neededExperience: { | ||
domain: "oxalis", | ||
|
@@ -156,7 +156,7 @@ export const annotation: APIAnnotation = { | |
tracingTime: null, | ||
tags: ["ROI2017_wkw", "skeleton"], | ||
owner: { | ||
id: "5b1e45faa00000a900abc2c5", | ||
id: "userId-5b1e45faa00000a900abc2c5", | ||
email: "[email protected]", | ||
firstName: "Sample", | ||
lastName: "User", | ||
|
@@ -165,7 +165,7 @@ export const annotation: APIAnnotation = { | |
isDatasetManager: true, | ||
teams: [ | ||
{ | ||
id: "5b1e45f9a00000a000abc2c3", | ||
id: "teamId-5b1e45f9a00000a000abc2c3", | ||
name: "Connectomics department", | ||
isTeamManager: true, | ||
}, | ||
|
@@ -176,7 +176,7 @@ export const annotation: APIAnnotation = { | |
isLockedByOwner: false, | ||
teams: [ | ||
{ | ||
id: "5b1e45f9a00000a000abc2c3", | ||
id: "teamId-5b1e45f9a00000a000abc2c3", | ||
name: "Connectomics department", | ||
organization: "Connectomics department", | ||
}, | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.