mirror of
https://github.com/kvcache-ai/AgentENV.git
synced 2026-11-05 01:17:36 +00:00
[PR #285] [MERGED] fix(test): pull MinIO test image from quay.io #317
Labels
No labels
bug
documentation
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/AgentENV#317
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/AgentENV/pull/285
Author: @huajq
Created: 9/14/2026
Status: ✅ Merged
Merged: 9/14/2026
Merged by: @yingdi-shan
Base:
main← Head:fix/minio-test-image📝 Commits (1)
e5a7328fix(test): restore MinIO-backed OSS test containers📊 Changes
3 files changed (+18 additions, -15 deletions)
View changed files
📝
Cargo.lock(+0 -10)📝
crates/test-support/Cargo.toml(+0 -1)📝
crates/test-support/src/minio.rs(+18 -4)📄 Description
What
Fix the shared MinIO test fixture (
MinioFixture::start()incrates/test-support/src/minio.rs) so MinIO-backed OSS tests can start and usea container again:
quay.io/minio/miniowith a pinned release tag;Why
The
minio/miniorepository was removed from Docker Hub entirely, and thetestcontainers-modules 0.11 MinIO module pins
minio/minio:RELEASE.2022-02-07T08-17-33Z, which no longer resolves, so everyMinIO-backed OSS test fails to pull its container. A second incompatibility
surfaces once the image source is fixed: current MinIO images print the
startup banner (including the
API:line the module's readiness probematches) to stderr, so the module's stdout wait never fires and every
container startup times out.
All affected tests share this single fixture
(
storage/overlaybd/tests/oss_backend_minio.rs,crates/e2e-tests/tests/snapshot_oss_e2e_test.rs), so one change unblocks bothsuites.
Related issue
No linked issue.
Scope and non-goals
Includes only the test fixture. Switching to a different S3-compatible
container (e.g. s3mock, rustfs) was considered and intentionally excluded:
keeping real MinIO preserves multipart/range/credential behavior fidelity with
a minimal diff. No production code changes.
Design and behavior changes
testcontainers-modulesMinIO module with aGenericImage(image/tag, env, cmd, readiness probe all explicit) and drop the now-unused
testcontainers-modulesdependency.quay.io/minio/minio:RELEASE.2025-09-07T16-13-09Z(verified as amulti-arch manifest list on quay.io) instead of
latestfor deterministictests.
message_on_stderr("API:"), matching the current image'slog behavior; tag is pinned so the match is deterministic.
MINIO_ROOT_USER/MINIO_ROOT_PASSWORDexplicitly to the sameminioadmin/minioadmin values the fixture already uses for its S3 client;
current MinIO images no longer default these credentials.
Compatibility and operations
the container from quay.io instead of Docker Hub; hosts running these suites
need outbound access to quay.io. As before, MinIO rejects writes with
XMinioStorageFullwhen the host drive holding its data directory is nearlyfull, so hosts need some free disk headroom; this is pre-existing MinIO
behavior, unchanged by this PR.
Validation
make fmtmake clippymake test-unitmake -C services test(required whenservices/changes)maketargetCommands and results (Linux host with Docker):
Skipped checks and reasons:
Workspace-wide
make clippyandmake test-unitwere not run; the change isconfined to one test-support file and passed targeted clippy and the workspace
format check. No
services/or generated-code changes, and documentationgenerically refers to "Docker/MinIO-backed" tests, so no doc update was needed.
Risks and reviewer notes
Test-only; no runtime risk. If CI or developer machines cannot reach quay.io,
container pulls will fail the same way they do now with Docker Hub; mirroring
the image into an internal registry would be a follow-up ops decision rather
than part of this fix.
Checklist
information. (minioadmin/minioadmin are MinIO's public well-known local
test defaults.)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.