Skip to content

fix(host-proxy): show proxy-only sites as running when their port is listening#1109

Merged
geodro merged 2 commits into
mainfrom
fix/proxy-only-status-dot
Jul 24, 2026
Merged

fix(host-proxy): show proxy-only sites as running when their port is listening#1109
geodro merged 2 commits into
mainfrom
fix/proxy-only-status-dot

Conversation

@geodro

@geodro geodro commented Jul 23, 2026

Copy link
Copy Markdown
Member

The site status dot in the sites list and dashboard is driven by fpm_running, which for a host-proxy site was computed only from its supervised dev-server unit. Proxy-only sites, where you start the dev server yourself and lerd only wires the proxy, have no such unit, so fpm_running was always false and the dot stayed grey even while the server was up and serving.

For proxy-only sites the running state now follows the proxied port: a short TCP probe of the host port, reusing the same dial seam the worker health checks already use. A green dot means your dev server is listening on the port lerd proxies to. Supervised host-proxy sites keep reflecting their worker unit exactly as before.

Refs #1108

…listening

The site status dot in the sites list and dashboard is driven by fpm_running, which for a host-proxy site was computed only from its supervised dev-server unit. Proxy-only sites, where you start the dev server yourself and lerd only wires the proxy, have no such unit, so fpm_running was always false and the dot stayed grey even while the server was up and serving.

For proxy-only sites the running state now follows the proxied port: a short TCP probe of the host port, reusing the same dial seam the worker health checks already use. A green dot means your dev server is listening on the port lerd proxies to. Supervised host-proxy sites keep reflecting their worker unit exactly as before.
@geodro
geodro requested a review from a team as a code owner July 23, 2026 13:10
@geodro
geodro merged commit 3e361c7 into main Jul 24, 2026
3 checks passed
@geodro
geodro deleted the fix/proxy-only-status-dot branch July 24, 2026 08:07
@geodro geodro linked an issue Jul 24, 2026 that may be closed by this pull request
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.

Proxy-only host sites show a grey status dot even when running

1 participant