Repository navigation
ci: export a minimal cache for API builds - #497
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
What changed and why
API builds now export a minimal cache (
mode=min) in PR validation and trusted image builds. Other image targets keepmax.In the two-replicate comparison, cold export median fell from 344s to 59s. Mean worker time per cold → unchanged → source-only chain fell from 685.5s to 440s. These controlled measurements do not establish an overall CI speedup. The developer guide records the results, trade-offs and follow-up measurements needed.
Remove the temporary benchmark workflow, composite action, collector and tests from #496 now that the comparison is complete. Keep a concise record of the results and cache policy in the developer guide.
Related work
Continues #496 and the approved repository-readiness CI work.
Verification
Checks recorded during the original PR:
pnpm verify:fullpassed: lint, workspace types, policy, OpenAPI and 19,693 tests (186 expected skips).Release and upgrade impact
Only API Docker builds switch to minimal cache export; other image targets retain
max. Temporary #496 tooling is removed.