Skip to content

Fix the CI failures on main; pin Pages to phase-5g - #17

Merged
stevenweaver merged 2 commits into
mainfrom
fix/ci-flakes
Nov 24, 2026
Merged

stevenweaver merged 2 commits into
mainfrom
fix/ci-flakes

Conversation

@stevenweaver

Copy link
Copy Markdown
Member

Four nightly runs on fa930a7 failed. Three of the causes are fixed here; the fourth was the runner.

Server bug (run 45244097197). If a job was deleted while it was running, its worker could still answer afterwards. finish() and onSection then wrote into the directory the delete had removed, an unhandled ENOENT that failed the suite. A deleted job now drops everything its worker sends. The new test in sweep.test.js reproduces the ENOENT on the old code.

Flaky temporal test (run 42662102227). Pausing the SSE reader (#16) does not pause the worker, so the summary read could land after the null had finished. The summary is now read between two progress reads and kept only when both are mid-null. time.test.js passed 3 of 3 runs locally (72/72 each); the whole server suite passes (131/131).

e2e (run 43043201141). An apt mirror dropped out during the Playwright deps install. Both install steps now retry three times, 30 s apart.

Pages pin (second commit). pages.yml was at phase-5d while ci.yml runs phase-5g. Nothing failed, and the deployed site kept shipping the TN93 port that phase-5g deletes. The scope job now fails when the two values differ. Because this changes ci.yml, the PR takes the slow gates.

Not changed: the parity job of 11-23 lost its runner about 50 min into the node surface, most likely memory pressure. If it happens again, the next step is lowering --threads $(nproc).

- server: a job DELETEd while it ran could still answer afterwards, and
  finish() / onSection wrote result.json and sections/*.json into the
  directory the delete had removed: an unhandled ENOENT that failed the
  server suite (run 45244097197). A deleted job now drops everything its
  worker sends. sweep.test.js covers it with a worker that answers after
  being cancelled; the test reproduces the ENOENT on the old code.
- server/test/time.test.js: pausing the SSE reader (#16) does not pause the
  worker, so a buffered frame could be stale and the summary read land after
  the null ended (run 42662102227). The summary is now read between two job
  progress reads and kept only when both are mid-null.
- ci.yml: retry the Playwright browser and apt installs three times; an apt
  mirror dropout failed an e2e shard (run 43043201141).
pages.yml was still at phase-5d while ci.yml ran phase-5g. Nothing failed:
the site stayed green and went on shipping the JavaScript TN93 port that
phase-5g deletes. The scope job now compares the two values.
@stevenweaver
stevenweaver merged commit 300abcb into main Nov 24, 2026
10 checks passed
@stevenweaver
stevenweaver deleted the fix/ci-flakes branch November 24, 2026 22:35
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