Steve Yegge
7a6f87ebb7
feat(refinery): implement merge failure handling with labels and notifications
Add comprehensive failure handling for merge queue:
- Add FailureType enum with conflict, tests_fail, build_fail, flaky_test, push_fail
- Add handleFailure function that updates beads issue with labels and assignee
- Add notifyWorkerFailure for type-specific failure notifications
- Add retry logic for flaky tests (configurable via retry_flaky_tests)
- Add pushWithRetry with exponential backoff for transient push failures
- Add label support to beads UpdateOptions (AddLabels, RemoveLabels, SetLabels)
Failure actions by type:
- conflict: needs-rebase label, assign to worker
- tests_fail/build_fail: needs-fix label, assign to worker
- flaky_test: retry once, then treat as tests_fail
- push_fail: retry with backoff, needs-retry label
Closes gt-3x1.4
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-19 14:48:30 -08:00
..
2025-12-19 14:48:30 -08:00
2025-12-17 22:29:40 -08:00
2025-12-17 19:51:36 -08:00
2025-12-16 20:46:52 -08:00
2025-12-17 15:48:13 -08:00
2025-12-17 19:51:36 -08:00
2025-12-17 19:45:47 -08:00
2025-12-17 14:49:52 -08:00
2025-12-17 20:00:28 -08:00
2025-12-19 14:48:30 -08:00
2025-12-17 19:14:37 -08:00
2025-12-17 14:45:00 -08:00
2025-12-16 13:19:27 -08:00
2025-12-16 22:07:13 -08:00
2025-12-17 16:59:40 -08:00
2025-12-17 19:51:36 -08:00
2025-12-17 19:51:36 -08:00