-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Bug]: Discord component interactions stall 6–12 min in gateway delivery pipeline (send_attempt_started stuck) #95548
Copy link
Copy link
Open
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Description
Metadata
Metadata
Assignees
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Type
Fields
Priority
None yet
Bug Report
Summary
Discord component interactions (buttons/selects) stall in the delivery pipeline for 6–12 minutes before being delivered to the agent session, even though Discord acknowledges the interaction correctly and the gateway receives it.
Environment
channels.discord.agentComponents.enabled: trueSteps to Reproduce
Expected Behavior
Component interactions should be delivered to the agent session promptly (within a few seconds, consistent with normal message delivery).
Actual Behavior
send_attempt_startedstate but never completesdelivery-recoverysystem eventually finds the stuck entry but refuses blind replay:"Delivery entry {id} delivery state is send_attempt_started; refusing blind replay without adapter reconciliation"Evidence
Gateway log excerpt — delivery-recovery refusing to replay stuck entry:
Session-history timestamps confirming consistent delay pattern (all times EEST):
Analysis
send_attempt_startedentries means no automatic recoveryRoot Cause
The component interaction enters the gateway delivery pipeline but gets stuck in
send_attempt_startedstate. The delivery-recovery system detects it ~6 minutes later but refuses retry because the state is mid-flight. The pipeline eventually unblocks without explicit recovery.This appears to be a gateway delivery pipeline issue — something in the routing of Discord component interaction callbacks through the delivery system causes the send_attempt to hang.
Impact
Related Issues (not duplicates, but similar area)