Repository navigation
Fix Windows CI with cached builds and stay under the cache quota - #570
Merged
Merged
Conversation
The first Prime Caches run on main saved 10.6 GB, over the 10 GB repository quota. GitHub then evicts the least recently used entries, and each push to main re-primes them. Windows entries came out larger than estimated. The Linux arm64 build entries take 1.9 GiB. Those jobs finished about 8 minutes before the slowest job in a fully cold run, so caching them does not shorten PR CI. Dropping them brings the total to about 8.6 GB. The prime job timeout default drops to 45 minutes. 90 minutes covered two release builds on the 2-CPU Linux arm64 VMs, and the slowest remaining job took 13 minutes. Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
hyperlight-host builds hyperlight_surrogate.exe in target/<profile>/build/hls, outside its OUT_DIR. rust-cache deletes that directory but keeps the build script state, so Windows jobs that restore a primed cache fail to compile hyperlight-host. Every Windows build, benchmark and code check job fails this way once main has primed the caches. Windows jobs now clean hyperlight-host after restoring the cache, so its build script runs again. This matches hyperlight-js and can be removed once hyperlight-host includes the fix that moves the surrogate into OUT_DIR. Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
simongdavies
approved these changes
Nov 9, 2026
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.
target\release\build\hlshyperlight#2038 is released).