Skip to content

Conversation

@rbro112
Copy link
Member

@rbro112 rbro112 commented Dec 29, 2025

Adds a "shadow job" (i.e. non-required workflow) to run on PRs alongside backend tests leveraging selective testing. This selective testing strategy uses changed files and code coverage data to determine what test files to run based on what files changed.

Our approach is quite lax here, when in doubt (missing coverage data, file in an allowlist) we'll default to running all tests. But generally we want to gather data from this as a non-blocking PR check so this seems like the best start and we can iteratively improve.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Dec 29, 2025
Copy link
Member Author

rbro112 commented Dec 29, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@rbro112 rbro112 changed the title Add backend selective testing workflow [wip] Add backend selective testing workflow Dec 29, 2025
@rbro112 rbro112 force-pushed the ryan/add_backend_selective_testing_workflow branch from ff98f0d to 74eba04 Compare December 29, 2025 20:20
@rbro112 rbro112 changed the title [wip] Add backend selective testing workflow feat(infra): Add backend selective testing workflow Dec 30, 2025
@rbro112 rbro112 merged commit f660f16 into master Jan 20, 2026
68 checks passed
@rbro112 rbro112 deleted the ryan/add_backend_selective_testing_workflow branch January 20, 2026 23:32
trevor-e pushed a commit that referenced this pull request Jan 20, 2026
Adds a "shadow job" (i.e. non-required workflow) to run on PRs alongside
backend tests leveraging selective testing. This selective testing
strategy uses changed files and code coverage data to determine what
test files to run based on what files changed.

Our approach is quite lax here, when in doubt (missing coverage data,
file in an allowlist) we'll default to running all tests. But generally
we want to gather data from this as a non-blocking PR check so this
seems like the best start and we can iteratively improve.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants