Skip to content

[plugins] Child-health listener binds 0.0.0.0 #2631

Closed

Description

@rickylabs

Summary

The health listener of every background child binds all interfaces. It is the only runtime Deno.serve call with no hostname, and there is no way to override it.

Evidence (main at b0eb079, same on v0.0.9)

Expected behavior

The listener binds 127.0.0.1 by default. An explicit option or environment variable widens it for container deployments, following the convention #2396 introduced for services.

Acceptance

  • The child-health listener binds loopback by default, proven by a test that fails on current main.
  • The bind address can be overridden explicitly, using the same convention as the plugin services.
  • Generated container and Aspire launches that need a non-loopback health endpoint still pass their health checks.

Acceptance verified by #2641 (comment).

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions