Repository navigation
Run router integration suites in 6 jobs, not 41 - #2077
Merged
Merged
Conversation
Each package ran in its own job, and each job spends about 35 s on setup before its first test. Group the 41 packages into 6 jobs, balanced by test time; packages in a group run one at a time on the job's Postgres and Redis.
dangusev
marked this pull request as ready for review
November 18, 2026 13:12
kanat
approved these changes
Nov 18, 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.
Why
Each Go package in
integration.ymlran in its own job: 41 jobs per run. Each job spends about 35 s on checkout, setup-go and the Postgres and Redis containers before its first test, so a run spent about 23 min on setup alone.How it works
internal/agent(unverified)Changes
matrix.packageentries become 6includeentries withgroup,packagesand, where needed,skip,mem0andffmpeg.-p 1runs a group's packages one at a time, because they share the job's Postgres and Redis.apigroup hasmem0andffmpeg. The ffmpeg step now checksmatrix.ffmpeg.skippatterns do not change. Each one now applies to its whole group.Validation
internal/tts/voiceshas aTestResolverSuite, but not the subtest that is skipped.🤖 Generated with Claude Code