Skip to content

Add durable workflow remote-result continuation - #130

Merged
gcharang merged 2 commits into
devfrom
feat/workflow-remote-step-continuation
Oct 16, 2026
Merged

gcharang merged 2 commits into
devfrom
feat/workflow-remote-step-continuation

Conversation

@gcharang

Copy link
Copy Markdown
Contributor

Summary

  • Add opt-in workflow remote-result continuation through the owning Durable Object and authenticated private route.
  • Bind the retained result to stored start, principal, suspension and execution fence; keep uncertain claims unresolved and refuse replay.
  • Preserve settled receipt reads after terminal ownership cleanup and reject the reserved result envelope on ordinary resume.

Verification

Independent security, architecture, QA and clean-code reviews completed. The QA witness-coverage finding is fixed.

Local maintainer gate passed at d1c04c09e380b6ad8fad59f222354c006fa70c70: 9,304 tests passed with two existing skips; lint, typecheck, builds, documentation, package exports, packed consumers, React checks and native workerd proofs passed. The full suite used four workers after one setup timeout passed in isolation without changing its limit. Native proof covers first continuation after process restart and settled replay without repeated execution; the unresolved-claim case is an explicit fixture.

GitHub Actions are not relied on under the owner's current local-verification direction. The version and release workflows are disabled while the release is prepared locally. This PR carries a minor changeset; the versioned release follows separately.

Keep continuation inside the RunDO operation lock and reject public result-envelope forgery. Retain ambiguous admissions without replay; allow authenticated completed-result reads after ownership cleanup.
Add opt-in workflow claim, continuation and witnessed settlement without replaying uncertain claims. Preserve private-route principal and start authority through terminal owner cleanup. Journal, packed and native restart checks pass; four T2 lanes completed.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

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 successful!
View logs
anchorage-showcase-single-tenant d1c04c0 Oct 16 2026, 10:07 AM

@gcharang
gcharang marked this pull request as ready for review October 16, 2026 10:11
@gcharang
gcharang merged commit 330bfc3 into dev Oct 16, 2026
3 of 4 checks passed
@gcharang gcharang mentioned this pull request Oct 16, 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.

1 participant