Skip to content

fix(ci): shard fork web tests so Chromium stops closing mid-run - #119

Merged
ScriptedAlchemy merged 1 commit into
mainfrom
fix/fork-ci-shard-web-tests
Nov 14, 2026
Merged

ScriptedAlchemy merged 1 commit into
mainfrom
fix/fork-ci-shard-web-tests

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Fork CI's "Client and package tests" ran all 588 web browser test files in one headless Chromium on a standard GitHub runner. Partway through, the browser closes (VITEST_BROWSER_CONNECTION_CLOSED), each time on a different file: runtime.browser.test.ts and DiffFileLoadingBoundary.browser.test.tsx on #115, and UsageLimitsPooled.browser.test.tsx on main after #118. Every test that ran passed, but the job fails, and so does Fork Check.

Upstream's ci.yml and the release workflow already shard this suite. Fork CI now runs the web tests in their own Web tests job, sharded 1–4, using the same --shard command. "Client and package tests" keeps the release checks and package tests. Fork Check requires the new job and maps it to the test_web gate.

Checks: actionlint passes. Locally, vp run --filter @t3tools/web test --shard 4/4 ran 147 of the 588 files, and all passed.

🤖 Generated with Claude Code

Fork CI ran all 588 web browser test files in one headless Chromium on a
standard runner. It ran out of memory and closed partway through, failing
main and every PR on a different file each time. Upstream already shards
this suite; fork CI now does too, across four runners.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Nov 14, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 6895d84

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ScriptedAlchemy
ScriptedAlchemy merged commit bef6e18 into main Nov 14, 2026
21 checks passed
@ScriptedAlchemy
ScriptedAlchemy deleted the fix/fork-ci-shard-web-tests branch November 14, 2026 01:21
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