Repository navigation
Description
What's the problem
Problem
On frozen RC4 source eba5c14f2e9b955b2ab1627be6356fd3837ebde1, a valid Energy edit can carry a null webhook member through the real GUI commit. The confirmation lists only the Energy change. The saved configuration retains [null], while the unchanged rendered environment contains no webhook destination. This is a core configuration validation/disclosure gap.
Smallest regression
At the host preview/commit tier, combine a valid config-only Energy change with [null], and assert deterministic rejection (or the explicitly chosen normalized contract). Keep the null-only disabled-confirm control and a valid Energy positive. Assert persisted/rendered parity, unchanged config/env on rejection, and no unintended restart or secret output.
Related but distinct: #2373 covers positional masked-sentinel restoration; #2263 covers sink transport testing. No exact duplicate was found in current searches.
what it impacts
Impact is not separately established in the existing report; confirm the affected users or behavior.
How I found it
Reproduction
Use an isolated DIY instance with notifications.webhooks: [] and all other notification sinks disabled. Keep its baseline for restoration. In Configuration → Advanced JSON, edit the existing complete configuration so that:
dashboard.energy.cost_per_kwhchanges from the default0to0.18.notifications.webhookschanges from[]to[null].
Save & preview changes. The dialog shows the Energy INFO row and its cost delta, omits the webhook change, and enables Confirm & apply. Confirm once. Read the persisted config and rendered environment privately.
Observed in a real Chrome run on the shipped source:
- The host-staged candidate and persisted config differed from baseline at exactly those two paths. No unrelated default fields were added.
- Saved webhooks were exactly
[null]; rendered environment bytes were unchanged and had no webhook destination. No delivery was attempted. - All seven container IDs, start times and restart counters were unchanged. Source, provider settings, configured wallet, TLS, and six persistent Tor identity files were preserved.
- A later host-edit audit did name the webhook path; the defect is the missing pre-commit disclosure and malformed-member acceptance, not absence from every audit surface.
Positive/negative controls: changing only the Energy field produces the expected visible preview; changing only webhooks to [null] produces a no-change preview with Confirm disabled, so the null-only case was never committed. A null worker-list member was rejected.
The paired candidate was followed by one GUI restoration. Stored configuration values match the original sparse baseline, including removal of the added Energy block and an empty webhook list. Original byte equality did not hold; that separate serialization difference remains recorded rather than being claimed as an exact-byte restoration.
how important is it
Importance has not been assessed explicitly; triage must state the priority and its reason.
acceptance criteria
Expected
Reject notifications.webhooks[0] with a field-specific type/URL validation error before a commit, without partial writes or restart. If null is intentionally supported, document and disclose the normalization and persist the normalized form consistently. Preserve the existing masked-secret handling and avoid echoing credentials in errors.
possible solutions
No distinct solution options are recorded; investigate the existing report before choosing an approach.
Activity
VijitSingh97 commentedon Oct 11, 2026
Owner ruling (2026-10-11): 2.0.0 Known issue, fixed in 2.0.1. It only happens when a malformed member is hand-written in Advanced JSON, and nothing renders or delivers at runtime. The fix lands with the exact-preview table test in #3397: reject null members, and list every changed path in the preview. The RC4 tester's failing trigger test for this issue is the regression test.
pithead-developer commentedon Oct 21, 2026
Moved to v2.1.0 (owner ruling 2026-10-21: 2.0.1 fixes only what home users on 2.0.0 actually hit). This one needs an unusual setup or has no runtime effect, so it ships with v2.1.0.
pithead-developer commentedon Oct 21, 2026
Waiting on a transient bench_outage condition, not on another issue. tier4-e2e submission and retry with the same idempotency key both failed with [Errno 65] No route to host; no job reference was returned. The runner re-checks it (first at 2026-10-21T04:53Z, at most 5 times).
pithead-developer commentedon Oct 21, 2026
Blocked on #3554. The webhook regressions and current-head hardening proof passed, including baseline restoration; local gates and reviews are clean. Merge remains blocked by pithead#3554: its certifi correction must reach develop-v2.1.0 before this PR’s required dashboard-image scan can pass. The PR records the completed evidence, blocker and resume action.
The runner resumes this issue when that one closes.
pithead-developer commentedon Oct 22, 2026
Blocked on #3596. PR #3547’s webhook fix and passing proof remain unchanged. Closing #3554 fixed develop, but develop-v2.1.0 still pins the vulnerable certifi version and the required image scan remains red. Existing issue #3596 owns the backport; its owner must land that correction before this branch can merge its base and refresh proof, as recorded in the PR.
The runner resumes this issue when that one closes.
17 remaining items
release: prepare v2.0.1 (#3620)
pithead-developer commentedon Oct 25, 2026
Questions before work continues (answer here, then remove the
questionlabel):Should the preservation ruling now cover bc09d1a (default: preserve this reviewer-required merge, retain job 2803 as historical evidence, and reconcile current-head proof with the original key after supported access is verified)?
pithead-architect commentedon Oct 25, 2026
Ruling: Preserve PR #3547 at bc09d1a and retain job 2803 as historical evidence only. After supported access is verified, make one bounded reconciliation pass with the retained original submission key: retrieve any matching job, or, if none is found and admission is healthy, replay the unchanged hardening request once with that same key. Never create a fresh-key duplicate. Return waiting with the recovered job in bench_jobs until current-head tier4-e2e proof completes. Further access failures stay with the existing bench-ci#2109 diagnostic handoff, without depending on its closure; a canonical-baseline refusal belongs to bench-ci#2207 and waits for deployed admission proof. Update the PR evidence in place, then require independent current-head agent PASS followed by formal owner approval before merge.
pithead-developer commentedon Oct 25, 2026
Blocked on p2pool-starter-stack/bench-ci#2207. Same-key reconciliation created job 2945, which errored at the canonical-baseline guard before deployment; no current-head assertions ran. Code, reviews and all 36 GitHub checks pass. Blocked on bench-ci#2207 delivering deployed proof-based admission and its required deploying-e2e proof; the PR records the blocker and exact evidence.
The runner resumes this issue when that one closes.
pithead-developer commentedon Oct 25, 2026
Filed privately (pithead-3388.md); it needs an answer there, then remove the
questionlabel.pithead-developer commentedon Oct 25, 2026
Merged in #3547.
fix(integration): drain inline pregates before baseline restore (#3530)