feat(reliability): START=49 boot guard installed by deploy

This commit is contained in:
2026-08-22 13:26:09 -06:00
parent a05754f908
commit 7d1eb62d75
3 changed files with 25 additions and 0 deletions
@@ -7194,6 +7194,13 @@ if __name__ == '__main__':
result = restore_pager_truth(resnapshot=False)
print(json.dumps(result))
sys.exit(0 if result.get('ok') else 1)
if '--reconcile' in sys.argv:
try:
import mk8_guard
print(json.dumps(mk8_guard.reconcile()))
except Exception as exc: # boot must never fail here
print(json.dumps({'error': str(exc)}))
sys.exit(0)
signal.signal(signal.SIGTERM, _request_shutdown)
signal.signal(signal.SIGINT, _request_shutdown)
serve()