Repository navigation
Add safe browser control handoff for Cloud runs - #3182
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Cloud tasks can now pause at a settled tool boundary, give the user browser control, and resume the same run after a fresh page observation. Queued actions based on the previous page are discarded; task authorization, pending sends, and mutation receipts remain intact. A worker restart preserves manual ownership and requires explicit reconciliation instead of replaying the task.
Updated this branch with current main (
0010c7fda) and retained version 40.4.1 in both browser builds.Review fixes
Validation
npm run test:cloud-bridge-approval: 193 passed, including 28 handoff tests.npm run test:failure-recovery: 114 passed.test/integration-races.mjs: 26 passed after fixing the cancellation regression.npm run build:all: Chrome and Firefox build successfully at 40.4.1.The broader runtime shard also exposed two existing failing cases on unchanged main: direct/wrapped empty-caret expectations in
test/draftjs-text.mjs, and an undeclareddirectfixture variable intest/runtime-lifecycle.mjs. Both were reproduced in a separate checkout of0010c7fda; their production code and tests are outside this change. The final runtime shard completed with 4,473 passed / 4 failures (the two empty-caret subtests, their parent test, and the deletion fixture), matching the failures reproduced on main. The branch cancellation regressions no longer fail.npm run test:pdf-mime-handlerandnpm run test:webmcpsmoke checks both pass with Chrome 154.0.8037.97.10c377dfcd82b09de996ae0ee89cf9c6b7511f00against main0010c7fda3e9a3c9960d823204874b2fe23199a7; no outstanding PR review comments.