Repository navigation
feat: flag unreachable Slack DM contacts, filter checks by group, quieter tlsedge log - #860
Merged
Merged
Conversation
…an unhandled rejection (fclairamb/solidping-business#65) Saving a status page with a slug the server rejects (400 VALIDATION_ERROR, e.g. a UUID-shaped slug) gave no feedback: StatusPageForm.handleSubmit (web/dash0/src/components/shared/status-page-form.tsx) awaited onSubmit with no catch, so the ApiError became an unhandled rejection. The form now catches it, shows the `slug` field message under the field and toasts the error (silent on a refused demo write, which client.ts already toasts). Covers both the create and edit routes. status-page-form.test.tsx fails before the fix. Closes fclairamb/solidping-business#65 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ow (fclairamb/solidping-business#64) Switching the dashboard header to 7 days or 30 days changed the availability tile and banner but the "Checks at a glance" strips kept showing the last 24 hourly cells: dashboard-page.tsx hard-coded UPTIME_HOURS = 24 and a 3600 s bucket. The strips now use glanceStripWindow() (24h: 24 x 1 h, 7d: 28 x 6 h, 30d: 30 x 1 day, aligned like the server's cells), and the cell tooltips show the date for wider cells. glance-strip-window.test.ts guards the geometry. Closes fclairamb/solidping-business#64 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ping-business#68) The Recent Results card on a check page could only be filtered by region, so finding the one failed run among dozens of successes meant scrolling. A "Failures" toggle next to the region chips now lists only failed runs, via the results endpoint's existing `status=down` filter (down, timeout, error). The choice lives in the URL (`resultStatus=down`) like the region, and an empty filtered table says no run failed. useResults gained the `status` option; hooks.results-status.test.tsx fails before the change. Closes fclairamb/solidping-business#68 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…never carry (fclairamb/solidping-business#63) An operator with a WhatsApp contact next to a working route got a WARN "cannot be delivered over this contact type; skipping route" on every watchdog alert, right next to its "delivered" line (opsnotify/deliver.go dispatchRoute default branch). The skip is a fixed fact of the configuration, so it now logs at DEBUG; a recipient whose routes are ALL of that kind still gets the "undeliverable" WARN, which now names the skipped contact types. TestDeliverSkippedRouteNextToADeliveredOneIsNotAWarning and the tightened TestDeliverSkipsWhatsApp fail before the change. Refs fclairamb/solidping-business#63 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…sign-in Specs for fclairamb/solidping-business#63 (lease expiry under slow database round-trips stalling a remote region), #66 (demo sessions end after one hour) and #67 (Telegram as a sign-in provider). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…urable margin A remote region with slow database round-trips could outlive its check-job lease (period + 30s): a peer re-claimed the job, the check ran twice and the first worker's release failed with 'job may have been claimed by another worker' (fclairamb/solidping-business#63). - The lease is now max(scheduled_at, now) + max(period, check timeout) + margin, the clock read per row so a slow claim transaction does not eat it. The margin defaults to 30s and is set per deployment with SP_CHECKERS_LEASE_MARGIN. - New metrics by region: solidping_check_lease_held_seconds (claim to release) and solidping_check_lease_lost_total. A lost lease logs a WARN 'Check lease lost' with lease_expires_at, missed_by, period and timeout. - A claim that times out (driver i/o timeout, context deadline) is a WARN 'Claim timed out: retrying after back-off' counted under solidping_claim_jobs_result_total{outcome="timeout"}, no longer an ERROR. - Runbook and configuration docs describe the knob. Closes fclairamb/solidping-business#63 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…he fetcher Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
A rejected refresh on a demo session (server cap of one hour) now signs in again with the public demo credential and shows a toast, instead of redirecting to login?session_expired=true. Falls back to the redirect if the re-login fails. Closes fclairamb/solidping-business#66 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
GET /api/v1/auth/telegram/login redirects to oauth.telegram.org; the callback moves the fragment result into the query (hash-pinned bridge page), verifies the HMAC with the bot token, refuses an auth_date older than 5 minutes and signs in only the user who linked that Telegram account as a verified notification contact. No account is created. Off unless SP_TELEGRAM_LOGIN_ENABLED=true (the bot's domain must be set with @Botfather /setdomain first). Login audit method: telegram. Closes fclairamb/solidping-business#67 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Telegram brand icon for the provider grid (data-testid login-oauth-telegram), a Telegram label for the sessions page, and /register leaves Telegram out: it signs in linked accounts only and never creates one. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…LED) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
A demo session should not be renewed more often than any other session, so the client-side re-login on a rejected demo refresh is removed. This reverts commit c305ba1. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ls) (#849) Stacked on #848: merge it first. Races IPv6 and IPv4 in the enforcing egress dialer (second family starts after 300 ms or on first failure), so dual-stack targets with a lossy IPv6 path no longer time out. Not done (needs a spec): degraded status when only one family fails, reporting the answering family, v4/v6 sub-probes. Closes fclairamb/solidping-business#69 Co-authored-by: Claude Opus 5.5 <[email protected]>
…ck family (fclairamb/solidping-business#69) The Happy Eyeballs race (0c5ccaf) keeps a lossy IPv6 path from making a dual-stack target look down; this spec restores the lost signal as a warning. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ack family Observe each connect attempt per family (httptrace); when the first family failed, or stayed silent for 1 s, while the other connected, the HTTP and Prometheus checks return a warning with output.ip_fallback and a message. A failure keeps its status; a pinned family never warns. Shown in the dashboard (result-ip-fallback) and documented. Closes fclairamb/solidping-business#69 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… config paths Remove an unreachable nil check in ReverseIPv6. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
It dials the url of the request body and runs no query, so the sweep only measured the network wait. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…behind The old version claims check jobs ahead of their slot and does not release those leases on SIGTERM, so the recorded check can stay leased by the dead worker until scheduled_at + period + 30s (~150s after its last result) before HEAD may run it. The 90s window raced that lease; once acme.com started hanging (2026-11-12) the timing shifted and every leg failed, on main too. Same assertion, same check: only the window grows to 180s. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…olidping-business#71) Every TLS handshake for a host the instance does not own logged a WARN, and nearly all of them come from internet scanners probing the node IP with random SNI names, so the line grew with the scanning rate and drowned real warnings (server/internal/tlsedge/edge.go:457). It is now DEBUG; the WARN for a demoted host served from its stored certificate stays. TestRefusedUnknownHostLogsAtDebug fails before the fix. Refs fclairamb/solidping-business#71
…/solidping-business#71) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…business#72) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Closes fclairamb/solidping-business#71 Typed Slack APIError, delivery_failed_at/delivery_failure_code on user_contacts (migration 034), quieter repeat logging, API fields and a dash0 warning badge. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #860 +/- ##
==========================================
+ Coverage 89.90% 89.93% +0.02%
==========================================
Files 1360 1360
Lines 139969 140031 +62
==========================================
+ Hits 125843 125934 +91
+ Misses 14117 14088 -29
Partials 9 9
🚀 New features to boost your workflow:
|
Adds ?group=<slug|none>, a Group facet and a clickable group header name. Combines (AND) with the other filters; unknown slug shows an empty state. Closes fclairamb/solidping-business#72 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Strengthen the status+group e2e test: seeds a down check in the group, an up check in it and a down check outside, and asserts only the first is shown. A groups-query error renders QueryErrorView before the unknown-group state, so no change was needed there. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Merged
fclairamb
added a commit
that referenced
this pull request
Nov 12, 2026
🤖 I have created a release *beep* *boop* --- ## [0.49.0](v0.48.0...v0.49.0) (2026-11-12) ### Features * **checks:** email check validates SPF/DKIM/DMARC and blocklists ([#854](#854)) ([25673c7](25673c7)) * flag unreachable Slack DM contacts, filter checks by group, quieter tlsedge log ([#860](#860)) ([8c8cda0](8c8cda0)) ### Bug Fixes * **deps:** update module github.com/prometheus/common to v0.74.0 ([#856](#856)) ([6659341](6659341)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
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.
What changed
channel_not_found,user_not_found…) are flagged (migration 034, APIdeliveryFailedAt/deliveryFailureCode, badge in the account notifications page); repeat failures log at DEBUG, success or re-link clears the flag. The route stays enabled.?group=<slug|none>, facet, click on a group name), combined with the other filters.Closes fclairamb/solidping-business#71
Closes fclairamb/solidping-business#72
Operator action: the Postgres migration 034 runs at the next release (additive nullable columns).
Decided by autopilot
🤖 Generated with Claude Code