Skip to content

fix(session): recover orphaned running tools after server restart#370

Open
xiami762 wants to merge 1 commit into
devfrom
fix/session-orphan-tool-recovery
Open

fix(session): recover orphaned running tools after server restart#370
xiami762 wants to merge 1 commit into
devfrom
fix/session-orphan-tool-recovery

Conversation

@xiami762
Copy link
Copy Markdown
Contributor

@xiami762 xiami762 commented Jun 4, 2026

No description provided.

Mark persisted running tool parts as interrupted after unexpected server exits so session history no longer shows stale in-progress tools. Add startup, session-read, and session-loop recovery coverage with regression tests for idle and busy sessions.

Co-authored-by: Cursor <cursoragent@cursor.com>
@xiami762 xiami762 requested a review from duguwanglong June 4, 2026 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant