Skip to content

Use ComputeSDK recording option for Browserbase sessions - #454

Open
spicysouvlaki wants to merge 1 commit into
computesdk:masterfrom
spicysouvlaki:fix/browserbase-recording-option
Open

spicysouvlaki wants to merge 1 commit into
computesdk:masterfrom
spicysouvlaki:fix/browserbase-recording-option

Conversation

@spicysouvlaki

@spicysouvlaki spicysouvlaki commented Sep 19, 2026

Copy link
Copy Markdown

Summary

A correctness fix we noticed while looking at the Browserbase benchmark config.

The Browserbase configs passed recordSession: false, but that is not a ComputeSDK session option. @computesdk/browserbase builds its request params field-by-field with no passthrough for unknown keys, so it was silently dropped:

// @computesdk/browserbase dist/index.js — mapSessionOptions()
if (options.recording !== void 0) browserSettings.recordSession = options.recording;

@open-cla

open-cla Bot commented Sep 19, 2026

Copy link
Copy Markdown

Contributor License Agreement

All contributors are covered by a CLA.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@spicysouvlaki
spicysouvlaki marked this pull request as draft September 19, 2026 00:04
The @computesdk/browserbase adapter maps `recording` to Browserbase's
`browserSettings.recordSession`. These configs passed `recordSession`
directly, which the adapter drops, so sessions were still created with
Browserbase's default of recordSession: true.

`enableNativeSelectPolyfill` is left in place. It is a real (undocumented)
Browserbase browserSettings field that defaults to true, but the adapter
has no mapping for it, so it is currently a no-op here and will start
taking effect if the adapter gains passthrough.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@spicysouvlaki
spicysouvlaki force-pushed the fix/browserbase-recording-option branch from b090bb1 to ad41e2f Compare September 19, 2026 00:36
@spicysouvlaki
spicysouvlaki marked this pull request as ready for review September 19, 2026 00:52
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