Repository navigation
fix(ci): live-session script +x and Format e2b SHA false positive - #297
Closed
ZhiXiao-Lin wants to merge 16 commits into
Closed
ZhiXiao-Lin wants to merge 16 commits into
ZhiXiao-Lin wants to merge 16 commits into
Conversation
Linux Sandbox checkouts need 100755 on elevate/qualification scripts. Word-regexp Format grep so OCI pin hex …e2bbb9a… is not treated as E2B.
Word-regexp still matched whole-word banned tokens inside the Format gate comments; reword comments so only real product tokens fail the check.
Capability probe reads /proc/self; without probe migration (unlike run-linux-sandbox-ci) Sandbox CI failed cgroup cpu/memory/pids after +x fix. Re-prepare the CI cgroup tree immediately before the v3 gate.
Mid-job prepare rm -rf /sys/fs/cgroup/a3s-box-ci fails while earlier steps still hold the tree. Keep probe migration only; reuse the job-start prepare.
Elevating the whole qualification example left geteuid()==0, skipped the owner SETPRIV_WRAPPER, and CI Broken-piped on the first SDK frame. Match Sandbox smoke: run-linux-sandbox-ci for the harness, elevate only for the owner, and stage the Sandbox OCI launcher across sudo. Co-authored-by: Cursor <[email protected]>
Keep only the matched-cred harness + launcher staging change for the Native live-session Sandbox gate. Co-authored-by: Cursor <[email protected]>
Those entries belonged to uncommitted WIP that briefly landed in the CI fix commit; the Native matched-cred harness change does not pin OCI or claim KVM. Co-authored-by: Cursor <[email protected]>
check-oci-pins failed closed with CI=f532e2d vs release/SDK=7001ce5 from leftover KVM WIP in the live-session harness commit. Co-authored-by: Cursor <[email protected]>
Matched-cred harness got past Broken pipe; create then failed because the staged a3s-box-shim keeps DT_RUNPATH $ORIGIN/lib for libkrun and the gate copied only the binary. Mirror the no-KVM package layout in staging/home. Co-authored-by: Cursor <[email protected]>
PR Format merges main; the new KVM live-session example failed cargo fmt --check. Co-authored-by: Cursor <[email protected]>
x86_64 Sandbox proved retained-stream v3 (report SHA 6d1cde0e…) but leftover live-session OCI owners failed Verify cleanup. aarch64 hit retryable OCI Unavailable on short printf after reopen — retry that path instead of sleeping. Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
Owner-record SIGTERM left elevate/sudo argv matching the live-session home. Reap those by path before leftover pgrep. Keyed-exec retries use distinct request ids so a partial first attempt cannot collide. Co-authored-by: Cursor <[email protected]>
Accidental schema/doc/import scaffolding claimed transfer_file continuity without implementing it, failing Clippy -D warnings. Keep honest v3. Co-authored-by: Cursor <[email protected]>
5 tasks
Author
|
Superseded for main by #300 after #299 landed Native Live filesystem v4.
|
Author
|
Closing in favor of #300. Tip Verified reports:
#299 already landed v4 filesystem on main; #300 ports this PR's cleanup + keyed-exec retries onto that tree. |
ZhiXiao-Lin
added a commit
that referenced
this pull request
Sep 10, 2026
Port the post-#297 honesty fixes onto main after Native Live filesystem v4: tear down live-session host owners and elevate leftovers in Verify cleanup, and retry keyed captured exec Unavailable with distinct request ids. Co-authored-by: Cursor <[email protected]>
ZhiXiao-Lin
added a commit
that referenced
this pull request
Sep 10, 2026
Port the post-#297 honesty fixes onto main after Native Live filesystem v4: tear down live-session host owners and elevate leftovers in Verify cleanup, and retry keyed captured exec Unavailable with distinct request ids. Co-authored-by: Cursor <[email protected]>
ZhiXiao-Lin
added a commit
that referenced
this pull request
Sep 10, 2026
Port the post-#297 honesty fixes onto main after Native Live filesystem v4: tear down live-session host owners and elevate leftovers in Verify cleanup, and retry keyed captured exec Unavailable with distinct request ids. Co-authored-by: Cursor <[email protected]>
ZhiXiao-Lin
added a commit
that referenced
this pull request
Sep 10, 2026
Filesystem merge elevated the whole example and dropped probe-cgroup migrate, staged launcher, and $ORIGIN/lib. That fails closed on cgroup v2 delegation. Restore the greened #297 harness path while keeping the v4 filesystem gate. Co-authored-by: Cursor <[email protected]>
ZhiXiao-Lin
added a commit
that referenced
this pull request
Sep 11, 2026
* fix(ci): live-session cleanup + keyed-exec retries on v4 Port the post-#297 honesty fixes onto main after Native Live filesystem v4: tear down live-session host owners and elevate leftovers in Verify cleanup, and retry keyed captured exec Unavailable with distinct request ids. Co-authored-by: Cursor <[email protected]> * docs(changelog): note live-session cleanup and keyed-exec retries Co-authored-by: Cursor <[email protected]> * style: rustfmt live-session qualification examples Unblock Format on the cleanup/retry PR; includes main's KVM example rustfmt debt that cargo fmt --check already fails on. Co-authored-by: Cursor <[email protected]> * style: rustfmt KVM live-session after #301 filesystem path Co-authored-by: Cursor <[email protected]> * fix(ci): restore +x on live-session qualification scripts Main lost 100755 after filesystem merges; Sandbox failed closed with missing executable elevate-linux-sandbox-owner.sh before the v4 gate ran. Co-authored-by: Cursor <[email protected]> * docs(changelog): note restored live-session script +x Co-authored-by: Cursor <[email protected]> * fix(ci): restore matched-cred live-session harness for v4 Filesystem merge elevated the whole example and dropped probe-cgroup migrate, staged launcher, and $ORIGIN/lib. That fails closed on cgroup v2 delegation. Restore the greened #297 harness path while keeping the v4 filesystem gate. Co-authored-by: Cursor <[email protected]> * fix(live-session): retry keyed exec with same request_id Orphan {id}.retry-N process journals left active_operation claims that blocked generation delete after Live reopen. Same-key retries reconcile the partial prepare-exec journal instead. Also disarm the exec timeout watchdog when Exit is observed. Co-authored-by: Cursor <[email protected]> * style: rustfmt oci_session watchdog disarm on Exit Co-authored-by: Cursor <[email protected]> --------- Co-authored-by: Cursor <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
Made with Cursor