Repository navigation
Restore build-script input timestamps in Linux CI - #22904
Merged
Merged
Conversation
This branch was previously deployed
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.
Fresh checkouts can change build-script input timestamps and invalidate otherwise reusable workspace artifacts. Enable the shared cache action's timestamp restoration for the Linux test job and the Linux x86_64 development-binary job.
Uses the timestamp restoration from astral-sh/github-actions#40.
Twenty paired exact warm-cache hits per row. Times are means in seconds, excluding queue and pre-step runner waiting. In the table, parentheses give the 90% confidence interval for mean time saved.
Timing scope and runs
uv source is pinned to 0eac269. The baseline uses the merged cache action at
3c9fe5d; the candidate enables timestamp restoration at374b3d5. Each pair uses the same runner class and workload.Times span the first job step through post steps, including setup, cache restoration, and the development binary upload. Speedup is the ratio of mean times. The paired t intervals estimate uncertainty in the mean saving under these conditions. Values are rounded independently. Cache creation is outside these warm-hit timings.
The Linux breakdown below uses Cargo’s reported build time and
nextest’s execution timer. Other job steps are outside this breakdown. Negative savings mean slower execution.nextestexecutionThe
nextestinterval includes zero, so these runs do not establish a change in test execution time.Linux pairs: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20.
Development binary pairs: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20.