Skip to content

feat: preserve file/FS request_id on Unavailable for retry - #348

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
feat/keyed-file-fs-unavailable-request-id
Sep 13, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
feat/keyed-file-fs-unavailable-request-id

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • Surface durable file-* / fs-* (or caller-supplied) request_id on manager Unavailable for keyed file upload and mutating filesystem ops, matching keyed exec.
  • Bridge accepts optional request_id on file_write / filesystem_make_dir / filesystem_move / filesystem_remove; file_write success returns request_id.
  • Go / Python / TypeScript SDKs expose the same identity surface with Unavailable→retry tests.

Non-claims

  • Does not key downloads
  • Does not flip B2 / MicroVM cutover / Sandbox Live FS recovery closed
  • Does not add new guest journals (replay already exists)

Test plan

  • cargo test -p a3s-box-sdk --lib unavailable_preserves
  • Bridge request_id deserialize + Unavailable bridge mapping tests
  • Python test_file_write_unavailable_preserves_request_id_for_retry
  • TypeScript npm test (exports.mjs Unavailable file write retry)
  • CI: Go SDK tests + Format honesty gate

Surface durable file-* / fs-* identities on manager Unavailable the same
way keyed exec does, so SDK and bridge callers can retry Host reopen
against existing guest journals without minting orphan keys.

Co-authored-by: Cursor <[email protected]>
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 83eec67 into main Sep 13, 2026
14 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the feat/keyed-file-fs-unavailable-request-id branch September 13, 2026 14:16
ZhiXiao-Lin added a commit that referenced this pull request Sep 22, 2026
Honest binder update: tip evidence with OCI #348 + Box #646/#647; gate 5
still blocked until tips land on main and OCI is pinned.

Co-authored-by: Cursor <[email protected]>
ZhiXiao-Lin added a commit that referenced this pull request Sep 22, 2026
* fix(kvm): allow persistent in DedicatedVm OCI qualification

create and non-rm run set config.persistent to retain the writable layer;
the fixed DedicatedVm profile rejected that as unqualified and blocked gate 3
create/start/stop. Persistence alone is accepted; other custom mounts/controls
stay fail-closed.

Co-authored-by: Cursor <[email protected]>

* docs(kvm): record gate 3 tip-proven status for packaged DedicatedVm

Honest binder update: tip evidence with OCI #348 + Box #646/#647; gate 5
still blocked until tips land on main and OCI is pinned.

Co-authored-by: Cursor <[email protected]>

---------

Co-authored-by: Cursor <[email protected]>
ZhiXiao-Lin added a commit that referenced this pull request Sep 22, 2026
Align a3s-oci-sdk Cargo pin, Cargo.lock, and CI/release A3S_OCI_RUNTIME_REV
with the merged durable Live terminate contract fix for Box #644.

Co-authored-by: Cursor <[email protected]>
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