Skip to content

fix: use dedicated rabbitmq user for CI service container#47

Merged
Theauxm merged 1 commit intomainfrom
fix/rabbitmq-ci-credentials
May 8, 2026
Merged

fix: use dedicated rabbitmq user for CI service container#47
Theauxm merged 1 commit intomainfrom
fix/rabbitmq-ci-credentials

Conversation

@Theauxm
Copy link
Copy Markdown
Member

@Theauxm Theauxm commented May 8, 2026

Summary

  • CI's RabbitMQ service container exposes the broker through port forwarding, which RabbitMQ treats as non-localhost. The default guest user is restricted to localhost, so the existing 6 broadcaster tests were silently skipping in CI.
  • Override with a dedicated trax/trax123 user, matching the Postgres pattern. Update the persisted-ops broadcaster test's AmqpUri to match.
  • Companion fixes in Trax.Effect and Trax.Samples align the dev broker and the existing broadcaster integration tests to the same creds.

Test plan

  • Local dotnet test --filter RabbitMqBroadcasterTests passes (6/6) against the local broker after recreating it with the new creds
  • CI Pull Request workflow runs the rabbitmq tests instead of skipping them

Default 'guest' user is restricted to localhost in RabbitMQ. GitHub
Actions service containers route through port forwarding so the broker
sees connections as non-localhost and rejects guest. Override with a
dedicated trax/trax123 user, mirroring the Postgres convention.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Theauxm Theauxm merged commit 5b2691f into main May 8, 2026
2 checks passed
@Theauxm Theauxm deleted the fix/rabbitmq-ci-credentials branch May 8, 2026 19:47
@traxsharp
Copy link
Copy Markdown

traxsharp Bot commented May 8, 2026

This PR is included in version 1.26.1

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