Repository navigation
ci(acceptance): Combine coverage on scheduled runs - #131481
Merged
Merged
Conversation
files-changed and select-tests are skipped on schedule and workflow_dispatch. Without a status function, the implicit success() on acceptance-coverage counted those skipped ancestors and skipped the job, so no coverage cache was ever saved and select-tests fell back to the full suite for every Python change. Refs #131325 Co-Authored-By: Joshua Li <[email protected]>
joshuarli
approved these changes
Nov 17, 2026
joshuarli
marked this pull request as ready for review
November 17, 2026 18:22
joshuarli
enabled auto-merge (squash)
November 17, 2026 18:22
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.
combine acceptance coveragenow runs onscheduleandworkflow_dispatchonce every acceptance shard passes, so theacceptance-coverage-cache thatselect-testsrestores actually gets written. Without that cache, every PR that touches Python falls back to the full acceptance suite.files-changedandselect-testsare skipped onschedule. The job'sif:has no status function, so the implicitsuccess()stays in place and also looks at those skipped ancestors, which skips the job even whenneeds.acceptance.result == 'success'. Theacceptancejob avoids the same problem withalways() && !cancelled(). Adding!cancelled()keeps the existing requirement that acceptance itself succeeded.Until the next scheduled run, a manual
workflow_dispatchofacceptanceon master would seed the cache.Refs #131325
via @joshuarli.
--
View Session [Sentry]