Make CI tolerant of homelab-runner network flakes #186
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Gitea Actions homelab runners have hit two transient external-network timeouts in the last week, both blocking otherwise-green PRs:
npm installdied withEIDLETIMEOUT — Idle timeout reached for host registry.npmjs.org:443after ~5 min. Cache restore also timed out (getCacheEntry failed: Request timeout).fatal: unable to access 'https://github.com/***/': SSL connection timeoutafter ~5 min, blocking the GitHub mirror push.Neither is a code issue, but each requires a manual re-run, and the failed runs noisily mark the PR's CI status as red. Buyers / reviewers / future-us reading the PR history can't tell at a glance which red runs were real failures vs. flakes.
Possible fixes
npm ci, mirror push,actions/cacherestore) in a retry — 2 attempts with a 30s delay would have caught both.Acceptance
A single transient network timeout no longer red-marks a PR. Either a retry hides it, or the failure mode is documented and obviously distinguishable from a real failure.