You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CI: test the S3 File Writer against a stand-in S3 endpoint #598
mgaffigan asked on #512 whether the S3 fix could be tested in CI. Both bugs #512 fixes were found and checked by hand.
Since #506 (AWS SDK 2.55.12), AWS_ENDPOINT_URL_S3 in the engine's environment points the File connector at any S3 endpoint with no code change. What we measured:
Moto (motoserver/moto:5.2.4) works when started with MOTO_S3_CUSTOM_ENDPOINTS set to its endpoint and given a network alias of <bucket>.<host>, because the SDK puts the bucket in the host name. On it, an engine without the Send each message's custom headers and credentials on pooled S3 connections #512 fix wrote message 2 with message 1's headers, and with the fix each message's own (2026-10-25).
s3mock doesn't work: it reads the bucket only from the path, and the SDK has no environment switch for path-style requests.
MinIO is no longer on Docker Hub, and current LocalStack needs an account token.
A test could add Moto to the harness (ci/harness.compose.yml), point the engine at it, send two messages through an S3 File Writer whose headers come from the message, and check each object's metadata. Moto accepted dummy credentials in that run, so it can't show which key signed a request. The credentials half stays with the unit test in #512 (FileSystemConnectionFactoryTest), or needs an endpoint that logs the signing key.
Activity