Repository navigation
Description
What's the problem
Part of pithead#4209. The notification sinks still share the raw proxy: service/notify/healthchecks.py:95 (primary ping), notify_sinks.py:48,96-110 (Webhook/ntfy sinks), telegram_notifier.py:63, telegram_commands.py:188. healthchecks.py:118 additionally re-implements the credential rewrite inline. Once the purpose_proxy helper lands (sibling child), these are the AC's fourth purpose.
What it impacts
Appliance/DIY owners: Healthchecks pings, webhooks, ntfy and Telegram sends get their own circuit family instead of pooling with updates/probes/XvB.
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 notifications purpose and removes the second inline rewrite.
Acceptance criteria
- All sinks build proxies via
proxy_map(purpose_proxy(<tor_proxy>, PROXY_PURPOSE_NOTIFY)); thedirect=Trueshapes stayNone(LAN/self-hosted carve-out unchanged);healthchecks.pyretry path becomespurpose_proxy(self._tor_proxy, uuid.uuid4().hex)so its per-ping isolation keeps fresh labels — replace its inlinereplace()rewrite entirely. - Existing tests
dashboard/tests/service/notify/test_healthchecks.py,test_notify_sinks.py,test_telegram_notifier.py,test_telegram_commands_replies_and_transport.pyupdated so expected proxies carrynotify:isolate@, and the retry path still shows a fresh label per attempt (two calls differ); Remove every dashboard proxy branch; per-caller zero-socket tests #4207 zero-socket contract holds. - Failure logging stays secret-free; one driven failure asserts no
isolate@in logged text.
Possible solutions
Mechanical swap onto the sibling helper; healthchecks keeps fresh-uuid retries by passing the uuid as the label.
Parent: #4209
Worker brief: Test tier: GitHub tiers 1-3 (dashboard-logic row). Wire healthchecks.py (primary notify cred + uuid retry via purpose_proxy, deleting its inline rewrite), notify_sinks.py, telegram_notifier.py and telegram_commands.py to PROXY_PURPOSE_NOTIFY after the helper child lands; keep direct=True shapes unmapped. Update the named pytest modules for credentialed expectations, fresh-label-per-retry and a logged-text secret-free assert. ruff check + format; no comments/docstrings.
Activity
pithead-developer commentedon Nov 22, 2026
Blocked on #4320. Blocked on #4320. #4323 wires the notification sinks onto
purpose_proxy(..., PROXY_PURPOSE_NOTIFY), and that helper and constant don't exist yet. A grep of the dashboard code found nopurpose_proxyorPROXY_PURPOSE, and origin/develop-v2.0.5 has no new commits since the branch point. Issue #4320 is still open and has no open PR. Without the helper I would have to invent its signature and constant, which could conflict with the sibling's real API. The branch is clean and has no edits. Work resumes when #4320 merges: swap the proxy construction inhealthchecks.py,notify_sinks.py,telegram_notifier.pyandtelegram_commands.py, keep thedirect=Trueshapes unmapped, replace the inline uuid rewrite inhealthchecks.py, and update the four named pytest modules, including a fresh label per retry and a check that logged text contains noisolate@. The proof tier is GitHub tiers 1-3.The runner resumes this issue when that one closes.
tests: drive the notify failure log through the real fetch path (#4323)
Wire notifications purpose onto its own credentialed circuit (#4323) (#…
pithead-developer commentedon Nov 22, 2026
Merged in #4360.