Repository navigation
ci: reuse caches across validation jobs - #784
Merged
Merged
Conversation
Let the ARM64 identity smoke consume the completed trading-host Buildx cache and give the format job the same NuGet package cache used by build-test. Refs #783 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Drop the NuGet cache experiment after it showed no restore improvement, and make the ARM64 smoke consume only the cache produced by its prerequisite host build. Refs #783 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
7 tasks
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.
Summary
trading-hostBuildx cache populated by its prerequisite candidate-image joblinux/arm64imageValidation
.github/workflows/ci.ymland.github/workflows/docker.ymlwith PyYAMLgit diff --checkMeasurement
Baseline from PR #782:
ARM64 identity directory smoke: 57s on the second run (2m11s on the preceding run)Format check: 1m10s on the second run (1m39s on the preceding run)First run of this PR:
ARM64 identity directory smoke: 1m04s; both cache scopes were imported and all host build layers were cachedFormat check: 1m42s; the NuGet cache hit, but restore took about 14s versus about 12s in the baseline and added cache restore overheadBased on that evidence, the NuGet change was removed. The second run isolates the Buildx experiment by consuming only the cache produced by the prerequisite
trading-hostjob. No checks, architectures, tests, or runtime assertions are removed.Second run (final diff):
Build candidate images: 53sARM64 identity directory smoke: 55strading-hostscopeCACHED; the remaining time is image export/load plus the unchanged ARM64 runtime assertionsFormat check: 1m05s with the NuGet experiment removedThe final change therefore removes the smoke job's dependency on its own cache being warm: the prerequisite candidate build is sufficient to supply all ARM64 host layers.
Protocol evidence gate
Does this PR add or change a dependency on B3MatchingPlatform / B3MarketDataPlatform wire behavior?
Checklist:
Closes #783