Skip to content

fix(runtime): durable op identity for mutating file/FS ops - #308

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
fix/durable-mutating-file-fs-op-identity
Sep 11, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
fix/durable-mutating-file-fs-op-identity

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • Mutating OCI file upload and filesystem ops now derive durable operation identity from execution_id + generation + request payload (same pattern as kill/delete).
  • Removes per-call session-{uuid} seeds that made outer Unavailable retries apply twice or orphan active_operation claims.
  • Adds a regression test that identical outer upload/mkdir calls reuse context and apply once.

Test plan

  • cargo test -p a3s-box-runtime --lib mutating_file_and_filesystem
  • Hosted CI green
  • Confirm no B2 / fixture / hosted-KVM claim flips

Made with Cursor

Seed upload and mutating filesystem contexts from execution_id so outer
Unavailable retries replay one effect instead of minting session-* ids.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 7b120f4 into main Sep 11, 2026
14 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the fix/durable-mutating-file-fs-op-identity branch September 11, 2026 05:39
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