Skip to content

Implement ThreadManager Durable Object for fast conversational state#120

Open
stevei101 wants to merge 3 commits into
mainfrom
feat/durable-threads
Open

Implement ThreadManager Durable Object for fast conversational state#120
stevei101 wants to merge 3 commits into
mainfrom
feat/durable-threads

Conversation

@stevei101
Copy link
Copy Markdown
Contributor

This PR transitions the 'OxidizedGraph' state management to a Durable Object-first model:

  • Fast Path: Checkpoints are now stored in DO storage for sub-10ms state updates.
  • Strong Consistency: Ensures multi-agent threads have a single source of truth for the latest state.
  • Reliability: Maintains the D1/R2 slow path as a canonical archive for long-term history.
  • Unified Hub: Data Fabric now acts as a high-performance proxy for all agent state.

…state

- Add 'ThreadManager' DO to manage graph checkpoints with strong consistency.
- Implement '/v1/checkpoints' fast-path via DO storage.
- Add fallback mechanism to D1/R2 for long-term checkpoint archival.
- Update wrangler.toml with new DO bindings and migrations.
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 30, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
data-fabric-worker 1a15549 May 30 2026, 12:41 AM

stevei101 pushed a commit that referenced this pull request May 30, 2026
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.

2 participants