Use pre-imported container images in the tests to avoid hitting the API limit#14561
Merged
benhillis merged 3 commits intofeature/wsl-for-appsfrom Mar 28, 2026
Merged
Use pre-imported container images in the tests to avoid hitting the API limit#14561benhillis merged 3 commits intofeature/wsl-for-appsfrom
benhillis merged 3 commits intofeature/wsl-for-appsfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates WSLC tests to rely on pre-imported base images (instead of pulling from Docker Hub) to reduce registry/API-limit related failures in CI and local test runs.
Changes:
- Switch Dockerfiles used in WSLC build-related tests from
alpinetodebian:latest. - Ensure the Debian test image is loaded for the WSLC E2E image build tests (and cleaned up afterward).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| test/windows/wslc/e2e/WSLCE2EImageBuildTests.cpp | Loads the pre-imported Debian base image for E2E image-build tests and updates test Dockerfiles to FROM debian:latest. |
| test/windows/WSLCTests.cpp | Updates multiple build-image API tests to use FROM debian:latest, aligning with images preloaded in test setup. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
benhillis
approved these changes
Mar 28, 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.
Summary of the Pull Request
This change updates our test to use the pre-installed test images instead of pulling from the docker registry
PR Checklist
Detailed Description of the Pull Request / Additional comments
Validation Steps Performed