fix(followup): preserve queued messages across abort paths#29532
Closed
Sid-Qin wants to merge 1 commit into
Closed
fix(followup): preserve queued messages across abort paths#29532Sid-Qin wants to merge 1 commit into
Sid-Qin wants to merge 1 commit into
Conversation
Avoid clearing followup queues during /stop and fast-abort cleanup so queued user messages survive abort/timeout flows instead of being silently dropped. Closes openclaw#29497
Contributor
Greptile SummaryAdded selective queue cleanup options to preserve queued followup messages during abort paths while continuing to clear command lanes. Key Changes:
Impact: Confidence Score: 5/5
Last reviewed commit: 7b41428 |
This was referenced Mar 2, 2026
|
This pull request has been automatically marked as stale due to inactivity. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/stopand fast-abort cleanup cleared followup queues, which could silently drop user messages queued while a run was active.abort.ts,commands-session.ts,queue/cleanup.ts); updated abort regression test accordingly.Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
User-visible / Behavior Changes
Security Impact (required)
NoNoNoNoNoRepro + Verification
Environment
Steps
/stopor fast-abort path.Expected
Actual
Evidence
pnpm vitest run src/auto-reply/reply/abort.test.ts src/auto-reply/reply/commands.test.tsfast-abort preserves queued followups but clears session lane.Human Verification (required)
Compatibility / Migration
YesNoNoFailure Recovery (if this breaks)
Risks and Mitigations