Skip to content

Smoke-test the S3 File Writer against RustFS - #599

Open
MichaelLeeHobbs wants to merge 2 commits into
OpenIntegrationEngine:mainfrom
MichaelLeeHobbs:ci/s3-file-writer-smoke-test
Open

MichaelLeeHobbs wants to merge 2 commits into
OpenIntegrationEngine:mainfrom
MichaelLeeHobbs:ci/s3-file-writer-smoke-test

Conversation

@MichaelLeeHobbs

Copy link
Copy Markdown
Contributor

Closes #598. Needs #512 first: two of the three messages here fail on main, which is the point of them.

Change

  • ci/harness.compose.yml: adds an S3 stand-in, RustFS (Apache-2.0), pinned by tag and digest, and points the engine at it with AWS_ENDPOINT_URL_S3. The network alias oie-smoke.s3 plus RUSTFS_SERVER_DOMAINS let it take the SDK's bucket-in-host-name requests.
  • ci/tests/140-s3-file-writer: one channel, three messages through one S3 File Writer with Keep Connection Open and Use Default Credential Provider Chain on. A JavaScript Writer then reads the object's metadata back with the engine's own SDK.

No engine or harness code changes.

RustFS rather than Moto because it checks request signatures. Message 3 carries a wrong secret key and must be refused, so the credentials half of #512 is covered end to end too.

Message Checks main #512
01-first-message object carries header A pass pass
02-own-headers object carries header B fail, got {clinic=A} pass
03-own-credentials wrong secret key is refused fail, SENT with message 1's key pass, 403 from RustFS

How to verify

ci/runtests.sh alpine-temurin21-derby

Run locally with server images built from main (8e5e63d) and #512 (f43bb6a): alpine-temurin21-derby on both, alpine-temurin21-postgres on #512. Those two failures on main were the only ones in any run. For the other configurations I only checked that the merged Compose file keeps oie's database dependency.

🤖 Generated with Claude Code

Adds an S3 stand-in to the smoke-test stack and a fixture that checks each
message is written with its own custom headers and credentials (OpenIntegrationEngine#598).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Michael Hobbs <michael.lee.hobbs@gmail.com>
@MichaelLeeHobbs
MichaelLeeHobbs marked this pull request as ready for review November 24, 2026 22:57
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Test Results

  146 files  ± 0    146 suites  ±0   4m 26s ⏱️ +19s
  994 tests + 3    992 ✅ +1  0 💤 ±0   2 ❌ + 2 
1 330 runs  +21  1 310 ✅ +7  6 💤 ±0  14 ❌ +14 

For more details on these failures, see this check.

Results for commit 3f49473. ± Comparison against base commit 8e5e63d.

♻️ This comment has been updated with latest results.

@MichaelLeeHobbs

Copy link
Copy Markdown
Contributor Author

The CI failures here are expected until #512 merges. All 14 are 02-own-headers and 03-own-credentials from this PR's new fixture, failing in each of the 7 configurations because main still has the bugs #512 fixes. Nothing else fails.

@pacmano1

Copy link
Copy Markdown
Contributor

03-own-credentials only catches the #512 credentials bug because the channel has Use Default Credential Provider Chain on with the keys typed in as well. With the chain off, main already signs each message with its own key, so that message passes on main (tried it). Worth a line in the channel description saying why both are set, so nobody tidies the setting away and loses the check.

03-own-credentials only catches the pooled credentials bug with Use Default
Credential Provider Chain on and a username and password set.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Michael Hobbs <michael.lee.hobbs@gmail.com>
@MichaelLeeHobbs

Copy link
Copy Markdown
Contributor Author

Good catch, thanks. Added to the channel description in 3f49473.

@pacmano1

Copy link
Copy Markdown
Contributor

Ready to approve once #512 merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants