Skip to content

BRAPI-1041: Add browser rendering commands to wrangler#13159

Merged
ruifigueira merged 11 commits intomainfrom
rfigueira/browser-run-cli
Apr 10, 2026
Merged

BRAPI-1041: Add browser rendering commands to wrangler#13159
ruifigueira merged 11 commits intomainfrom
rfigueira/browser-run-cli

Conversation

@ruifigueira
Copy link
Copy Markdown
Contributor

@ruifigueira ruifigueira commented Mar 31, 2026

Add wrangler browser list and wrangler browser open commands for managing Browser Rendering DevTools sessions. Also adds browser:write OAuth scope to wrangler login.

Fixes BRAPI-1041


A picture of a cute animal (not mandatory, but encouraged)


Open with Devin

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 31, 2026

🦋 Changeset detected

Latest commit: 46aea44

The changes in this PR will be included in the next version bump.

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 31, 2026

✅ All changesets look good

Summary: 9 changesets reviewed - all pass validation.

File Package Version Notes
browser-rendering-cli.md wrangler minor New browser commands with good examples
add-artifacts-oauth-scope.md wrangler minor OAuth scope addition
happy-cameras-occur.md @cloudflare/local-explorer-ui patch Error handling improvements
dependabot-update-13393.md miniflare, wrangler patch Dependency update (workerd)
update-local-explorer-sidebar.md @cloudflare/local-explorer-ui minor New UI features (theme, persistence)
add-preview-commands.md wrangler minor New preview command family (beta)
add-preview-output-entry.md wrangler minor Output file entries for preview
queue-broker-metrics-response.md miniflare patch Queue broker metadata response
add-flagship-binding.md miniflare, wrangler, @cloudflare/workers-utils minor Flagship feature flag binding

All changesets:

  • Use appropriate version types (minor for features, patch for fixes/updates)
  • Have meaningful descriptions
  • Contain no h1/h2/h3 headers
  • Properly identify experimental/beta features where applicable

@ask-bonk
Copy link
Copy Markdown
Contributor

ask-bonk bot commented Mar 31, 2026

UnknownError: Your AI Gateway has authentication active, but you didn't provide a valid apiKey

github run

@ask-bonk
Copy link
Copy Markdown
Contributor

ask-bonk bot commented Mar 31, 2026

@ruifigueira Bonk workflow failed. Check the logs for details.

View workflow run · To retry, trigger Bonk again.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 31, 2026

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@13159

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@13159

miniflare

npm i https://pkg.pr.new/miniflare@13159

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@13159

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@13159

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@13159

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@13159

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@13159

wrangler

npm i https://pkg.pr.new/wrangler@13159

commit: 46aea44

@ruifigueira ruifigueira force-pushed the rfigueira/browser-run-cli branch 5 times, most recently from f1e8772 to ab5d092 Compare April 6, 2026 07:54
@ruifigueira ruifigueira changed the title [wrangler] Add browser rendering CLI commands BRAPI-1041: Add browser rendering commands to wrangler Apr 6, 2026
@ruifigueira ruifigueira marked this pull request as ready for review April 6, 2026 08:32
@workers-devprod workers-devprod requested review from a team and penalosa and removed request for a team April 6, 2026 08:32
@workers-devprod
Copy link
Copy Markdown
Contributor

workers-devprod commented Apr 6, 2026

Codeowners approval required for this PR:

  • ✅ @cloudflare/wrangler
Show detailed file reviewers

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

@github-project-automation github-project-automation bot moved this from Untriaged to In Review in workers-sdk Apr 9, 2026
devin-ai-integration[bot]

This comment was marked as resolved.

@ruifigueira ruifigueira force-pushed the rfigueira/browser-run-cli branch from cfc881d to 074c5f5 Compare April 9, 2026 11:46
@ruifigueira ruifigueira requested a review from penalosa April 9, 2026 12:16
@ruifigueira ruifigueira force-pushed the rfigueira/browser-run-cli branch from 074c5f5 to 9bbdbd4 Compare April 10, 2026 03:18
Copy link
Copy Markdown
Contributor

@petebacondarwin petebacondarwin left a comment

Choose a reason for hiding this comment

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

A few NITS, and needs a rebase, but looks good to me.
Once those are resolved you should be able to merge - or we can for you. Thanks!

@ruifigueira ruifigueira force-pushed the rfigueira/browser-run-cli branch from 8a0cc36 to d294765 Compare April 10, 2026 12:22
Copy link
Copy Markdown
Contributor

@workers-devprod workers-devprod left a comment

Choose a reason for hiding this comment

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

Codeowners reviews satisfied

devin-ai-integration[bot]

This comment was marked as resolved.

@ruifigueira ruifigueira force-pushed the rfigueira/browser-run-cli branch 5 times, most recently from ec89c44 to 58e7c27 Compare April 10, 2026 15:34
@petebacondarwin petebacondarwin dismissed penalosa’s stale review April 10, 2026 16:56

Requested changes have been addressed

When multiple sessions or targets exist, the connect command now throws
an error requiring explicit selection via session ID or --target flag,
rather than outputting all items as JSON. This makes the behavior
consistent: --json only works when the command can actually connect.
- Use JsonFriendlyFatalError for JSON-mode errors in connect.ts
- Move shouldOpen calculation inside else block in create.ts
- Extract throwIfNonInteractive helper to reduce duplication
@ruifigueira ruifigueira force-pushed the rfigueira/browser-run-cli branch from 1b6455e to 46aea44 Compare April 10, 2026 19:22
@ruifigueira ruifigueira merged commit bafb96b into main Apr 10, 2026
56 of 57 checks passed
@ruifigueira ruifigueira deleted the rfigueira/browser-run-cli branch April 10, 2026 21:35
@github-project-automation github-project-automation bot moved this from In Review to Done in workers-sdk Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants