Replace MinIO with SeaweedFS for result storage#270
Open
soulgalore wants to merge 1 commit into
Open
Conversation
MinIO's community edition is dead — the GitHub repo was archived in April 2026 and the last free release (October 2025) gets no further security patches, which is untenable for the service that publicly serves test results (#215). SeaweedFS is Apache-2 licensed, actively maintained, ships official multi-arch images and covers everything we used MinIO for: S3 uploads from the testrunner, anonymous public reads of results, and a 30 day expiry. The swap is interface-compatible to keep the change small: the S3 API stays on port 9000, the MINIO_USER/MINIO_PASSWORD variable names are kept, and result URLs don't change, so an existing deployment migrates by updating two lines in .env (the image pin and the endpoint hostname). PRODUCTION.md gets an upgrade guide covering all three deployment shapes. The expiry uses SeaweedFS native TTL (fs.configure) instead of an S3 lifecycle rule, because lifecycle rules have a history of not being enforced. The anonymous identity is read-only and scoped to the result bucket, matching MinIO's "anonymous set download". MinIO's storage compression for html/css/js has no equivalent and is dropped — it only cost disk, never bandwidth. Old results are not migrated to the new data volume — they would have expired within 30 days anyway. Verified end-to-end locally: a real sitespeed.io run uploaded its full result folder through the s3 plugin and the report serves back anonymously with correct content types. Co-authored-by: Claude Fable 5 noreply@anthropic.com
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.
MinIO's community edition is dead — the GitHub repo was archived in
April 2026 and the last free release (October 2025) gets no further
security patches, which is untenable for the service that publicly
serves test results (#215). SeaweedFS is Apache-2 licensed, actively
maintained, ships official multi-arch images and covers everything we
used MinIO for: S3 uploads from the testrunner, anonymous public reads
of results, and a 30 day expiry.
The swap is interface-compatible to keep the change small: the S3 API
stays on port 9000, the MINIO_USER/MINIO_PASSWORD variable names are
kept, and result URLs don't change, so an existing deployment migrates
by updating two lines in .env (the image pin and the endpoint
hostname). PRODUCTION.md gets an upgrade guide covering all three
deployment shapes. The expiry uses SeaweedFS native TTL (fs.configure)
instead of an S3 lifecycle rule, because lifecycle rules have a
history of not being enforced. The anonymous identity is read-only and
scoped to the result bucket, matching MinIO's "anonymous set
download". MinIO's storage compression for html/css/js has no
equivalent and is dropped — it only cost disk, never bandwidth.
Old results are not migrated to the new data volume — they would have
expired within 30 days anyway. Verified end-to-end locally: a real
sitespeed.io run uploaded its full result folder through the s3 plugin
and the report serves back anonymously with correct content types.
Co-authored-by: Claude Fable 5 noreply@anthropic.com