Repository navigation
Conversation
dblock
force-pushed
the
dblock/ci-dependency-cache
branch
from
November 18, 2026 16:52
e56aca1 to
c731be2
Compare
Plan explicit matrix entries from the PR or merge-group base commit before allocating test runners. Preserve regular platform coverage and full expensive suites on relevant changes, schedules, and manual runs. Fail the required gate if planning fails. Install formatting, CI, and scheduled-check tools only for suites that use them. Consolidate Rustup updates while retaining common toolchain preinstallation and disk cleanup. Test event selection, deleted and renamed paths, and invalid bases. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
dblock
force-pushed
the
dblock/ci-dependency-cache
branch
from
November 19, 2026 15:09
c731be2 to
7792cb7
Compare
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.
Adds a dependency-only Rust build cache, keyed by test suite, OS/architecture, installed compiler versions/hashes, and Cargo configuration/dependencies. Workspace crates are rebuilt, and temporary test workspaces remain isolated. Installed tools keep using the existing cache.
Depends on #2185. This branch is based on its head; both PRs target
masterbecause the prerequisite branch is in a fork. GitHub native stack registration is unsupported for fork heads. Cache-only diff.Timings
All three runs completed successfully with the same ten test suites: #2185 baseline, cold dependency cache, and warm dependency cache.
TeststepsWarm versus #2185: 85m29s less summed job elapsed (25.3%), but only 1m49s less workflow elapsed (2.6%). Warm versus cold: 105m14s less summed job elapsed (29.4%) and 3m11s less workflow elapsed (4.4%). The Windows CLI suite remains the critical path at 68m09s overall; temporary test builds intentionally remain uncached.
Cold and warm used identical Git trees. Upstream reruns were denied for this read-only account, so the warm run was triggered by an identical-tree commit on the fork branch. All ten warm job logs confirm exact hits (
Cache up-to-date.); workspace crates still compile and tests still execute. The ten compressed caches total 9.28 GB (8.64 GiB); full/scheduled matrices may add entries, and storage-limit evictions can reduce reuse.Workflow elapsed is attempt start through the last job's completion. Summed job elapsed includes planning, setup, tests, and cache post-actions; it is not OS-weighted billing. These are single observations, not controlled causal benchmarks: runner load, setup durations, and existing non-dependency cache state also vary.
Validation
actionlint, Prettier, Rust formatting, planner/ShellCheck tests (3 passed), and strict workspace custom lints passed locally. Both hosted runs passed all ten suites, planning, the final gate, and CLA checks.
Authored by an AI acting on behalf of @dblock.