Skip to content
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

Workaround to avoid false-positive version warning #6656

Merged
merged 3 commits into from
Nov 23, 2022

Conversation

philippotto
Copy link
Member

@philippotto philippotto commented Nov 23, 2022

See the code comment. I'd consider the issue closed then until we get another report about this (but I'd hope that this won't happen again).

I ran into the original issue while testing #6652 (luckily I had a breakpoint in that saga from another debugging session). I could verify that the version mismatch was off by one and directly after continuing from the breakpoint in the warning-saga, the updateVersionAction was dispatched which led to my theory about the race condition.

URL of deployed dev instance (used for testing):

  • https://___.webknossos.xyz

Steps to test:

  • the issue was basically impossible to reproduce. introducing sleeps at the right spots would probably work, but then one would only verify that the described race condition is fixed (maybe others exist which we didn't see yet?)
  • since only a sleep in a non-critical saga was added, I don't think much harm can be caused with this PR

Issues:


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

Copy link
Member

@daniel-wer daniel-wer left a comment

Choose a reason for hiding this comment

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

Uuh, nice find! Sounds convincing to me that this could explain the sporadic errors! 👍

@philippotto philippotto enabled auto-merge (squash) November 23, 2022 13:46
@philippotto philippotto merged commit 0b5c1f9 into master Nov 23, 2022
@philippotto philippotto deleted the mitigate-false-positive-warning branch November 23, 2022 14:04
hotzenklotz added a commit that referenced this pull request Dec 6, 2022
…cing

* 'master' of github.com:scalableminds/webknossos: (23 commits)
  Guard against invalid-mag bucket volume save actions (#6660)
  Add OIDC authentication (#6534)
  Add second (non-admin) default user to "initial data" trigger (#6666)
  Fix and improve miscellaneous things in Folders tab (#6674)
  Improves mag and voxelSize inferral for remote datasets (#6670)
  Squashed commit of the following:
  Fix import of N5 datasets by adding n5 schema to frontend validation (#6668)
  Virtual Folder Structure for Datasets (#6591)
  Ability to recover from webGL context loss (#6663)
  Fix assertion that referenced teams cannot be deleted (#6664)
  fix task summary with pending jobs (#6662)
  Only allow taskTypeId as parameter in task creation (#6640)
  Release 22.12.0 (#6661)
  Create Annotation From View Mode: Keep Activated Mapping (#6647)
  Workaround to avoid false-positive version warning (#6656)
  Fix WK-lib download snippet (#6605)
  Use LZ4 with WASM for volume saving/undo/redo (#6652)
  Fix version number extraction when building docker image (#6655)
  Pass mapping name to precompute meshes (#6651)
  Deduplicate bboxes when importing NML (#6648)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

False positive "A newer version ... was found" warning
2 participants