Repository navigation
fix(ci): run the job-time alarm on the schedule only - #4774
Conversation
Test Job Duration ran on each push to main and read almost the same window of 20 runs each time. The mean was over 300 s, so each push run of main failed in this job, and main had no green run. The metric also counted the time that the shards and the join waited for a runner. The job now runs on the daily schedule and on a manual run only. The concurrency group of ci.yml holds the event, so a merge does not cancel the schedule run. devops ci job-time times a run as the run time of the slowest shard plus the run time of the join, and prints the queue time on its own line. The limit stays 300 s and does not count the queue.
Fail-to-pass
Before and after (Actions API, 2026-11-11)
The alarm stays red: the mean without the queue is still over 300 s. #4250 and the registry token check of the CI audit work on that time. Push runs of
Local checks
Not shown yetTwo acceptance criteria need runs after the merge: a push run of Owner stepsNone. No repository setting changes, and every required check keeps its name. |
MeasurementsAll figures come from the GitHub Actions API on 2026-11-11. Push runs of
Thus, after the merge, a push run of The metric (
The alarm stays: the mean without the queue is still over 300 s, so the schedule run fails until the test time goes down. Run 43018142394 (acceptance criterion: 520 s or less): before 975 s, after 472 s run time and 503 s queue time. Local checks: Owner steps: none. The change alters no repository setting and no required check. |
After the merge
|
🤖 I have created a release *beep* *boop* --- ## [0.113.0](v0.112.3...v0.113.0) (2026-11-11) ### Features * **roadmap:** detect merge conflicts on open ready pull requests ([#4766](#4766)) ([3f72e76](3f72e76)) ### Bug Fixes * **ci:** run the job-time alarm on the schedule only ([#4774](#4774)) ([60c0847](60c0847)) ### Performance Improvements * **roadmap:** parse only the test modules that name the registry ([#4778](#4778)) ([4b28980](4b28980)) --- 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>
Test Job Durationnow runs only on the daily schedule and on a manual run ofci.yml. Before, it ran on each push tomainand read almost the same window of 20 runs each time. That mean was over 300 s, so each push run ofmainfailed in this job, and a new failure onmaincould hide behind it.devops ci job-timenow times a run as the run time of the slowest shard plus the run time of theTests & Coveragejoin. The time that the jobs waited for a runner is shown in a column and on its own line, and the 300 s limit does not count it.The concurrency group of
ci.ymlnow holds the event name, so a merge does not cancel the schedule run.Closes #4634
Change:
openspec/changes/archive/2026-11-11-4634-run-the-job-time-alarm-on/