Consolidate CI test workflows#19259
Merged
Merged
Conversation
Consolidates the end to end CI workflows. The new single `cluster_endtoend.yml` workflow reads `test/config.json` and generates a matrix from all the shards. Then each job runs for a shard, reads what dependencies it might need (xtrabackup, larger runner, etc.), performs the appropriate steps, and runs the tests. Signed-off-by: Mohamed Hamza <mhamza@fastmail.com>
Contributor
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
Signed-off-by: Mohamed Hamza <mhamza@fastmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #19259 +/- ##
==========================================
- Coverage 69.95% 69.94% -0.01%
==========================================
Files 1610 1610
Lines 215901 215901
==========================================
- Hits 151025 151020 -5
- Misses 64876 64881 +5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Mohamed Hamza <mhamza@fastmail.com>
Signed-off-by: Mohamed Hamza <mhamza@fastmail.com>
Signed-off-by: Mohamed Hamza <mhamza@fastmail.com>
Signed-off-by: Mohamed Hamza <mhamza@fastmail.com>
timvaillancourt
approved these changes
Feb 3, 2026
arthurschreiber
approved these changes
Feb 3, 2026
This was referenced Feb 4, 2026
mhamza15
added a commit
to mhamza15/vitess
that referenced
this pull request
Feb 4, 2026
Signed-off-by: Mohamed Hamza <mhamza@fastmail.com>
mhamza15
added a commit
that referenced
this pull request
Feb 4, 2026
Signed-off-by: Mohamed Hamza <mhamza@fastmail.com>
mhamza15
added a commit
to mhamza15/vitess
that referenced
this pull request
Feb 4, 2026
Fixes the go upgrade tool by removing the `test/templates` directory from the list of directories/files to update. Those test templates were removed when the workflows were consolidated into one in vitessio#19259.
mhamza15
added a commit
to mhamza15/vitess
that referenced
this pull request
Feb 4, 2026
Fixes the go upgrade tool by removing the `test/templates` directory from the list of directories/files to update. Those test templates were removed when the workflows were consolidated into one in vitessio#19259. Signed-off-by: Mohamed Hamza <mhamza@fastmail.com>
mhamza15
added a commit
that referenced
this pull request
Feb 4, 2026
Signed-off-by: Mohamed Hamza <mhamza@fastmail.com>
mhamza15
added a commit
that referenced
this pull request
Feb 5, 2026
mhamza15
added a commit
that referenced
this pull request
Feb 5, 2026
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.
Description
Consolidates the unit test and end to end CI workflows. For unit tests, a new single
unit_test.ymlcontains a matrix of all the combinations of tests to run. For end to end tests, the new singlecluster_endtoend.ymlworkflow readstest/config.jsonand dynamically generates a matrix from all the shards. Then each job runs for a shard, reads what dependencies it might need (xtrabackup, larger runner, etc.), performs the appropriate steps, and runs the tests.The only remaining workflow that was auto-generated is
vitess_tester_vtgate.yml. As it's entirely static, we can create a normal workflow file, and remove the generation code and the test templates entirely.The job names are the same, so the required checks should apply as normal.
Related Issue(s)
Checklist
Deployment Notes
AI Disclosure