feat(dashboard): cancel CLI annotate on client disconnect#40344
feat(dashboard): cancel CLI annotate on client disconnect#40344pavelfeldman wants to merge 1 commit into
Conversation
c778cfe to
59dd4f0
Compare
This comment has been minimized.
This comment has been minimized.
59dd4f0 to
c0abd5a
Compare
Migrate BrowserTracker to the mirrored BrowserContext lifecycle events. When the last `--annotate` client socket closes, the server emits `cancelAnnotate` so the dashboard disengages annotate mode and future submissions fall back to saving as a download. Remove the superseded `pick` CLI command in favor of the `show --annotate` workflow.
c0abd5a to
219b96e
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Test results for "tests 1"5 flaky41307 passed, 847 skipped Merge workflow run. |
Test results for "MCP"7 failed 6555 passed, 913 skipped Merge workflow run. |
Summary
BrowserTrackerto the mirroredBrowserContextlifecycle events — drops the per-page listener bookkeeping.cancelAnnotatewhen the last--annotateclient socket closes; dashboard disengages annotate mode and subsequent submits save as a download.annotations.tsxintodashboard.tsx; extractsaveAnnotationAsDownload.cliAnnotatenow survives switching between dashboard modes until submit/cancel.pickCLI command; the annotate workflow replaces it.