Skip to content

chore: bump SDK versions to 0.6.0 and refactor test infrastructure#298

Merged
DorianZheng merged 4 commits intomainfrom
chore/bump-sdk-versions-0.6.0
Feb 25, 2026
Merged

chore: bump SDK versions to 0.6.0 and refactor test infrastructure#298
DorianZheng merged 4 commits intomainfrom
chore/bump-sdk-versions-0.6.0

Conversation

@DorianZheng
Copy link
Copy Markdown
Member

Summary

  • Bump SDK and crate versions to 0.6.0
  • Extract shared test utilities into boxlite-test-utils crate for reuse across boxlite and boxlite-cli integration tests
  • CLI tests now use per-test TempDir with symlinked image caches (parallel-safe), removing the serial test group constraint
  • Fix registry tests to use mirror registries (TEST_REGISTRIES) instead of docker.io directly
  • Fix test_run_fully_qualified_image_bypasses_registry: add working mirror so guest rootfs (debian:bookworm-slim) can be pulled
  • Update box ID regex in create tests to match new nanoid format

Test plan

  • cargo clippy -p boxlite-cli --tests -- -D warnings passes
  • cargo nextest run -p boxlite-cli — all CLI integration tests pass
  • cargo nextest run -p boxlite — all core integration tests pass

Show phase headers with sub-target lists and visible make invocations
so users can tell what's happening during long test runs (e.g. pre-push).

Also include C header formatting fix from lint hook.
Add verbose: true to the pre-push hook so prek streams test output
to the terminal instead of silently capturing it.
- Move warm cache infrastructure (image pre-pull, symlinked cache dirs,
  warm_temp_dir) from boxlite/tests/common into a shared boxlite-test-utils crate
- CLI tests now use per-test TempDir with symlinked caches (parallel-safe)
- Remove serial test group constraint from nextest config
- Fix registry tests to use TEST_REGISTRIES mirrors instead of docker.io
- Fix fully_qualified test: add working mirror for guest rootfs pull
- Update box ID regex in create tests to match new nanoid format
@DorianZheng DorianZheng merged commit 367e777 into main Feb 25, 2026
27 checks passed
@DorianZheng DorianZheng deleted the chore/bump-sdk-versions-0.6.0 branch February 25, 2026 09:34
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.

1 participant