You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clear CompoundAnnotation Cache on Task Changes (#8756)
When finishing or cancelling a task annotation, clear the compound
annotation caches that this annotation influences.
That way, when reloading the compound annotation afterwards, the new
data is visible there immediately.
Note that the tracingstore-side caches don’t need to be cleared, as the
wk side will decide to put new data there, containing the new merged
annotationProto (with all-new tracingIds for the layers).
### URL of deployed dev instance (used for testing):
- https://clearcompoundcache.webknossos.xyz
### Steps to test:
- Create a few tasks for a project
- After finishing a task, view the CompoundProject
- in another tab, finish a second task
- Reload the CompoundProject tab, should show the new data.
### Issues:
- fixes#8744
- more context:
https://scm.slack.com/archives/C5AKLAV0B/p1751875615927679?thread_ts=1751021208.243629&cid=C5AKLAV0B
------
- [x] Added changelog entry (create a `$PR_NUMBER.md` file in
`unreleased_changes` or use `./tools/create-changelog-entry.py`)
- [x] Considered [common edge
cases](../blob/master/.github/common_edge_cases.md)
---------
Co-authored-by: MichaelBuessemeyer <[email protected]>
- Fixed that compound (merged) views of tasks, projects and task types would sometimes show outdated annotation data, leaving out the data from recently finished tasks annotations.
0 commit comments