Skip to content

ci(acceptance): Combine coverage on scheduled runs - #131481

Merged
joshuarli merged 1 commit into
masterfrom
ci/acceptance-coverage-skipped-ancestors
Nov 17, 2026
Merged

joshuarli merged 1 commit into
masterfrom
ci/acceptance-coverage-skipped-ancestors

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

combine acceptance coverage now runs on schedule and workflow_dispatch once every acceptance shard passes, so the acceptance-coverage- cache that select-tests restores actually gets written. Without that cache, every PR that touches Python falls back to the full acceptance suite.

files-changed and select-tests are skipped on schedule. The job's if: has no status function, so the implicit success() stays in place and also looks at those skipped ancestors, which skips the job even when needs.acceptance.result == 'success'. The acceptance job avoids the same problem with always() && !cancelled(). Adding !cancelled() keeps the existing requirement that acceptance itself succeeded.

Until the next scheduled run, a manual workflow_dispatch of acceptance on master would seed the cache.

Refs #131325

via @joshuarli.

--

View Session [Sentry]

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
joshuarli marked this pull request as ready for review November 17, 2026 18:22
@joshuarli
joshuarli requested a review from a team as a code owner November 17, 2026 18:22
@sentry-junior
sentry-junior Bot requested a review from joshuarli November 17, 2026 18:22
@joshuarli
joshuarli enabled auto-merge (squash) November 17, 2026 18:22
@joshuarli
joshuarli merged commit a8f00f1 into master Nov 17, 2026
77 checks passed
@joshuarli
joshuarli deleted the ci/acceptance-coverage-skipped-ancestors branch November 17, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant