Repository navigation
Description
What's the problem
dashboard/mining_dashboard/service/network/egress.py labels Caddy with "firewalled": True although Caddy uses host networking and is outside the container fence — the same file already marks another host-network service False with that reason (pithead#4145). Owners see an egress panel that overstates the fence.
What it impacts
Every operator reading the egress panel; trust in the whole egress story during the firewall hardening steps.
How I found it
Split from pithead#4145 (acceptance criterion 3). Code read of dashboard/mining_dashboard/service/network/egress.py: the caddy row sits near line 158 with firewalled True; the host-network bypass comment sits near line 133.
How important is it
Medium-high and independent: one flag plus its tests, no box path, and honesty is the point of the release-lane egress work.
Acceptance criteria
- The egress panel's per-service
firewalledflag is False for every host-network service (Caddy included), and the panel renders that honestly (e.g. host-network / outside the container fence, not firewalled). - A dashboard test that fails without the change pins each host-network service's flag (tests/service/network coverage matching test_node_route.py's style); updated frontend fixtures state.json included where it encodes the flag.
- No other panel behaviour, layout or page changes; current-UI styling is not reworked (the Sovereign UI migration is pithead#3566's).
Possible solutions
- Flip the flag where the service is detected on host networking, mirroring the existing False precedent in the same file; adjust the label text the panel already shows for un-firewalled services.
Parent: #4145
Worker brief: Test tier: tiers 1-3 (dashboard pytest and frontend test rows) — no box path, so GitHub CI is the proof; name that row in the PR body. Fix dashboard/mining_dashboard/service/network/egress.py so host-network services (caddy included, near line 158) report firewalled False, reusing the existing False-with-reason shape near line 133; keep the current dashboard UI otherwise untouched (Sovereign UI is pithead#3566). Add/extend dashboard/tests/service/network coverage that fails without the fix and update dashboard/tests/frontend/fixtures/state.json if it encodes the flag. Run the touched pytest modules and node tests locally per CLAUDE.md (uv run --extra test). No comments in code.
Activity
docs: CHANGELOG entry for the honest Caddy egress posture (#4197)
Egress panel no longer calls host-networked Caddy firewalled (#4257)
pithead-developer commentedon Nov 19, 2026
Merged in #4257.