test(evals): exercise the workspace V4 CLI - #2838
Draft
shrey150 wants to merge 4 commits into
Draft
Conversation
🦋 Changeset detectedLatest commit: e22fda9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
This was referenced Aug 27, 2026
shrey150
force-pushed
the
agent/browse-v4-6-release
branch
from
August 28, 2026 02:52
503061a to
5ec53cb
Compare
This was referenced Aug 28, 2026
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.
Summary
Make the workspace evals and release path consume the V4 Browse CLI proven in #2835.
--return-xpathremoval.The unrelated eval CLI
--verbosechanges from the old draft are intentionally not included.Stack
--return-xpath; complete supported V3 parityReview boundary
This PR is a consumer/packaging layer, not another runtime-parity layer. The CLI behavior belongs in #2834/#2835; this diff proves the released package and eval adapters invoke it correctly.
E2E Test Matrix
npm lsreported Browse with Stagehand 4.0.2 deduped; both realpaths were under the isolatednode_modules, not workspace links; 189 packages audited with 0 vulnerabilitiesnode_modules/.bin/browseagainst real Chromium: open, full snapshot, fill, focus/press, bare type, ref click, and DOM readsPR 2838 restack E2E;typereturned{ "typed": true }; ref@0-15producedSubmitted: TypedByBareCommand{ left: "211px", top: "233px", svg: true }in real ChromiumBrowseCliTooladapter process smokeAdapterBareType; outputSubmitted: AdapterBareType; representationsnapshot_refs; correct local/tool/launch metadata; cleanup removed daemon filese22fda93cpnpm --filter @browserbasehq/stagehand-evals builde22fda93cpnpm tsx scripts/release/check-changesets.tsThe isolated real-browser packaging smoke is local Chromium. Browserbase remote mode and registry publication are outside this packaging check and were not rerun here. The fixture, installed-CLI daemon, adapter daemon, capture, and isolated consumer were cleaned up; the worktree remained clean.