Skip to content

fix: recover stopped Claude Desktop graph and session work - #3055

Open
ScriptedAlchemy wants to merge 5 commits into
masterfrom
codex/claude-desktop-recovery
Open

ScriptedAlchemy wants to merge 5 commits into
masterfrom
codex/claude-desktop-recovery

Conversation

@ScriptedAlchemy

@ScriptedAlchemy ScriptedAlchemy commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

Summary

Recover unfinished Claude Desktop tasks: prevent retained-history cancellation from losing a wakeup, and carry canonical worktree freshness through every served graph object result. Generated dashboard contracts, the TypeScript SDK, and the embedded extension now accept and validate the freshness stamp consistently. Complete the missing TypeScript SDK physical-restart coverage through real daemon HTTP operations: committed partial effects, reset refusals, durable facts, native transcript retrieval, stale-frontier revalidation, and stale handles after restart.

Validation

  • Retained-history cancellation: a 100 ms injected race fails before the fix and passes after it; all nine final tests pass with the injection removed.
  • TypeScript SDK: 35 tests pass; typecheck and build pass.
  • Three physical-daemon transport journeys pass, including the actual generated TypeScript SDK process. The affected transport target passes Clippy with warnings denied.
  • Live extension: 16 tests pass, including freshness from real MCP operations.
  • Generated contracts check and dashboard typecheck pass.
  • Affected Rust checks and Clippy pass.
  • Real MCP graph-query suite: 56 tests pass, and all 56 pass again when restricted to 24 of the 96 host CPUs. Measured fixture readiness remains below 604 ms; no budgets were raised.

Windows work is handled by a separate owner in #3034.

Fixes #3051.

Concurrent Nextest execution also exposed shared Rspack cache ownership in the SDK journey fixture. Each journey now builds the canonical SDK into its own temporary output and cache before starting request deadlines, then removes that staging when the journey finishes. Focused Nextest verifies all 3 physical-restart journeys in separate processes (3/3 pass); affected Clippy passes with warnings denied.

@changeset-bot

changeset-bot Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: b6a39cf

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Devin Review: 2 flags

Not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)

Devin Review

This branch has not been deployed

No deployments
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.

SDK calls fail on graph tools whose result schema rejects injected freshness

1 participant