Skip to content

fix(mirrors): honor R2_FORCE_PATH_STYLE against LocalStack - #59

Merged
xirothedev merged 1 commit into
mainfrom
fix/mirror-path-style
Sep 6, 2026
Merged

fix(mirrors): honor R2_FORCE_PATH_STYLE against LocalStack#59
xirothedev merged 1 commit into
mainfrom
fix/mirror-path-style

Conversation

@xirothedev

Copy link
Copy Markdown
Owner

Mirrors only reached LocalStack-compatibility halfway: apps/api got R2_FORCE_PATH_STYLE in #55, but elysia/effect/go (and axum scaffolding) still default to virtual-host addressing — bucket.localhost:4566 DNS failure against the simulator.

  • elysia/effect: forcePathStyle on S3Client from the env flag
  • go: o.UsePathStyle from os.Getenv (was hardcoded false)
  • axum: force_path_style on the s3 config builder (storage still unwired)
  • .env.example note in elysia/effect

Verified: go build, 39+39 bun + 45 cargo tests, and a live put/get/delete through elysia's storage module against the running LocalStack (ELYSIA_PATHSTYLE_OK).

@xirothedev
xirothedev merged commit 4912fe2 into main Sep 6, 2026
1 check passed
@xirothedev
xirothedev deleted the fix/mirror-path-style branch September 6, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant