ci: split integration tests into groups for isolated reruns - #87
Open
RaphaelManke wants to merge 1 commit into
Open
ci: split integration tests into groups for isolated reruns#87RaphaelManke wants to merge 1 commit into
RaphaelManke wants to merge 1 commit into
Conversation
Groups tests by failure domain (node/python/java/db/tracing/sls-plugin/ other) using vitest projects, and fans the integration-test CI job out into a fail-fast:false matrix over those groups. A flake in one group no longer cancels or blocks the others, and GitHub's rerun-failed-jobs only reruns the group that actually failed instead of all 25 test files.
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.
Summary
integration-testjob into afail-fast: falsematrix over 7 groups (node, python, java, db, tracing, sls-plugin, other), defined inintegration-tests/tests/vitest.groups.tsand wired into vitest viatest.projects.npm run testwith no--projectstill runs everything, same as before.Note
Draft PRs are not currently excluded from
deploy/deploy-cdk/deploy-sls/integration-testinci.yml(only the cheap unit-test jobs are), so this will still trigger a full AWS deploy + integration run. Happy to add adraft == falseguard to those jobs in a follow-up if that's unwanted.Test plan
Integration Test (*)matrix jobs appear and run independently in the Actions tabvitest listacross all 7--projectflags matches the full file list, no gaps or duplicates)