Repository navigation
Conversation
A user churned believing 10s was the sampling floor. count/interval already exist but the form owns only `host`, and the execution budget ignores `count`, so any burst that meets loss is truncated and reports inflated packet loss. Co-Authored-By: Claude Opus 5 <[email protected]>
Owner
Author
|
Closing in favor of the batch branch: both specs (ICMP burst limits/budget + form exposure) were merged into batch/2026-09-21 and are being implemented there; the implementation PR supersedes this spec-only PR. |
fclairamb
added a commit
that referenced
this pull request
Sep 21, 2026
… exposure (#411) Batch branch for 2026-09-21, implementing three specs (all archived under `specs/done/2026/09/`): ## Status page sections can now follow a check group (spec 2026-09-20-02) - Third selector shape `{"checkGroupUid": "..."}` alongside `all` / `labels`; UID or slug accepted on input, canonical UID stored. - Deleted-group semantics: the rule matches nothing, managed rows drop on reconcile (including after group deletion), and the admin payload exposes `selectorGroupMissing` — now on **both** the section list and the page-detail payload the editor reads. - Dashboard: fourth "By group" membership mode, missing-group amber alerts, publication matcher support, Name → Slug → Membership dialog ordering, mobile-safe 4-option control, en/fr/de/es locales, docs. ## ICMP burst sampling (spec 2026-09-21-01) - Limits: `count` 1–600, `interval` 50ms–60s (legacy-valid configs still validate). - Split execution budget: per-packet `timeout` is no longer the whole-burst budget; `BurstBudgeter` sizes it as `count × timeout + (count-1) × interval` + margin — the truncation/over-reported-loss defect is gone. - fping-style concurrent send/collect loop: run time `(count-1) × interval + timeout`, independent of loss; unsent packets shrink `packets_sent` instead of counting as lost; `rtt_ms_jitter` (population std-dev) computed in the same min/max/avg loop. ## ICMP burst fields in the form (spec 2026-09-21-02) - `count`, `interval`, `packet_size`, `ttl` surfaced in a collapsed section with a live one-line explainer; interval gated at `count ≤ 1`; API-created values survive unrelated edits (round-trip tests); Go validator stays the single source of bounds. ## QA - Backend: `make build-backend lint-back test` green; dash0 build/lint (no new errors), unit tests, docs build green. - Full dash0 Playwright suite on a fresh side-car test server: **846 passed / 12 skipped** — this gate caught and fixed a real bug (selector diagnostics missing from the page-detail payload) plus three never-executed assertions in the group-selector e2e. Supersedes #410 (spec PR, merged into this branch). --------- Co-authored-by: Claude Opus 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two specs in
specs/todos/, from a churn post-mortem. A user deleted hisaccount believing solidping's sampling floor was one ICMP sample per 10
seconds. It is not, and the reason he thought so is a missing form field.
2026-09-21-01— limits and the execution budget.Lowering the
intervalfloor from 100ms to 50ms is free:intervalonly addsdelay, so a denser burst is a shorter run, not a longer one. But lowering it
alone changes little, because the execution budget never looks at
count. Thesame
timeoutvalue is used both as the per-packet read deadline and as thewhole-execution budget (
timeout + 1s), while a burst needscount × timeout + (count-1) × interval. That works out to a usable timeout of11ms at
count: 10, interval: 100ms.Worse,
performICMPPingsappends a failure for every packet it did not reach,and those land in
packets_sent/packet_loss_pct. So a burst that meets realloss blows its budget, truncates, and reports packets that were never
transmitted as lost — on the check whose entire purpose is measuring loss.
That half is a bug today, independent of any limit change.
2026-09-21-02— the form.The ICMP module declares
ownedKeys: ["host"]. The checker accepts six fields;the form offers one.
countandintervalhave always been API-only, which iswhy the user never found them. Includes the round-trip hazard to watch:
assembleSubmittedConfigcurrently preserves these keys as passthrough, soadding them to
ownedKeysmust not silently clear an API-set config.Spec 01 should land first, or together with 02 — shipping the form over the
current budget defect would hand people a control that produces wrong numbers.
Bounds verified against production with
validate_check, not read off thesource:
{count:10, interval:"100ms"}valid,count:20andinterval:"50ms"both rejected.
🤖 Generated with Claude Code