flybrain/infra/units
acamilo 63ecc32b2f loop recovery: an escalation ladder that unsticks a trap on its own
Restart flysim, then reset to the current rung's milestone, then to the
archive below the best rung (never lower), one step per confirmed trap
that outlives the previous one. Two resets a day, three-hour restarts
once they are spent; the ladder starts over at a new best rung or after
six quiet hours. State and history live in the unit's StateDirectory so
a reboot does not forget where the ladder stood.

A router model list confirms each step; a 'not stuck' answer delays it
at most three probes and no answer leaves the watchdog to decide alone.
Each step is announced 60 s ahead in /run/fly/wd/recovery-notice.json
for the stage's recovery splash.

fly-loop-reset is the one new root surface (a sudoers line); 05-deploy
now converges config/fly-sudoers so a release can add it.
2026-09-28 21:23:33 +00:00
..
fly-loop-recover.service loop recovery: an escalation ladder that unsticks a trap on its own 2026-09-28 21:23:33 +00:00
fly-loop-recover.timer Add conservative automated loop recovery timer 2026-09-26 01:12:46 +00:00
fly-recap.service flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
fly-recap.timer flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
fly-retention.service flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
fly-retention.timer flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
fly-watchdog.service flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
fly-watchdog.timer flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
fly.target flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
flybridge.service flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
flycast.service flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
flyedge.service infra: flyedge.service, off by default, and the feed bus through build, deploy and watchdog 2026-09-23 11:41:28 +00:00
flypush-restart.service flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
flypush-restart.timer flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
flypush.service flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
flysim.service infra: flyedge.service, off by default, and the feed bus through build, deploy and watchdog 2026-09-23 11:41:28 +00:00
flystage-web.service flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
flystage.service flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
mediamtx.service flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
pulse.service flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
xvfb.service flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00