feat(agent): coordinate cuinterpose capture and restore without jobfiles - #335
Draft
galletas1712 wants to merge 1 commit into
Draft
galletas1712 wants to merge 1 commit into
galletas1712 wants to merge 1 commit into
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueComment |
This was referenced Sep 16, 2026
galletas1712
added this pull request to stack #339
September 16, 2026 22:37
galletas1712
force-pushed
the
schwinns/cuinterpose-rust-10-agent
branch
from
September 16, 2026 23:51
36b2beb to
780c3ca
Compare
galletas1712
force-pushed
the
schwinns/cuinterpose-rust-10-agent
branch
from
September 17, 2026 00:15
780c3ca to
0015c01
Compare
galletas1712
force-pushed
the
schwinns/cuinterpose-rust-10-agent
branch
2 times, most recently
from
September 17, 2026 08:52
1b89f8e to
f67bc32
Compare
galletas1712
removed this pull request from stack #339
September 17, 2026 08:53
galletas1712
added this pull request to stack #343
September 17, 2026 08:53
1 task
galletas1712
force-pushed
the
schwinns/cuinterpose-rust-10-agent
branch
from
September 17, 2026 09:30
f67bc32 to
54e16c0
Compare
galletas1712
force-pushed
the
schwinns/cuinterpose-rust-10-agent
branch
from
September 17, 2026 20:53
54e16c0 to
ce61e9e
Compare
galletas1712
force-pushed
the
schwinns/cuinterpose-rust-10-agent
branch
from
September 18, 2026 03:41
65897bd to
eaedd6b
Compare
galletas1712
force-pushed
the
schwinns/cuinterpose-rust-10-agent
branch
2 times, most recently
from
September 18, 2026 22:13
7064b7f to
486f2a1
Compare
galletas1712
force-pushed
the
schwinns/cuinterpose-rust-10-agent
branch
from
September 18, 2026 23:11
486f2a1 to
33c2715
Compare
galletas1712
force-pushed
the
schwinns/cuinterpose-rust-10-agent
branch
2 times, most recently
from
September 18, 2026 23:48
3a63e67 to
54ab376
Compare
galletas1712
force-pushed
the
schwinns/cuinterpose-rust-10-agent
branch
2 times, most recently
from
September 19, 2026 03:01
654a9f7 to
e030f8c
Compare
galletas1712
force-pushed
the
schwinns/cuinterpose-rust-10-agent
branch
from
September 19, 2026 06:08
e030f8c to
397a194
Compare
galletas1712
force-pushed
the
schwinns/cuinterpose-rust-10-agent
branch
from
September 19, 2026 07:08
397a194 to
663cf25
Compare
galletas1712
force-pushed
the
schwinns/cuinterpose-rust-10-agent
branch
from
September 19, 2026 08:06
663cf25 to
7fc0309
Compare
galletas1712
force-pushed
the
schwinns/cuinterpose-rust-10-agent
branch
2 times, most recently
from
September 19, 2026 09:03
4fdb897 to
df15eb0
Compare
galletas1712
force-pushed
the
schwinns/cuinterpose-rust-10-agent
branch
from
September 19, 2026 09:55
df15eb0 to
6f76d6b
Compare
Refs #295. Signed-off-by: Schwinn Saereesitthipitak <schwinns@nvidia.com>
galletas1712
force-pushed
the
schwinns/cuinterpose-rust-10-agent
branch
from
September 19, 2026 10:48
6f76d6b to
c778446
Compare
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
Refs #295 (approved).
Verify the exact namespace-PID shim sockets, execute the coordinator in target namespaces, preserve tool paths, and order shim operations around native CUDA and CRIU.
Review boundary
Remove jobfile capture/restore plumbing and reject legacy jobfile artifacts before CRIU. Prepared shim artifacts require cuinterpose.format 1. No shim PageBroker sessions, native CustomStorage worker, or native/LOAD overlap is introduced.
Use
strings.SplitSeqto iterate coordinator report lines without allocating a split slice.Stack and compatibility
The stack starts directly on
main; it does not depend on the PageBroker GPU-transfer branch or #323. The shim only saves shared creator bytes through host carriers. Never-shared allocations remain native CUDA state. The stack removes launch-job/jobfile support, and older jobfile-dependent or draft shim artifacts are rejected rather than migrated.PageBroker and native CustomStorage changes are separate. No PR in this stack adds that implementation.
Validation
Validation of the assembled implementation:
make checkin a clean disposable worktree.GLM testing without CustomStorage was cancelled at the user's request and is not a pass. GLM qualification uses a separate composition with CustomStorage; previous experimental GLM results are not qualification of this rebuilt stack. The installed test driver is not claimed to be a stock-driver qualification.
Tests above were run on the assembled implementation, not claimed independently for every source-only intermediate PR. The standard-library cleanup was validated with Rust workspace tests and strict Clippy, GNU/musl builds and packaged fake-driver tests, plus targeted pod-contract and CUDA-agent Go tests. Physical-GPU tests were not rerun for this cleanup; the earlier GPU results above remain attributed to the pre-cleanup implementation.