Repository navigation
Conversation
This branch has not been 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.
Nested Cargo workspaces can rebuild local path dependencies on exact cache hits because build-script input snapshots include only workspace members beneath the configured directory. Discover local path dependencies within the same Git checkout and restore timestamps for matching tracked inputs, allowing nested builds such as Ruff's fuzz targets to reuse those artifacts. Changes to recorded files or directory entries still invalidate the affected build scripts.
Version the workspace cache key for the expanded input snapshot; dependency-only keys are unchanged. Allow only one workspace cache per Git checkout to prevent conflicting timestamp restores. Depends on #43.
Twenty paired warm runs of Ruff’s fuzz build on 4-core Linux runners, with caches seeded at
acba99d5and restored at7a8f63f0, six first-parent commits later. Cargo dependencies and the toolchain are unchanged. Times include setup and post steps and exclude queues; parentheses show 90% confidence intervals for mean time saved.All three variants restore exact Rust-cache hits, and no measured warm job uploads a Rust cache. For this revision pair, the fix reduces local dependency rebuilds from 15 crates to one. The intervals describe uncertainty in the mean for this revision pair, not variation across future source changes.