Skip to content

BC-87614: advertise Kafka on 127.0.0.1 - #157

Open
kerenazov wants to merge 2 commits into
masterfrom
BC-87614
Open

kerenazov wants to merge 2 commits into
masterfrom
BC-87614

Conversation

@kerenazov

Copy link
Copy Markdown

Summary

  • Kafka's outer listener now advertises 127.0.0.1 instead of localhost.
  • On current GitHub runners, localhost resolves to IPv6 ::1 first, while the published Docker port is IPv4 only. Clients then retry that refused connection until the job times out.
  • Host-side tests, on a laptop and in CI, reach the published port through 127.0.0.1.

Test plan

  • Run the yellowbox Kafka tests on a machine where localhost resolves to ::1 first
  • Confirm a client can connect to the published outer port and the job no longer hangs in "Waiting for KafkaService to start..."
  • After release, point backendcommon at this version and rerun its Python 3.11 Kafka blackbox tests

kerenazov and others added 2 commits October 25, 2026 12:41
localhost resolves to IPv6 on current GitHub runners, and the published port is IPv4 only.

Co-authored-by: Cursor <cursoragent@cursor.com>
Ruff 0.17 flags existing signatures and annotations, so the Kafka tests never start.

Co-authored-by: Cursor <cursoragent@cursor.com>
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