Repository navigation
Run tests right after each image build - #1576
Merged
Merged
Conversation
Tests and diffs now run in parallel immediately after their image is built, instead of waiting for all builds to finish. Test kaggle-environments runs alongside the CPU image test since it uses the CPU image.
calderjo
approved these changes
Oct 30, 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.
Previously, tests waited in a separate
Teststage until all image builds (CPU, GPU, TPU) had finished. Since the GPU build is much slower, the CPU tests sat idle for a long time.Now each branch runs its tests and diff in parallel right after its own build:
Test CPU Image,Test kaggle-environments(uses the CPU image) andDiff CPU ImageTest on T4x2andDiff GPU ImageDiff TPU VM Imageonly, unchanged (TPU images are tested outside this pipeline, see b/336842777)Declarative pipelines don't allow nested
parallelblocks inside a parallel branch, so each branch uses a scriptedparallelinside a singleTest/Diff … Imagestage. Timeouts andretry(2)are unchanged. Tests now run on the same agent that built the image, at the same time as the diff.Label CPU/GPU Staging Imagesstill waits for all branches to finish.