Skip to content

feat: Set the AMQP connection name to service and hostname - #369

Merged
Uxío (Uxio0) merged 1 commit into
mainfrom
uxio/pla-2142-backend-identify-amqp-connections-of-events-service-cgw
Oct 15, 2026
Merged

Uxío (Uxio0) merged 1 commit into
mainfrom
uxio/pla-2142-backend-identify-amqp-connections-of-events-service-cgw

Conversation

@Uxio0

Copy link
Copy Markdown
Member

Make sure these boxes are checked! 📦✅

  • You ran ./run_tests.sh
  • You ran pre-commit run -a

What was wrong? 👾

Linear: PLA-2142

The shared RabbitMQ broker logs many client unexpectedly closed TCP connection, but Decoder Service connections have no name, so it is not possible to know which service and pod closed them.

How was it fixed? 🎯

  • QueueProvider sends the AMQP client property connection_name = safe-decoder-service@<hostname> (pod name in k8s), the same format Transaction Service uses. It shows in the RabbitMQ management UI and logs. connect_robust keeps it, so reconnections send the same name.
  • Test that checks the name on the connection.
  • Nothing else in the AMQP setup changes.

@Uxio0
Uxío (Uxio0) marked this pull request as ready for review October 15, 2026 13:28
@Uxio0
Uxío (Uxio0) requested a review from a team as a code owner October 15, 2026 13:28
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-15T13:30:22.695236Z 28e1bb5 Draft marked ready
ℹ️ About Codex in GitHub

Your 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.

@Uxio0
Uxío (Uxio0) merged commit 32eaac8 into main Oct 15, 2026
8 checks passed
@Uxio0
Uxío (Uxio0) deleted the uxio/pla-2142-backend-identify-amqp-connections-of-events-service-cgw branch October 15, 2026 14:50
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants