Repository navigation
fix(ci): warm caches for every commit in a master push - #1322
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 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.
Refs #1286; follow-up to #1313.
Live finding
The master push from 438659b to bf1876a contains #1310 (Linux v4l2), #1316 and #1318. check-event compares HEAD^1, so only the final CI-profile commit is scoped; the earlier plugin change is missing and cannot seed its new targets cache. The same omission can hide earlier platform-specific warming lanes in a batch.
Use github.event.before for Push scope, with the existing single-parent fallback for contexts without a push base. PR and merge-group bases remain unchanged. This does not alter the actual compiler configuration or weaken required checks.
Validation
RED 136e395 fails the absent push-base regression. GREEN 8f6086f passes four focused push-scope/writer/stdlib tests and git diff --check. Direct git diff of the observed full push includes plugins/linux-v4l2/v4l2-udev.c.h, while the last-parent diff includes no plugin files. Live later batched push + trusted seed + PR hits remain required.