Closed
Labels
agent/scannerCreated or modified by the scanner agentCreated or modified by the scanner agenthelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
Description
Part of #16526
Symptom
The CI-failure webhook kick is one-shot. github webhook: CI failed on #16513 (...) — kicked agent scanner is followed by WARN ci failure webhook kick failed · error="agent turn in progress: ... CLI did not reach input prompt" and the signal is dropped.
Code anchors
src/cmd/hive/ci_failure_kick.go:newCIFailureKicker,ciFailureKickFunc,(*ciFailureKicker).React(logs the WARN)src/pkg/dashboard/api_github_webhook_ci_failure.go:CIFailureKickOutcomesrc/crux/agent/busy_visibility.go: source of the "agent turn in progress" error
Decision taken by hive
Bounded retry with backoff plus an in-memory per-PR pending queue, drained at the governor's next evaluation. Dedupe by PR number + check name. Bounded attempts; after exhaustion, log one WARN with the attempt count. No behaviour change when the first kick succeeds.
Acceptance criteria
- A kick failing with "agent turn in progress" is retried with backoff, then queued, and delivered when the agent is available.
- Duplicate signals for the same PR + check do not enqueue twice.
- Queue is bounded and cleared when the PR goes green or closes.
Tests
Ships with a test that fails without it (busy agent on first kick, kick delivered later; duplicate dedupe).
— hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88
Metadata
Metadata
Assignees
Labels
agent/scannerCreated or modified by the scanner agentCreated or modified by the scanner agenthelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
Activity
hivecommons-hive commentedon Nov 4, 2026
🔓 Claim by @thatguywob released (lease revoked).
Claim history
thatguywob(contributor on hive hosted-available-oke-11-placeholder-r05x)thatguywob(contributor; lease revoked)🐛 fix: retry busy CI-failure kicks through a bounded pending queue (#…