Server package builds retry a stalled mirror and fail in minutes (#367)
- github
- github/openchronology/timeline-app
- commit
- main
- github/athanclark
- Every Dockerfile stage that runs apt first writes /etc/apt/apt.conf.d/80-retries (Acquire::Retries 3, http and https timeouts of 30 s); the .deb and .rpm builds share a base stage for their distribution's stages. The .rpm build's base stage sets dnf's retries=3 and timeout=30 in dnf.conf, as do the Rocky desktop job and the package install tests (test/server-deb.mjs, test/server-rpm.mjs). - server-packages.yml gives the build and install steps their own timeout-minutes (15 for builds, 10 for container installs, 15 for FreeBSD VMs, 10 and 5 on macOS, 15 and 10 on Windows, 10 for the platform), from recent runs' step times. - scripts/server-package.mjs runs docker buildx build with --progress=plain, so a log shows where a build stalled. - test/ci-workflows.test.mjs checks every apt and dnf stage is configured, and the two package steps have time limits. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/commit/841a2f7322030ec726e47f11104ae4d2235d0e0d
Related
Open Server package builds retry a stalled mirror and fail in minutes (#367) in the timeline