Repository navigation
Start Linux cold OCI runs before durable image publication - #190
Merged
reiase merged 9 commits intoNov 24, 2026
Merged
Conversation
zhaoyuuu0624
marked this pull request as ready for review
November 22, 2026 11:15
zhaoyuuu0624
marked this pull request as draft
November 23, 2026 03:14
zhaoyuuu0624
marked this pull request as ready for review
November 23, 2026 05:09
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.
Change
On Linux x86-64, a cold
pvisor runstarts its first VM from the verified extracted OCI rootfs while a separate process publishes the reusable image. The worker batches local pool directory syncs by default and honors the existing override. Explicitpullreturns after durable publication.The runtime pins the lower for the publisher, the parent and its live forks. A stopped instance keeps its binding for restart. After host reboot, the binding requires the recorded durable revision. Removing the last instance or retrying a run can reclaim abandoned imports.
Scope
The fast path checks local pool metadata constraints before admission. Special files use the existing synchronous path. Warm images, other platforms and callers with explicit in-memory credentials use the ordinary create path.
Validation
On gpu03, both builds used a fresh store, the same locally served 3.60 GiB Vuls layer with zero resident fixture pages, and 2 vCPUs / 7 GiB per VM. Timing starts before the loopback registry starts. The table shows the first verified pair on the Image Pack V1 baseline, in elapsed seconds.
b40ee12cf8390d02The four children inherited the parent marker, isolated subsequent writes, and remained usable after parent removal. A new instance successfully reopened the published image. On the merged version all 885 active pvisor library tests passed in isolated processes, and macOS CLI compilation passed. On the preceding PR revision, Linux/KVM fault tests also verified cleanup after cancellation and recovery after a failed catalog write or publisher termination.
The original diagnostic prototype and measurements remain available at the earlier revision.