fix: limit CI fix respawn to 3 attempts, then escalate to supervisor (#53)
Dev-poll spawned a fresh agent every 10min for CI failures. Each agent started with CI_FIX_COUNT=0 — infinite loop.
Now tracks attempts per PR in `/tmp/dev-poll-ci-fixes-{project}.json`. After 3 failed rounds:
- Writes escalation to `supervisor/escalations.jsonl`
- Sends Matrix alert
- Stops respawning
Part of #52 (supervisor escalation pipeline).
Co-authored-by: openhands <openhands@all-hands.dev>
Reviewed-on: https://codeberg.org/johba/disinto/pulls/53
Reviewed-by: review_bot <review_bot@noreply.codeberg.org>
This commit is contained in:
parent
740bddb2db
commit
c24adc4ea2
2 changed files with 69 additions and 7 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -16,3 +16,4 @@ metrics/supervisor-metrics.jsonl
|
|||
|
||||
# OS
|
||||
.DS_Store
|
||||
dev/ci-fixes-*.json
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue