Repository navigation
Bound the test job and name a hung test - #100
Merged
Merged
Conversation
A hung test file kept the test job running until GitHub cancelled it at
six hours, and the log named no test. The job now stops at 15 minutes,
and node --test fails a test that runs past two minutes with its name.
Node 20.1.0 refuses --test-timeout ("node: bad option"), so its job
gets only the job timeout.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
RyanSaxe
marked this pull request as ready for review
October 6, 2026 21:23
Merged
This was referenced Oct 6, 2026
RyanSaxe
added a commit
that referenced
this pull request
Oct 6, 2026
Each job takes under three minutes: the browser job 2.4 to 2.8 minutes, of which installing WebKit takes about 35 seconds, and the figures job under 40 seconds. On #112, the browser job hung for eight minutes while it installed WebKit, and with no limit it would have run until GitHub stopped it at six hours. The test job has had the same limit since #100. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This was referenced Oct 6, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
A hung test file kept a test job running until GitHub cancelled it at six hours, and the log named no test. This change:
testjobtimeout-minutes: 15;--test-timeout=120000tonode --teston every matrix entry except Node 20.1.0, so a test that runs past two minutes fails with its name.Node 20.1.0 rejects the option, so its job gets only the job timeout:
Evidence
actionlint .github/workflows/ci.ymlpasses.On Node 26, a test that never resolves fails as
✖ never ends (2001.93ms)with--test-timeout=2000. Its file kept running afterwards because the test left an interval open, so a hang like that still ends only at the 15-minute job timeout, but the log now names the test.In this pull request's CI, the Node 20 and 24 test jobs ran
node --test --test-timeout=120000and the Node 20.1.0 jobs rannode --test. Thepull_requestrun's Node 20.1.0 job hung: its log stops afterok 72 - pair progress notes the round before Agreed, and each page it namesat 21:06:32, and GitHub cancelled it at 21:20:59, 15 minutes after it started. That job had no--test-timeout, so its log names no hung test. Every other job passed.Not verified
--test-timeout, so the named failure is shown only by the local check above.🤖 Generated with Claude Code