Repository navigation
Cache Windows dependency resolution with daily refreshes - #919
Merged
Merged
Conversation
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.
Windows matrix jobs fetch gem metadata and resolve dependencies before restoring the existing gem cache because the repository intentionally does not track its root lock file. Cache the generated
Gemfile.lockbeforeruby/setup-ruby, using a UTC daily key plus the Ruby series and dependency/version file hashes. Ubuntu and lint retain their existing setup.A warm-cache GitHub experiment reduced cache restore plus Ruby setup from 14s/11s/22s to 7s/6s/10s for Ruby 3.3/3.4/4.0. Benchmark.
All three full CI attempts passed 10,218 example executions each. Both warm attempts hit all 15 Windows lock caches and made no Windows metadata fetches. Warm workflow times were 117s and 107s; hosted-runner startup, checkout, and reporting variation obscures a separate end-to-end gain. All required and optional checks passed.