mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-09 20:26:33 +00:00
Add INFINITO_MAX_RUNTIME (env handler: 6h on real GitHub Actions, 48h otherwise) and a RuntimeBudget guard in the dev-deploy variant loop. Before each next variant round the guard projects elapsed + longest round so far + 30m buffer; if it would exceed the budget it stops and emits a CI warning annotation (never fails — the rounds that ran stay deployed). - utils/env/handlers/infinito_max_runtime.py: new handler (canonical SPOT for the var; uses ctx.on_gha, materialised into .env by the generator). - cli/administration/deploy/development/runtime_budget.py: RuntimeBudget + duration parser (6h/48h/90m/3600/3600s), extracted to keep deploy.py lean. - deploy.py: loop uses budget.exhausted()/start_round()/end_round(). - tests for both the handler and RuntimeBudget. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>