Skip to content

feat: Native Linux live-session v3 retained-stream + OCI 7001ce5 pin - #295

Merged
ZhiXiao-Lin merged 12 commits into
mainfrom
feat/native-live-session-retained-stream
Sep 10, 2026
Merged

ZhiXiao-Lin merged 12 commits into
mainfrom
feat/native-live-session-retained-stream

Conversation

@ZhiXiao-Lin

@ZhiXiao-Lin ZhiXiao-Lin commented Sep 10, 2026 •

Copy link
Copy Markdown

Summary

  • Prove retained streaming start_process handle continuity across Native Linux Host owner SIGKILL while keeping the Box manager (schema a3s.box.linux-native-live-session.v3).
  • Respawn identity-fenced OCI owner on retained-manager Unavailable; omit one-shot request_id on streaming; keep stream alive after close_stdin EOF so Kill after reopen stays live.
  • Pin a3s-oci-sdk / CI/release to OCI 7001ce5a… (per-process Live stdin deposits, PR chore(oci): pin OCI Runtime 95d624f and re-qualify KVM MicroVM slice #279).

Evidence (existing-host WSL2, matched-creds + elevate)

  • Report SHA-256: bc36ff5b895b6320b57322328f78910be82eddfb2203b97bd2c86455b1929d02
  • status=passed, retained_stream_handle_proven=true, keyed capture / live kill / removed
  • Box tip 4fb82a77…, OCI 7001ce5a…
  • Does not close B2 (b2_process_session_recovery_closed stays false), default supervised create, MicroVM cutover, fresh-host, or AArch64

Test plan

  • Existing-host WSL2 elevate live-session v3 qualification (no CI)
  • Reviewers: do not treat CI as the merge gate for this PR

Keep the Box manager across Host owner SIGKILL and prove same-handle
streaming continuity when the Linux qualification path passes. Schema v3;
honesty flags stay fail-closed until a green report (do not close B2).
Avoid treating a pending stdin-echo Chunk as retained-stream Unavailable.
Require authentic echo after Live reopen before claiming retained_stream_handle_proven.
Box<dyn ExecutionProcessStream> is not impl ExecutionProcessStream; use
as_mut()/dyn so the retained-stream harness compiles on Linux.
Format the v3 harness, execute it on SDK Local Sandbox CI, and fail-closed
unless retained-stream is proven without B2, fixture, or KVM claims.
@emigmo
emigmo force-pushed the feat/native-live-session-retained-stream branch from 4f90a23 to 0bb61aa Compare September 10, 2026 07:44
OCI streaming start_process rejects keyed request_id; match process_restart. Add a local report verifier for first-principles evidence checks without CI.
Live reopen with a retained Box manager must call ensure_native_linux_oci_owner on inspect Unavailable so the Host reattaches within the supervisor window; lengthen v3 streaming timeout so the exec watchdog cannot poison the handle first.
Keep with_native_linux_owner_recovery callable from oci_migration on all
targets so Windows/clippy crates still compile.
Pinned OCI 07e653f declares a3s.oci.native-linux-recovery.v6; keeping the
smoke on v3 failed check-oci-pins and rejected honest Live reopen fields.
A plain while-read exits on close_stdin, so Kill after reopen fails as not-live; sleep after EOF so close+signal both exercise the retained handle.
Bump a3s-oci-sdk / CI/release pins to per-process Live stdin deposits; document existing-host WSL2 v3 report with retained_stream_handle_proven without closing B2 or cutover.
@ZhiXiao-Lin ZhiXiao-Lin changed the title feat(runtime): native live-session v3 retained-stream harness feat: Native Linux live-session v3 retained-stream + OCI 7001ce5 pin Sep 10, 2026
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 0b5e4c4 into main Sep 10, 2026
0 of 7 checks passed
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