Skip to content

runtime: lease the port at the door#28

Merged
PerishCode merged 1 commit into
mainfrom
port-lane
Jul 15, 2026
Merged

runtime: lease the port at the door#28
PerishCode merged 1 commit into
mainfrom
port-lane

Conversation

@PerishCode

Copy link
Copy Markdown
Owner

No description provided.

Ports join the control plane: a target may declare `port` in the
manifest - 0 leases a free loopback port at every start, any other value
pins it. The resolved port is injected as SIDECAR_PORT (the inspect
socket precedent), recorded in target state, and substituted into the
{port} template of health_url. status now prints the resolved address
next to each running target and carries healthUrl in JSON, so consumers
discover the live endpoint from `sidecar status --format json` instead
of hardcoding one. Targets stay business-unaware: read one env var, bind.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@PerishCode
PerishCode merged commit 050382f into main Jul 15, 2026
1 check passed
@PerishCode
PerishCode deleted the port-lane branch July 15, 2026 07:25
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