Skip to content

Conversation

@cgwalters
Copy link
Collaborator

@cgwalters cgwalters commented Oct 31, 2025

This introduces a matrix-based testing approach for integration tests that need to run against multiple container images. Instead of hardcoding specific images or manually creating variants for each distribution, tests can now register as parameterized tests and automatically run once per image in BCVK_ALL_IMAGES.

This enables systematic cross-distribution testing without code duplication and makes it easy to add or change the test matrix by updating environment variables rather than modifying test code.

Assisted-by: Claude Code (Sonnet 4.5)

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a well-designed infrastructure for parameterized integration tests, which is a great improvement for testing against multiple container images. The implementation is clean, with good use of linkme::distributed_slice to mirror the existing test registration pattern. The changes to the Justfile and the refactoring of existing tests to use the new system are also well-executed. I have a couple of minor suggestions to make the code even more idiomatic and efficient, but overall this is excellent work.

This introduces a matrix-based testing approach for integration tests that
need to run against multiple container images. Instead of hardcoding specific
images or manually creating variants for each distribution, tests can now
register as parameterized tests and automatically run once per image in
BCVK_ALL_IMAGES.

This enables systematic cross-distribution testing without code duplication
and makes it easy to add or change the test matrix by updating environment
variables rather than modifying test code.

Assisted-by: Claude Code (Sonnet 4.5)
Signed-off-by: Colin Walters <[email protected]>
@cgwalters cgwalters enabled auto-merge (rebase) October 31, 2025 16:26
@cgwalters cgwalters merged commit 2ccd485 into bootc-dev:main Nov 3, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants