Skip to content

BRAPI-1553: Add response metadata to Browser Run types - #7002

Open
BernardoPe wants to merge 2 commits into
cloudflare:mainfrom
BernardoPe:bpereira/brapi-1553-browser-run-response-meta
Open

BRAPI-1553: Add response metadata to Browser Run types#7002
BernardoPe wants to merge 2 commits into
cloudflare:mainfrom
BernardoPe:bpereira/brapi-1553-browser-run-response-meta

Conversation

@BernardoPe

@BernardoPe BernardoPe commented Aug 14, 2026

Copy link
Copy Markdown

The Browser Run quick actions return response metadata that these types do not describe, so anyone typing res.json() with the exported success types has to cast to read it.

BrowserRunResponseMeta gains headers, finalUrl and redirectChain, plus a BrowserRunRedirectHop type for the redirect entries. meta is added to the links, scrape, json and markdown success responses, which already return it. Content and snapshot already had it.

The generated snapshots carry the same additions.

Adds headers, finalUrl and redirectChain to BrowserRunResponseMeta, a
BrowserRunRedirectHop type for the redirect entries, and meta on the
links, scrape, json and markdown success responses.
@github-actions

github-actions Bot commented Aug 14, 2026

Copy link
Copy Markdown

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@BernardoPe

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request Aug 14, 2026
@BernardoPe
BernardoPe marked this pull request as ready for review August 14, 2026 01:34
@BernardoPe
BernardoPe requested review from a team as code owners August 14, 2026 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant