Skip to content

Add configurable listen address#7982

Merged
n1ru4l merged 5 commits into
graphql-hive:mainfrom
jetocotoje:configurable-listen-addr
May 12, 2026
Merged

Add configurable listen address#7982
n1ru4l merged 5 commits into
graphql-hive:mainfrom
jetocotoje:configurable-listen-addr

Conversation

@jetocotoje

@jetocotoje jetocotoje commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

Background

None of the services can currently run on hosts with IPv6 disabled. This PR adds support for a configurable listen address.

Closes #6595 . Closes #8041 Docs PR graphql-hive/docs#92.

Description

Affected:

  • CLI: none
  • Client/agent: web app backend runtime only
  • Services: shared listen option parsing, service HTTP listeners, metrics listeners, worker dev servers, external composition
  • APIs: no contract changes

Packages:

  • @hive/service-common
  • @hive/server, @hive/schema, @hive/policy, @hive/tokens
  • @hive/usage, @hive/usage-ingestor, @hive/commerce, @hive/workflows
  • @hive/app
  • @hive/broker-script, @hive/cdn-script
  • @hive/external-composition-federation-2

Config:

  • adds SERVER_HOST
  • adds SERVER_HOST_IPV6_ONLY

Checklist

  • Input validation
  • Error handling and logging
  • System configuration
  • Testing

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

Gemini is experiencing higher than usual traffic and was unable to create the review. Please try again in a few hours by commenting /gemini review.

@jetocotoje jetocotoje force-pushed the configurable-listen-addr branch from fa18327 to 19327d6 Compare April 16, 2026 11:51
@Urigo Urigo requested a review from n1ru4l April 29, 2026 17:49
@n1ru4l n1ru4l mentioned this pull request May 12, 2026

@n1ru4l n1ru4l left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 🥳 I tested all the changes manually and it is working great!

@n1ru4l n1ru4l merged commit 63e6827 into graphql-hive:main May 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

configure services to listen on ip v4 or ip6 or both

2 participants