Repository navigation
Retire the virgin container release-lag pin now that the released wheel carries #7549 - #7712
danielhanchen wants to merge 2 commits into
Conversation
…el carries #7549 The "virgin win container / overlay=false" row installs unsloth from PyPI on purpose, so its studio/setup.ps1 comes out of the released wheel. A Server Core container has no Microsoft Store and so no winget, and the released setup.ps1 hard-stopped on a winget-only git gate and reached for winget again for the VC++ runtime, so that row could not install end to end. #7549 relaxed both gates but merged on 2026-07-29, after the then newest wheel 2026.7.5 (2026-07-23), so the row was held under continue-on-error and a step that asserted it failed only on that known signature. unsloth 2026.7.6 shipped later the same day and is the first wheel to carry the relaxed gates: unpacking it shows the old "Git is required but could not be installed automatically" wording gone and both "so git is not needed" and "downloading the runtime directly" present. The row now installs end to end and the pin's own tripwire fired to say so. Drop continue-on-error from the Install step and delete the release-lag assertion, so the released-wheel row gates like the overlay row. The Install step is already passing on this row in recent runs, so nothing else is being tolerated by the escape hatch being removed.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: cf0b25ea06
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| # again for the VC++ runtime, so the row that installs from PyPI on purpose could | ||
| # not get past it. #7549 relaxed both, and unsloth 2026.7.6 (uploaded 2026-07-29, | ||
| # after #7549 merged) is the first wheel to ship them, so the row now installs end | ||
| # to end and the pin's own tripwire fired to say so. Nothing is tolerated here. |
There was a problem hiding this comment.
Check the harness verdict for the released-wheel row
When overlay=false and docker exec returns 0 without completing the harness—a case this workflow explicitly anticipates at lines 1574-1575—removing the released-row tripwire lets the Install step succeed, while the only check for VIRGIN WINDOWS CONTAINER INSTALL PASSED remains guarded by if: matrix.overlay. The released-package lane can therefore report green without completing its assertions; run the success-marker check for both rows and keep only the overlay-specific checks conditional.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Confirmed by tracing the step list: the marker check is the only non-always() step and it is gated on matrix.overlay, so after this PR the released row rested on docker exec's exit code alone. Hoisted it into its own ungated step in 7613460; the overlay-specific assertions stay gated.
Removing the released row's tripwire made a green released row reachable for the first time, and the only log-based verdict check sat behind `if: matrix.overlay`. Every later step is `if: always()` and exits 0, so that row was gated on `docker exec`'s exit code alone -- which the file already notes can be 0 for an exec that lost its container. Hoisted the marker check out of the overlay step so both rows read the harness's own verdict; the overlay-specific assertions stay gated.
|
@codex review |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Superseded by #7722, which combines this with the other two repo-wide CI fixes so a single merge unblocks the whole batch. The files there are byte-identical to this PR's head, and the commits are cherry-picked with provenance. Closing. |
The
virgin win container / overlay=falsejob has been failing on every PR that runs it, with a message the workflow writes itself:That is a deliberate tripwire, not a defect. It fires when the condition the pin was working around has gone away, so this PR does exactly what it asks.
What the pin was
All three pieces live in
clean-machine-install-ci.yml, jobwindows_container_install:continue-on-error: ${{ !matrix.overlay }}on the Install step, with aRELEASE-LAG PINcommentAssert the released-wheel row failed only on release lagstep, whose first branch is the tripwire aboveA Windows Server Core container has no Microsoft Store and therefore no winget, ever. Before #7549 the released wheel could not install there, so the row was allowed to fail.
Why it is safe to retire now
#7549 ("Windows: unblock the consumer install on clean and no-winget machines", merged 2026-07-29) relaxed the two gates that blocked this lane: git stopped being a hard failure on the consumer path, and
Ensure-VCRediststopped being winget-only by downloadingvc_redistdirectly.I did not take the workflow's word for the flip. Unpacking the wheels from PyPI:
unsloth 2026.7.5was uploaded 2026-07-23, before the merge.unsloth 2026.7.6was uploaded 2026-07-29, after it, and is the first wheel that could carry the change.unsloth-2026.7.6-py3-none-any.whl,studio/setup.ps1no longer contains the pinned old wordingGit is required but could not be installed automatically, and does contain both post-Windows: unblock the consumer install on clean and no-winget machines #7549 markers (so git is not needed, and the directaka.ms/vs/17/release/vc_redist.x64.exedownload).Removing continue-on-error will not turn the row red for a different reason
The Install step itself already passes; only the tripwire was failing the job. Across the four most recent runs of this workflow:
overlay=falsejobRun 30665929139 is the org's own
image-generationbranch, which has already made this same change; itsoverlay=falsejob is green. I diffed this job against that branch's job on every executable field (step names,if,continue-on-error,runbodies) and all 10 steps are identical. The only difference is comments: that branch left an orphanedRELEASE-LAG PINblock above a later step, this one does not.Validation
yaml.safe_loadparses; the job has 10 steps and no step carriescontinue-on-error.actionlint 1.7.7reports only 3 pre-existingrunner-labelwarnings (macos-26,macos-15-intel,windows-11-arm), identical in count and kind on pristinemain.released-wheel rowandfailed only on releasehave zero hits repo-wide, and the deleted step was the only consumer ofsteps.install.outcomeinside this job.Net 10 insertions, 69 deletions; the only YAML key removed is
continue-on-error.id: installis left in place as a harmless anchor, matching the sibling branch.I have not run this workflow from this branch; the green evidence above comes from the sibling branch carrying the equivalent change.