foss_breakglass_mirror_v2/scripts
Piers Cockram 46c6e5a9c3 breakglass-sync: per-owner soft budget (OWNER_BUDGET_SEC, default 2h)
Once an owner consumes more than OWNER_BUDGET_SEC seconds, the script
stops starting new repos for that owner and moves on to the next.
The in-flight repo finishes naturally — we never kill mid-push.
ONLY_REPO mode bypasses the budget (single-repo runs are intentional).

Surfaced via a new OWNERS_DEFERRED counter in the summary line + an
OWNER_BUDGET_EXCEEDED audit event per owner.

Originally added after signalapp was starved by openclaw repeatedly
consuming the whole window. With 12 owners and a 16h sync timeout,
2h/owner gives ample headroom while preventing any single owner from
monopolising the run.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-28 12:57:01 +10:00
..
breakglass-healthcheck.sh feat: add disk space monitoring to healthcheck (warn 80%, critical 90%) 2026-03-31 13:08:36 +10:00
breakglass-sync.sh breakglass-sync: per-owner soft budget (OWNER_BUDGET_SEC, default 2h) 2026-05-28 12:57:01 +10:00