Repository navigation
ci: run the s3compat suite against MinIO on every PR - #599
Merged
Merged
Conversation
The s3compat suite verifies conditional-write semantics against a real S3-compatible store, which is how docs/design/conditional-write- compatibility.md's matrix is kept honest; two of its rows were wrong when they were documentation reads. It was vetted and never run. Measured locally against MinIO before writing the job: 4/4 tag-only tests pass in 2s with no skips, enforcing If-None-Match: * as 412, If-Match on an absent key as 404, and the CompleteMultipartUpload precondition, which matches the matrix's MinIO row. s3compat joins tagged-suite's matrix. Its cell starts MinIO pinned by digest, in a step rather than services: (a service container takes no command, and MinIO needs server /data), waits on the health endpoint, and points OBJECTFS_COMPAT_* at it. Without an endpoint the suite skips, and tagged-suite fails on any skip. Its exemption leaves executedTagsExempt, which the gate requires once the tag is executed.
…longer exists The first run of tagged-suite (s3compat) never reached the suite: pulling minio/minio by digest failed with 'pull access denied ... repository does not exist'. The repository is gone from Docker Hub (404) and Quay's copy needs authentication; MinIO's community edition is now source-only. The pinned digest came from an image podman had cached locally since 2025-09-07, so the local measurement had used something CI could not get. Build github.com/minio/minio at v0.0.0-20260212201848-7aac2a2c5b7c (its go line is 1.24.0, below the runner's 1.26.9) and run the binary on localhost. Re-measured against that exact build, from source, with a fresh data directory: 4/4 pass, no skips, 48s to build cold on a laptop.
… is gone The suite's header told people to podman run minio/minio, which works only where an old copy is cached: the repository no longer exists on Docker Hub. It now gives the same pinned go install the CI cell uses.
Closed
4 tasks
This was referenced Oct 18, 2026
scttfrdmn
added a commit
that referenced
this pull request
Oct 20, 2026
…ified daily (#634) The compatibility-matrix sentence said AWS was 'the only one CI keeps verified'. Two things have changed since: live-aws.yml runs the conditional-write suite against real S3 daily (#570), and s3compat re-checks MinIO on every PR (#599). The sentence now says AWS is the only row that matters and the one verified against the real service, and names the job that keeps it so. MinIO gets a clause as a best-effort row that informs a fallback and never constrains what ObjectFS does on AWS, which is the maintainer's stated priority.
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.
Refs #570 (second part:
s3compat).integrationandaws_s3still need a real-AWS role, pending a decision on #570.Measured first
Run locally against a real MinIO before writing the job: 4/4 tag-only tests pass in 2 s, no skips. MinIO answers
If-None-Match: *over an existing key with 412,If-Matchon an absent key with 404, and enforces the precondition onCompleteMultipartUpload. That matches the MinIO row ofdocs/design/conditional-write-compatibility.md. The suite also logs MinIO ignoringIf-MatchonDeleteObject, which is documented and not relied on: ObjectFS never issues a conditional delete.This suite exists because that matrix can't be kept accurate by reading docs. Two of its rows were wrong, in a direction that mattered, back when they were based on documentation.
Change
s3compatjoinstagged-suite's matrix, so it reports astagged-suite (s3compat).services:, because a service container takes no command and MinIO needsserver /data. The step waits on MinIO's health endpoint and fails with MinIO's logs if it never becomes ready.OBJECTFS_COMPAT_ENDPOINTis set only in that cell. Without an endpoint the suite skips, andtagged-suitefails on any skip, so a broken MinIO step can't pass as green.s3compatleavesexecutedTagsExempt. The gate fails a stale exemption, so the two have to change together.The keys (
objectfs/objectfs123) are throwaway, for a container that lives as long as the job and listens on localhost.🤖 Generated with Claude Code