Repository navigation
Description
What's the problem
Part of pithead#4209. The dashboard's XvB/price egress still shares the raw proxy: client/xvb_client.py:201,226,264,318 (four proxy_map(self.tor_proxy)), service/xvb/price_feed.py:65, service/xvb/xvb_standby.py:89-90 (inline dict). Once the purpose_proxy helper lands (sibling child), these are the dashboard-purpose call sites holding the AC's third purpose back.
What it impacts
Appliance/DIY owners: XvB donor stats/registration and price lookups become a distinct circuit family at Tor, separate from updates, probes and notifications.
How I found it
Split of pithead#4209; sites verified on origin/develop-v2.0.5 (ad76587) after #4207 merged.
How important is it
One of three wiring children; carries the dashboard purpose.
Acceptance criteria
- All six sites build proxies via
proxy_map(purpose_proxy(<base>, PROXY_PURPOSE_DASHBOARD)); xvb_standby's inline dict becomes that call;XVB_TOR_SOCKS5(xmrig pool socks5, bare host:port) is NOT changed — no credential support there and it is out of scope. - Existing tests
dashboard/tests/client/test_xvb_client.py,dashboard/tests/service/xvb/test_price_feed.py,test_xvb_standby.pyupdated so expected proxies carrydashboard:isolate@; the Remove every dashboard proxy branch; per-caller zero-socket tests #4207 zero-socket cases still pass; at least one assert per module shows the credential in the constructed proxy. - Failure logging stays secret-free (request_failure_class only); one driven failure asserts no
isolate@in the logged text.
Possible solutions
Mechanical swap onto the sibling helper at the six pinned lines.
Parent: #4209
Worker brief: Test tier: GitHub tiers 1-3 (dashboard-logic row). Wire xvb_client.py (4 sites), price_feed.py and xvb_standby.py to proxy_map(purpose_proxy(base, PROXY_PURPOSE_DASHBOARD)) after the helper child lands; do not touch XVB_TOR_SOCKS5. Update the named pytest modules for the credentialed expected proxies plus a logged-text secret-free assert. ruff check + format; no comments/docstrings.
Activity
pithead-developer commentedon Nov 22, 2026
Blocked on #4320. Blocked on pithead#4320. This issue wires the XvB/price call sites onto
purpose_proxy(<base>, PROXY_PURPOSE_DASHBOARD). Neither symbol exists on origin/develop-v2.0.5 (b1b4ce8).git grepforpurpose_proxyandPROXY_PURPOSEunderdashboard/finds nothing, and #4320 has no open PR. The issue and its worker brief both say to wire after the helper child lands, and writing the helper here would duplicate #4320. Nothing is edited, branched or pushed, and no PR is open. Once #4320 merges, resume. The work is the six mechanical swaps (four inxvb_client.py, one each inprice_feed.pyandxvb_standby.py). It also covers the three pytest modules withdashboard:isolate@expected proxies, plus one secret-free logged-text assert. The proof row is GitHub tiers 1-3 withmake lint-py.XVB_TOR_SOCKS5stays untouched.The runner resumes this issue when that one closes.
test: standby pull failure log carries no credential (#4322)
Wire dashboard XvB/price egress onto the dashboard purpose circuit (#…
pithead-developer commentedon Nov 22, 2026
Merged in #4363.