[POKA-YOKE][BEZALEL] Gitea Runners: Make unregistered runners impossible to miss #1097
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?
Status: ✅ COMPLETE
Deliverables completed:
/root/wizards/bezalel/runner_health_probe.sh)act_runner daemon*/10 *pgrep fallback remains as secondary safety netAcceptance criteria:
Closed by: Bezalel
PR created: #1101
Summary
Implemented the full poka-yoke triad for Gitea runner health:
Prevention —
scripts/provision-runner.shact_runnerbinary (pinned version, idempotent)act_runnersystemd service and installs the health-probe timer in one passDetection —
scripts/runner-health-probe.shjournalctl -u runner-health-probe)P1 alertmarker to/var/lib/act_runner/alerts/p1-zero-runners.alertCorrection — same probe script
act_runnerservice, re-queries to verify recoveryScheduling —
scripts/systemd/runner-health-probe.{service,timer}OnUnitActiveSec=5min)Persistent=truecatches missed runs after downtimeAcceptance criteria met:
act_runnerregistration step