# stagehand-python@4.2.0a0.dev1525: ci: avoid rerunning TypeScript unit tests ( 2985)

Category: open-source
Published: 2026-09-19T17:19:35Z
Source: [Browserbase Stagehand releases](https://github.com/browserbase/stagehand/releases/tag/stagehand-python%404.2.0a0.dev1525)
Agent usefulness: 82/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-09-21T12:17:39.962Z
Tags: browserbase, browser-agent, automation

## Human Summary
Stagehand release stagehand-python@4.2.0a0.dev1525 optimizes CI by removing redundant root Vitest runs during TypeScript unit tests, cutting runtime without reducing test coverage.

## Agent Summary
CI optimization in stagehand-python@4.2.0a0.dev1525 removes duplicate root vitest run execution from TypeScript unit CI job. Execution time reduced from 4m 16s to 2m 53s with verified coverage preservation via Turbo test:unit and test:browser.

## Body
In release stagehand-python@4.2.0a0.dev1525 (commit de3f999), the CI workflow was updated to eliminate duplicate test execution. Previously, the TypeScript unit CI job ran turbo run test:unit followed by vitest run at the root, duplicating package unit tests and taking an extra 81 seconds. The redundant root Vitest step and an unused Chrome output ID were removed. CI validation confirmed that removing the root step preserves coverage: 235 files overlap directly, and the 4 root-only test files (33 test cases in packages/sdk-ts/tests/browser-runtime) are already executed by the separate test:browser task.

## Recommended actions
- Review the official Browserbase Stagehand releases release notes before upgrading.
- Check compatibility, migration, and security notes against your current agent stack.
- Run focused regression tests before production rollout.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.