Repository navigation
ci: build ray-nrp straight into docker, uncached - #674
Merged
Merged
Conversation
Of the 31 minutes ray-nrp took in a run that rebuilt it (#672), 14 went to writing its 15 GB environment layer to the GHA cache and 11 to exporting the image to the docker daemon for the smoke test; installing the environment took one. The layer changes with every pixi/global lock, which is all that rebuilds the image, so the cache never served it, and it is larger than the repository's 10 GB GHA cache, evicting the other images' caches. ray-nrp now builds with buildx's docker driver, into the daemon the smoke test and push use, with no cache. The other images are unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
A CI run that rebuilds
ray-nrptakes about 40 minutes, against about 3 for other runs. It rebuilds wheneverpixi/globalchanges. In #672, the 31-minuteray-nrpjob went:pixi installThe cache never helps. The layer changes with every
pixi/globallock, which is the only thing that rebuilds the image. The layer is also bigger than the repository's 10 GB GHA cache, so writing it evicts the other images' caches.Change: a matrix flag
uncachedbuildsray-nrpwith buildx'sdockerdriver, straight into the daemon that the smoke test and the push use, with no cache. The other aux images are unchanged.What moves:
ci-images.ymlre-keys every image, so this PR's run, and the next push to main, rebuild all images once. This PR's run will show the newray-nrptime.Measured on this PR's run, which rebuilt every image: the
ray-nrpjob took 16 minutes, down from 31. The whole run took 24 minutes, down from 40.pixi installWhat remains is mostly the daemon compressing the single 15 GB layer.
Checks: pre-commit (actionlint) and the full unit suite (1381 passed).
🤖 Generated with Claude Code