Replace LocalStack with Floci in test suite; add pathStyleAccess S3 setting#2606
Draft
Replace LocalStack with Floci in test suite; add pathStyleAccess S3 setting#2606
Conversation
Co-authored-by: dzikoysk <4235722+dzikoysk@users.noreply.github.com> Agent-Logs-Url: https://github.com/dzikoysk/reposilite/sessions/ab5235dc-512e-49c0-a80f-9b37f8759fe1
Copilot
AI
changed the title
[WIP] Fix issue with data serialization in Reposilite
Replace LocalStack with Floci in test suite
Mar 24, 2026
Co-authored-by: dzikoysk <4235722+dzikoysk@users.noreply.github.com> Agent-Logs-Url: https://github.com/dzikoysk/reposilite/sessions/89377c62-47f0-4fac-9f4a-8c3385a6fb5f
Copilot
AI
changed the title
Replace LocalStack with Floci in test suite
Replace LocalStack with Floci in test suite; add pathStyleAccess S3 setting
Mar 25, 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.
LocalStack community edition was sunset in March 2026 (auth token required, security updates frozen). Replaces it with Floci — a free MIT-licensed drop-in alternative (~90 MB image, ~24 ms startup).
Changes
build.gradle.kts: Removeorg.testcontainers:localstackandcom.amazonaws:aws-java-sdk-s3(v1 SDK was only a transitive dep of the localstack testcontainers module)S3StorageProviderSettings: AddpathStyleAccess: Boolean = false— configurable per-repository, backward compatibleS3StorageProviderFactory: Honoursettings.pathStyleAccessalongside the existingreposilite.s3.pathStyleAccessEnabledJVM propertyLocalStackContainerforGenericContainer("hectorvent/floci:latest")on port4566withpathStyleAccess = true(Floci, like all local S3 emulators, requires path-style access)The new
pathStyleAccesssetting also benefits production users running MinIO, Ceph, or similar self-hosted S3-compatible backends that require path-style URLs.🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.