-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
Slack thread session reset on idle loses triggering message #78059
Copy link
Copy link
Closed
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.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: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
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.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: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: Idle Slack Thread Session Reset Loses Triggering Message
Summary
When a Slack thread session is idle for ~30 minutes and receives a new message, OpenClaw resets the session but loses the incoming message that triggered the reset. The message is never delivered to either the old or new session.
Environment
Steps to Reproduce
Evidence from Session Files
Timeline (2026-05-05 UTC)
03:33:22- User message in thread (delivered, agent responded)03:34:01- Agent completed response (session idle after this)04:03:30- User pings: "@ghosty what do you think" ← THIS MESSAGE LOST04:03:32- Session reset triggered (.resetfile created)04:03:35- New session created (ID changed from3e057aaa...to55a9502a...)04:06:08- User pings again: "@ghosty are you receiving my msgs"04:06:12- New session receives this message and respondsSession Files
Old session (reset):
New session (created after reset):
Key Observation
The old session transcript shows a clean completion at 03:34:01 with
"stopReason":"stop". The session was NOT stuck - it was simply idle. The safety mechanism incorrectly treated 29 minutes of idleness as "stuck" and reset it.The message at 04:03:30 (visible in Slack API:
ts=1777953810.470989) never appears in either session's transcript.Root Cause Hypothesis
The session routing logic for thread messages triggers a reset for idle sessions when a new message arrives, but fails to preserve/deliver the incoming message to the new session.
Expected Behavior
When resetting an idle thread session on new message arrival, OpenClaw should either:
Workaround
User must ping twice after long idle periods. First ping triggers reset (lost), second ping is received.
Impact