flybrain/infra/bin
acamilo 1d29ab1ff8 infra: persistent session-to-legacy fallback, signal-safe fly-runtime, MALLOC_ARENA_MAX=2
The fallback used to live only inside one 'fly-runtime session' invocation. The session
drop-in now carries OnFailure=fly-runtime-fallback.service and a 3-starts-in-10-minutes
start limit, so a session binary that will not stay up puts flysim.service back on legacy
after a reboot, a watchdog or loop-recover restart or a deploy. 'fly-runtime fallback'
removes the drop-in, daemon-reloads, restarts on legacy, writes /run/fly/runtime-fellback.json
and a journal line; it is locked, idempotent and keeps the drop-in if legacy cannot start.
fly-runtime traps INT/TERM/HUP and any failure during a switch and rolls back to the
previous state. Session drop-in and flysim-session.service set MALLOC_ARENA_MAX=2.
05-deploy keeps the chosen runtime (operator decision: session stays, trust gates),
refreshes the drop-in in place, and says so; the runbook documents all of it.
lint.sh drives the fallback, the interrupts and the deploy policy against a fake systemctl.
2026-09-30 00:11:25 +00:00
..
dev-stage-deploy.sh flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
fly-backup-stage flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
fly-loop-recover recovery splash: the operator's copy, and STUCK from the last progress 2026-09-28 22:43:41 +00:00
fly-loop-reset loop recovery: wait on the watchdog's ActiveState, and only a root flysim that is the running build 2026-09-28 21:37:40 +00:00
fly-recap flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
fly-reset-to-milestone rewards: a catch reward, adapter v6 with a v5 migration, and a rung restart 2026-09-22 17:30:00 +00:00
fly-retention flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
fly-runtime infra: persistent session-to-legacy fallback, signal-safe fly-runtime, MALLOC_ARENA_MAX=2 2026-09-30 00:11:25 +00:00
fly-watchdog Merge fix/loop-row58: the gym's people are there when the screen does not draw them, and the game's own moves write no ledger 2026-09-23 13:43:18 +00:00
flycast-launch flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
flypush flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
flystage-launch flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
wait-for-health flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
wait-for-stage flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
wait-for-x flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00