Skip to content

[chore]: bump node version in SEA binary - #3312

Merged
seanmcguire12 merged 4 commits into
v3from
update-node-and-undici
Oct 23, 2026
Merged

seanmcguire12 merged 4 commits into
v3from
update-node-and-undici

Conversation

@seanmcguire12

@seanmcguire12 seanmcguire12 commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

why


Summary by cubic

Rebuilds the standalone server binaries with Node.js 24.22.1 and Undici 7.30.1 so they include the October 2026 security fixes, and documents the required Node versions for users running from source.

  • The SEA binary build now verifies the active Node runtime and refuses to run on unpatched versions like 22.23.3 or 24.22.0.
  • Turbo caching is disabled for the SEA binary build so stale executables are not reused after a runtime upgrade.
  • Users running the SDK in their own Node installation must upgrade Node separately; the SDK does not update Node for them.
  • Bumps undici to ^7.30.1 via the root package.json override and updates the lockfile.
  • Developers building from source should clone with --branch v3 as reflected in the README updates.
  • Updates the v3 integration tests to use gpt-4.1-mini instead of the retired gpt-4.1-nano.

Written for commit a492937. Summary will update on new commits.

View guided diff Turn on auto-fix

@changeset-bot

changeset-bot Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: a492937

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

This PR includes changesets to release 1 package
Name Type
@browserbasehq/stagehand-server-v3 Patch

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

@cubic-dev-ai cubic-dev-ai 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.

No issues found across 10 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.
Architecture diagram
sequenceDiagram
    participant Dev as Developer
    participant Build as SEA Build Script
    participant Turbo as Turbo Cache
    participant Node as Node Runtime
    participant Binary as SEA Binary
    participant SDK as Stagehand SDK
    participant App as User Application

    Note over Dev,App: SEA Binary Build Flow

    Dev->>Build: Run pnpm build (server-v3)
    Build->>Build: assertSeaBuildRuntime()
    Build->>Node: Check process.versions.node

    alt Node version >= 22.23.4, 24.22.1, or 26.12.1 (patched)
        Node-->>Build: Valid version
        Build->>Turbo: Build with cache disabled
        Turbo-->>Build: Force fresh build
        Build->>Node: Generate SEA config
        Node-->>Build: Create sea-prep.blob
        Build->>Node: Postject binary with blob
        Node-->>Build: Produce SEA binary
        Build-->>Dev: Build successful
    else Node version is unpatched (e.g. 22.23.3, 24.22.0)
        Node-->>Build: Unsupported version
        Build-->>Dev: Throw error with upgrade instructions
    end

    Note over SDK,App: Runtime Flow

    App->>SDK: Import and initialize
    SDK->>Binary: Spawn/connect to SEA server
    Binary->>Binary: Run with embedded patched Node 24.22.1
    Binary-->>SDK: Ready (secure runtime)
    SDK-->>App: Return client
    App->>SDK: Make browser automation requests
    SDK->>Binary: REST API calls
    Binary-->>SDK: Responses
    SDK-->>App: Results

    Note over App,Binary: Node Upgrade Requirement
    alt User runs SDK from source (no binary)
        App->>SDK: Import
        SDK->>App: Check Node version
        alt Node version is patched (24.22.1+)
            SDK-->>App: Proceed normally
        else Node version is unpatched
            SDK-->>App: Warning/error (user must upgrade Node separately)
        end
    end
Loading

View guided diff | Turn on auto-fix | Re-trigger cubic

@seanmcguire12
seanmcguire12 merged commit e11bbe5 into v3 Oct 23, 2026
248 of 250 checks passed
@seanmcguire12
seanmcguire12 deleted the update-node-and-undici branch October 23, 2026 18:01
@github-actions github-actions Bot mentioned this pull request Oct 23, 2026
seanmcguire12 pushed a commit that referenced this pull request Nov 18, 2026
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to v3, this PR will
be updated.


# Releases
## @browserbasehq/[email protected]

### Patch Changes

- [#3150](#3150)
[`69c2440`](69c2440)
Thanks [@miguelg719](https://github.com/miguelg719)! - Fix OpenAI
strict-schema rejection of the nullable `act` action while still
stripping unknown keys when parsing.

- [#3114](#3114)
[`f6b3d85`](f6b3d85)
Thanks [@miguelg719](https://github.com/miguelg719)! - Fix CAPTCHA
awareness options for local Browserbase attachments and forward them
through the API.

- [#3491](#3491)
[`57b905e`](57b905e)
Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - Fix clicks
on partially occluded elements

- [#3132](#3132)
[`09063f6`](09063f6)
Thanks [@shubh24](https://github.com/shubh24)! - Use automatic tool
choice for the final agent `done` call with Claude Sonnet 5.5, Opus 5.5,
and Fable 5.1.

- [#3287](#3287)
[`27ee07c`](27ee07c)
Thanks [@akeimach](https://github.com/akeimach)! - Fix XPath resolution
for light DOM elements when the page has a shadow root and a host
element overrides `children`.

## @browserbasehq/[email protected]

### Patch Changes

- Updated dependencies
\[[`69c2440`](69c2440),
[`f6b3d85`](f6b3d85),
[`57b905e`](57b905e),
[`09063f6`](09063f6),
[`27ee07c`](27ee07c)]:
    -   @browserbasehq/[email protected]

## @browserbasehq/[email protected]

### Patch Changes

- [#3312](#3312)
[`e11bbe5`](e11bbe5)
Thanks [@seanmcguire12](https://github.com/seanmcguire12)! - Rebuild the
standalone server binaries with Node.js 24.22.1 and Undici 7.30.1 to
include the October 2026 security fixes. Binary builds now reject
outdated Node versions and rebuild instead of reusing cached
executables.

- Updated dependencies
\[[`69c2440`](69c2440),
[`f6b3d85`](f6b3d85),
[`57b905e`](57b905e),
[`09063f6`](09063f6),
[`27ee07c`](27ee07c)]:
    -   @browserbasehq/[email protected]

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

2 participants