Repository navigation
ci: run the integration files one at a time again - #394
Conversation
Since #374 ran them four at a time beside the browser lane, 8 of 14 CI runs needed a rerun (2 of 17 before). A different old timing assertion failed each time: the 50ms submit deadline and the 120ms Enter gap in submit.contract, the 12s managed update wait in updater.test, the 15s resize in api.contract. None belonged to the PR under test. The workers stay in scripts/ci-tests.ts; CI sets HERDR_TEST_SHARDS=1 until those tests hold under load. The browser lane still runs beside the integration lane. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Important Review skippedReview was skipped as selected files did not have any reviewable changes. ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughThe integration CI job now runs tests with one shard. The CI documentation describes sequential integration tests and notes that the integration and browser lanes still run concurrently. ChangesIntegration CI
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~8 minutes Change: Bug fix · Severity of issue fixed: Low Merge Risk: ⚪ Minimal · up to Integration files run one at a time while the browser lane remains concurrent. No actionable issue identified here prevents merging. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
CI on 0cf322c, run 37127454768, five attempts in a row:
So 3 of 4. The job takes about as long as before: the integration lane is about 120s beside the browser lane. The one failure is None of the old timing tests ( |
Bumps package.json and herdr-plugin.toml to 0.3.47, moves the Unreleased notes under [0.3.47] - 2026-10-03 (the two Fixed lists folded into one), and adds the compare link. Raises the remote PC bundle to 14 (new routes: `/api/tab/rename`, `/api/tab/close`): push the `remote-v14` tag and let the bundle workflow publish before running release.yml. Carries #374, #388, #389, #390, #391, #392, #394, #395. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Fable 5.1 <[email protected]>
What
The Integration and browser job sets
HERDR_TEST_SHARDS: 1, so the integration files run one by one again. The worker code from #374 stays, and the browser lane still runs beside the integration lane.Why
Since #374 ran the integration files four at a time beside the browser lane, CI fails by chance more often than not:
A different old test failed each time, none of them part of the PR under test:
server/submit.contract.test.ts: the 50mssubmitDeadlineMscase timed out its first message; the Enter gap read 119 against>= 120.server/updater.test.ts: the 12s wait for a managed update ran out (two cases).server/api.contract.test.ts: the resize case hit the 15s timeout.scripts/chat-size-regression.ts:74(browser lane): the chat lens sent tworesizeframes. This one may be a race in the app, not in the test; not looked into here.Locally on current
main,HERDR_TEST_SHARDS=1 bun run test:integrationpassed 197/197 (one run, 158s), while nine parallel runs each failed somewhere (4 workers on 4 cores, 2 workers on 4 cores, 4 workers on 32 cores). The local machine was shared, so the parallel numbers are noisy.Cost
The integration lane goes from about 30s back to about 160s. The job as a whole is bounded by that lane again instead of the browser lane (about 130s).
Checking it
This PR's CI is run several times in a row; the results are in a comment below.
Next
Make the timing-bound tests hold under load, look into the chat-lens
resize, then raise the worker count again.🤖 Generated with Claude Code