[claude] Poka-yoke runner health: provision + health probe scripts (#1097) (#1101)

This commit is contained in:
2026-04-07 14:33:35 +00:00
parent d512f31dd6
commit d0d655b42a
4 changed files with 449 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
[Unit]
Description=Gitea Runner Health Probe (poka-yoke zero-runner detection)
Documentation=https://forge.alexanderwhitestone.com/Timmy_Foundation/the-nexus/issues/1097
After=network.target act_runner.service
[Service]
Type=oneshot
ExecStart=/root/wizards/the-nexus/scripts/runner-health-probe.sh
StandardOutput=journal
StandardError=journal
Environment=HOME=/root
# Token can be set here or via /etc/act_runner/gitea-probe-token file
# EnvironmentFile=/etc/act_runner/probe.env
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,14 @@
[Unit]
Description=Gitea Runner Health Probe — fires every 5 minutes (poka-yoke #1097)
Documentation=https://forge.alexanderwhitestone.com/Timmy_Foundation/the-nexus/issues/1097
[Timer]
# Start 2 minutes after boot (let network and act_runner settle)
OnBootSec=2min
# Then fire every 5 minutes
OnUnitActiveSec=5min
# Re-fire missed runs after downtime
Persistent=true
[Install]
WantedBy=timers.target