#571 Build Ubuntu server packages from the runners' own mirror
–
- github
- github/openchronology/timeline-app
- github/openchronology/timeline-app#571
- pull request
- state:merged
The **Server packages / Server / ubuntu24.04** job timed out three times today: on v0.24.2's tag, on #567, and on #568's push run. Its build normally takes 2–9 minutes. **Cause:** in #568's run, the native stage's `apt-get install` took **871 s**. `archive.ubuntu.com` trickled packages the whole time, with gaps of 30–150 s between them. No single gap was long enough for apt's 30-second stall timeout (#367), so the step crossed its 15-minute limit. **Fix:** - `deploy/debian-server/Dockerfile` takes an optional `UBUNTU_MIRROR` and points Ubuntu's archive at it. Security updates and Debian builds are unchanged. - `scripts/server-package.mjs` passes `OCH_UBUNTU_MIRROR` through. - The workflow sets it to `http://azure.archive.ubuntu.com/ubuntu`, the mirror GitHub's runners use for their own packages. - Builds elsewhere are unchanged. **Checked:** in an `ubuntu:24.04` container, the rewrite gives `URIs: http://azure.archive.ubuntu.com/ubuntu/`, and `apt-get update` fetched 33.8 MB in 4 s. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/circagraph/timeline-app/pull/571
Related
Open #571 Build Ubuntu server packages from the runners' own mirror in the timeline