Repository navigation
Conversation
Swap the docker-compose emulator from localstack/localstack to floci/floci, a free drop-in replacement served on the same port (4566), so the existing test connection strings are unchanged. Floci returns BucketAlreadyOwnedByYou when re-creating an owned bucket (as real AWS does outside us-east-1), so the S3 test setup now tolerates that exception. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
βΉοΈ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with π while any review is running, comments if it has suggestions, and reacts with π once all reviews finish with no findings. |
There was a problem hiding this comment.
π‘ Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 56485155c0
βΉοΈ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with π.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| await storage.SaveFileAsync("docs/readme.txt", "Hello World"); | ||
| ``` | ||
|
|
||
| The examples above point at [Floci](https://github.com/floci-io/floci), a free local AWS emulator. Run `docker compose up -d` from the repository root to start it on `http://localhost:4566`. |
There was a problem hiding this comment.
Include credentials in the Floci quick-start examples
On a fresh development machine without an AWS profile or credential environment variables, starting this Compose stack is insufficient to run any of the examples: S3FileStorage, SQSQueue, and SQSMessageBus all invoke DefaultAWSCredentialsIdentityResolver.GetCredentials() when their connection strings omit credentials (S3FileStorage.cs:46, SQSQueue.cs:36, and SQSMessageBus.cs:88). Add dummy AccessKey and SecretKey values, as the integration-test connection strings already do, or document the required environment variables so the advertised local setup works.
Useful? React with πΒ / π.
Summary
localstack/localstack:4.14.0withfloci/floci:2.1.0indocker-compose.yml. Floci is a free, MIT-licensed drop-in replacement that listens on the same port (4566), so the test connection strings and CI'sdocker compose up -d && docker compose up readystep work unchanged.SERVICES,DEBUG, the data volume, the Docker socket mount, and the extra port range. Floci enables all services by default.S3FileStorageTests/ScopedS3StorageTests) now ignoresBucketAlreadyOwnedByYouException. Floci, like real AWS outsideus-east-1, returns that error when you re-create a bucket you already own. LocalStack returned 200.ServiceUrlXML docs and add a README note on running the emulator locally.Testing
dotnet test --solution Foundatio.AWS.slnx -c Releaselocally against Floci 2.1.0: 155 total, 146 passed, 9 skipped (existingSkipattributes), 0 failed.π€ Generated with Claude Code