Skip to content

fix: WHOIS honours the check context, throttled legacy agent warning, empty check groups - #919

Merged
fclairamb merged 10 commits into
feat/todos-2026-11-17from
feat/todos-2026-11-17-2
Nov 17, 2026
Merged

fclairamb merged 10 commits into
feat/todos-2026-11-17from
feat/todos-2026-11-17-2

Conversation

@fclairamb

@fclairamb fclairamb commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Stacked on #917: merge it first.

Summary

  • Domain checker (WHOIS): the lookup now honours the check's context and deadline; a stalled WHOIS server no longer outlives the check (reported as timeout instead of down).
  • Legacy v1 agent signatures: the deprecation WARN is throttled to once per agent per hour (with a suppressed count), logged only after the signature verifies, and every v1 request is counted in solidping_agent_legacy_signature_requests_total{channel}.
  • Checks page groups: an empty group shows "No checks" instead of loading placeholders forever, and with a label filter, groups without any matching check are hidden (solidping-business#92).

Not done from #88: agent_version in the log line (unknown at that point), the "upgrade this agent" notice, and cross-replica throttling (per process).

Closes fclairamb/solidping-business#88
Closes fclairamb/solidping-business#89
Closes fclairamb/solidping-business#92

🤖 Generated with Claude Code

fclairamb and others added 2 commits November 17, 2026 14:03
…b/solidping-business#89)

When RDAP failed (auto fallback) or method was whois, the WHOIS query ran on
the whois library's own 30 s timeout with no context
(checkdomain/checker.go lookupWHOIS -> whois.Whois), so a slow or stalled
port-43 server outlived the check and the worker abandoned the runner at
ERROR. queryWHOIS (whois.go) now dials with DialContext, clamps the
connection deadlines to ctx's and closes the connection when ctx is done; a
lookup cut by the context reports StatusTimeout. Regression test
whois_context_test.go (stalled server, both methods) took 30 s and failed
before the fix.

Closes fclairamb/solidping-business#89

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… hour (fclairamb/solidping-business#88)

Every v1-signed agent request logged its own deprecation WARN
(agentauth.go verifySignature, agentws handler.go verifyReconnectSignature),
so each legacy agent polling for tasks added thousands of WARN lines a day
and drowned real warnings. A per-agent agents.DeprecationThrottle now lets
one line through per hour with a `suppressed` count, logged only once the
signature verified, and every v1 request is counted in
solidping_agent_legacy_signature_requests_total{channel}. Regression test
TestAuthenticateLegacyV1WarnThrottled logged 3 lines for 3 requests before.

Closes fclairamb/solidping-business#88

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@fclairamb fclairamb added autopilot frozen Batch PR under review: takes only its own fixes, new work goes to the next batch labels Nov 17, 2026
fclairamb and others added 2 commits November 17, 2026 14:13
…iltering (fclairamb/solidping-business#92)

With a label filter on a large org, groups without a matching check showed
loading skeletons forever: every empty bucket read as "loading" while the
stream had a next page (checks.index.tsx, isLoading={checksStreaming}), and
the skeletons pushed the infinite-scroll sentinel out of reach so no next
page was ever fetched. A group is now settled as soon as the sort=group
stream has moved past it ("No checks" instead of skeletons), and while
filtering only groups with matching loaded checks are rendered.
Guarded by src/lib/check-group-buckets.test.ts (new helpers, absent before).

Closes fclairamb/solidping-business#92

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@fclairamb fclairamb changed the title fix: WHOIS honours the check context, throttle the legacy agent signature warning fix: WHOIS honours the check context, throttled legacy agent warning, empty check groups Nov 17, 2026
@fclairamb
fclairamb merged commit 11837da into feat/todos-2026-11-17 Nov 17, 2026
3 checks passed
@fclairamb
fclairamb deleted the feat/todos-2026-11-17-2 branch November 17, 2026 19:27
fclairamb added a commit that referenced this pull request Nov 17, 2026
…acy agent warning, empty check groups (#917)

## What changed
- **Slack events**: acknowledge the event request first, then handle it
in the background on a detached context with its own 30 s timeout, so a
slow `chat.unfurl` is no longer cancelled when Slack drops the
connection. Our own timeout is logged at WARN.
- **Check form region picker**: clicking a capability badge (IPv6,
private, offline, browser…) no longer toggles the region; the tooltips
open on click/tap. A `region-name-<slug>` test id lets E2E click the
name, which still toggles.
- **Domain checker (WHOIS)** (from #919): the lookup honours the check's
context and deadline; a stalled WHOIS server no longer outlives the
check (reported as `timeout` instead of `down`).
- **Legacy v1 agent signatures** (from #919): the deprecation WARN is
throttled to once per agent per hour (with a `suppressed` count), logged
only after the signature verifies, and every v1 request is counted in
`solidping_agent_legacy_signature_requests_total{channel}`.
- **Checks page groups** (from #919): an empty group shows "No checks"
instead of loading placeholders forever, and with a label filter, groups
without any matching check are hidden.
- **CI**: the incident-publication tests' fake clocks start at
`time.Now()` instead of a fixed 2026-08-19 date, which had fallen
outside the public history window. The group-pagination E2E now expects
a filtered later-page group to stay hidden until its matches load (it
still asserts no false "No checks").

## Tests
- `server/internal/integrations/slack/events_async_test.go` (cancelled
request still unfurls)
- `web/dash0/src/components/shared/capability-badge-click.test.tsx`, new
case in `web/dash0/e2e/check-region-ipv6-capability.spec.ts`
- `web/dash0/e2e/checks-index-group-pagination.spec.ts`

Closes fclairamb/solidping-business#88
Closes fclairamb/solidping-business#89
Closes fclairamb/solidping-business#90
Closes fclairamb/solidping-business#91
Closes fclairamb/solidping-business#92

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge autopilot frozen Batch PR under review: takes only its own fixes, new work goes to the next batch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant