You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: bound the Tier 2 "Install Git" apt step, whose 34.5 min stall cancelled a PR build at the 45 min job timeout #5213
On PR #5205's run 44475566010, job 135395273899 (Rust Tier 2 Linux build, hosted), the "Install Git 📦" step ran from 06:54:43 to 07:29:14, which is 34.5 minutes. The build step then had only 7.5 minutes before the job hit its timeout-minutes: 45 and was cancelled. That failed CI Gate ✅ and needed a manual rerun. The rerun, with no code change, took 624 s in total.
The step (.github/workflows/build-project.yaml, around line 2686) runs apt-get update and apt-get install in a 3-attempt loop with 10 s and 20 s sleeps. It has no per-command or per-step timeout, so a stalled mirror connection can use up the whole job budget instead of failing over to the next attempt. Other recent PR runs show the same tail: the step took 317 s (run 44469130384), 172 s and 144 s, against a normal 11-50 s.
Proposed fix:
Bound each apt call: timeout 180 apt-get ..., plus -o Acquire::http::Timeout=20 -o Acquire::Retries=3.
Add timeout-minutes: 10 on the step.
Keep the existing retry loop and the prebaked path unchanged.
A self-test (or the existing workflow lint) should pin that the step has a bound.
At stake: about 33 min plus a manual rerun whenever a mirror stalls, and 50-200 s on slow-but-completing installs. This touches no routing, cache or test coverage.
Found by a read-only analysis of 15 recent PR runs. All of them ran Tier 2 on hosted ubuntu-26.04, with a median job time of about 700 s.
Landed on master in #5221 (0614862): the Tier 2 apt acquisition and package steps are now time-bounded, with a self-test pinning the bound, so a stalled mirror fails over instead of burning the 45-minute job budget.
Activity
zackees commentedon Nov 19, 2026
Claiming: focused CI reliability fix, assigned by the maintainer to pool slot obs-studio5.
Expected first PR: this worker session, if backpressure permits.
zackees commentedon Nov 19, 2026
Landed on master in #5221 (0614862): the Tier 2 apt acquisition and package steps are now time-bounded, with a self-test pinning the bound, so a stalled mirror fails over instead of burning the 45-minute job budget.
ci: bound Tier 2 apt acquisition and package steps (Refs obs-rust#5213)…