Repository navigation
fix(ci): set job timeouts from the measured run times - #4892
Conversation
Each job limit of ci.yml and service-image-test.yml is now about two times the longest run of the job, and 5 minutes at least. A hung job gives its runner back after 20 minutes or less, not 30 to 60 minutes. The steps that run the gate or the tests get a limit under the limit of their job. A hung step then fails with a message that names it, and the job keeps time for the steps after it. The test steps last longer than the 600 s hang bound of one test, so one test < its step < its job. Contract tests hold the limits, and hold each step limit under its job limit in every workflow.
MeasurementsSource: the Actions API, 4,774 jobs of the
Step limits, with the sum of the longest runs of the steps before and after the step:
The longest time that a hung job holds a runner: 60 min before, 20 min after. No job of the window had the conclusion The acceptance check: no job of these workflows has the conclusion Owner steps: none. The change alters no repository setting and no required check name. |
Fail-to-pass
On the head, |
Service Image Tests (shard 3 of 6) fails: #4891, not this changeThis pull request changes #4857 added this test on The pull request stays a draft until #4891 merges and this check passes. |
🤖 I have created a release *beep* *boop* --- ## [0.116.0](v0.115.0...v0.116.0) (2026-11-12) ### Features * **gh:** name the gh groups issue, run, label and secret ([#4923](#4923)) ([2dd4c97](2dd4c97)) ### Bug Fixes * **ci:** set job timeouts from the measured run times ([#4892](#4892)) ([e26dde5](e26dde5)) * **design:** check the design test bound and source hex values ([#4922](#4922)) ([e2c1a5a](e2c1a5a)) * **k8s:** check the credential sync context as a kubeconfig name ([#4916](#4916)) ([8797c88](8797c88)) * **roadmap:** bound the stage gate returns and start no return in a drain ([#4925](#4925)) ([77eed38](77eed38)) * **roadmap:** count each implement outcome once with its repo ([#4903](#4903)) ([c17f71f](c17f71f)) * **roadmap:** refine looks again at a wait that older rules set ([#4919](#4919)) ([e6f7cb9](e6f7cb9)) ### Performance Improvements * **k8s:** put the dependencies in their own image layers ([#4872](#4872)) ([48dc866](48dc866)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Each job limit of
ci.ymlandservice-image-test.ymlis now about two times the longest run of the job, and 5 minutes at least. The old limits were up to 129 times the longest run, so a hung job held one of the 20 runners for 30 to 60 minutes. Now it holds a runner for 20 minutes or less. Changed-Test Independence goes to 15 minutes, as #4509 merged.The gate and test steps get a limit under the limit of their job (3 of 6, 17 of 20, 14 of 20 minutes). A hung step then fails with a message that names it, and the job keeps time for the steps after it. The test steps outlast the 600 s bound of one test. Contract tests hold the limits.
Closes #4677
Change:
openspec/changes/archive/2026-11-12-4677-set-job-timeouts-from-the-measured/