merge failure recovery small updates
Merged
AJ
4mo ago+88+88+01234567890123456789-10-10-01234567890123456789
- adds some more logging to merge failure recovery with tests
- graphql test for getting a MERGE_FAILED branch
- some final task updates
Summary by cubic
Adds structured logging for merge failure detection and recovery, and verifies MERGE_FAILED is visible via GraphQL to support reliable recovery for IFC-2437. Also adds targeted tests and marks related spec tasks complete.
- New Features
- Emit structured event "merge.failure.detected" with branch, merge_started_at, and worker_id when a stuck MERGING branch is marked MERGE_FAILED.
- Ensure recovery logs "merge.recovery.started", "merge.recovery.completed", and "merge.recovery.failed"; covered by component tests via a shared log-capture helper.
- GraphQL: MERGE_FAILED status is surfaced in InfrahubBranch queries; component test added.
- Specs: mark US4 observability tasks as done and document test locations.