Skip to content

Conversation

@MichaelBuessemeyer
Copy link
Contributor

@MichaelBuessemeyer MichaelBuessemeyer commented Nov 26, 2025

URL of deployed dev instance (used for testing):

  • https://___.webknossos.xyz

Steps to test:

  • abc

TODOs:

  • Write more tests
  • Write test for agglomerate skeleton syncing for "split from all neighbors"
  • Write tests for mesh reloading with interfering actions.
  • Write tests for mesh reloading on applying newest backend updates only, no own interactions
  • Try support more update actions when incorporating them
  • Write test for interfering agglomerate skeleton updates. -> injected updates must include agglomerate skeleton updates
  • Keep mesh opacity during reload
  • Keep agglomerate skeleton visibility during reload

Issues:

  • fixes #

(Please delete unneeded items, merge only when none are left open)

  • Added changelog entry (create a $PR_NUMBER.md file in unreleased_changes or use ./tools/create-changelog-entry.py)
  • Added migration guide entry if applicable (edit the same file as for the changelog)
  • Updated documentation if applicable
  • Adapted wk-libs python client if relevant API parts change
  • Removed dev-only changes like prints and application.conf edits
  • Considered common edge cases
  • Needs datastore update after deployment

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 26, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@@ -12,7 +12,7 @@ import type ApiLoader from "./api_loader";
// for debugging or one off scripts.
export const WkDevFlags = {
logActions: false,
liveCollab: false,
liveCollab: true,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: undo

Comment on lines 1149 to 1151
// TODOM: in my test case this is wrong!
// TODOM: this breaks segment list syncing.! -> maybe removes mesh as well :thinking:
// yield* put(removeSegmentAction(targetAgglomerateId, volumeTracingId));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are edge cases where targetAgglomerateId when updated before this operation is wrong / outdated. Same for using the original targetInfo.agglomerateId information to remove the correct segment from the segment list. Therefore, I disabled this for now. This should be done correctly in live m4.

But this is breaking my tests as removing the wrong segment auto removes the mesh with it -> accidentally deleting an auxiliary mesh which should instead still exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants