-
Notifications
You must be signed in to change notification settings - Fork 34
[WIP] E2E Live Collab Test with Puppeteer #9573
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
Draft
philippotto
wants to merge
21
commits into
master
Choose a base branch
from
puppeteer-live-testing
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
b3d515a
add WIP version of collab puppeteer test
philippotto e48ddc5
add vitest config for collab test
philippotto fdcd598
fix getUsers
philippotto fc72c18
only use token for authentication. also reuse existing browser setup
philippotto dab5a28
fix permissions for dataset
philippotto d0caccb
use proper values for supervoxels; improve typing
philippotto d2e77a4
Merge branch 'master' of github.com:scalableminds/webknossos into pup…
philippotto c0bf2d0
DRY waitForTracingViewLoad
philippotto 719125c
fix dataset team permission and make admin also a super user to fix c…
philippotto ca54115
multiple fixes
philippotto 18c75b8
Make mutex acquisition exclusive even when requests reach server near…
MichaelBuessemeyer d104358
fix collab mode setting
philippotto 268b2f0
format
philippotto 29e7f37
Merge branch 'puppeteer-live-testing' of github.com:scalableminds/web…
philippotto cf3cf97
fix typescript
philippotto 52d3a00
Fix db request upserting annotation mutex or returning existing valid…
MichaelBuessemeyer 8f4e8b4
fix request syntax
MichaelBuessemeyer bf15a0a
misc changes in save mutex saga
philippotto f653194
Merge branch 'puppeteer-live-testing' of github.com:scalableminds/web…
philippotto 3656a59
deduplicate upsert statement
MichaelBuessemeyer 953f141
Merge branch 'puppeteer-live-testing' of github.com:scalableminds/web…
MichaelBuessemeyer 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prevent
RequestOptionsfrom overriding fixed PATCH payload/method....optionsis currently applied aftermethod/data, so callers can unintentionally override critical request semantics (Line 560, Line 1174, Line 1479). Apply...optionsfirst, then set immutable fields.Suggested fix
return Request.receiveJSON( `/api/annotations/${annotationType}/${annotationId}/collaborationMode?collaborationMode=${collaborationMode}`, { - method: "PATCH", ...options, + method: "PATCH", }, );return Request.sendJSONReceiveJSON(`/api/datasets/${datasetId}/updatePartial`, { - method: "PATCH", - data: updater, ...options, + method: "PATCH", + data: updater, });return Request.sendJSONReceiveJSON(`/api/datasets/${datasetId}/teams`, { - method: "PATCH", - data: newTeams, ...options, + method: "PATCH", + data: newTeams, });Also applies to: 1174-1174, 1479-1479
🤖 Prompt for AI Agents