Skip to content

fix: multi-word check search, webhook retry classification, iOS session diagnostics - #990

Merged
fclairamb merged 17 commits into
mainfrom
feat/todos-2026-11-23
Nov 23, 2026
Merged

fclairamb merged 17 commits into
mainfrom
feat/todos-2026-11-23

Conversation

@fclairamb

@fclairamb fclairamb commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

What changed

  • Checks search (solidping-business#105): every word of a multi-word query must now match the name or the slug (ts- ssh finds ts-ssh-…); % and _ typed in a search are matched literally.
  • Escalation policy editor (fix(deps): update module github.com/ohler55/ojg to v1.28.2 #107, finding 1): the step target Select stays controlled, no more React "uncontrolled to controlled" warning.
  • Webhook deliveries (chore(ci): fix flaky live-updates E2E test (heartbeat check thundering-herd) #106): the HTTP status is classified. 4xx (and 3xx) are permanent failures, logged at WARN instead of ERROR; 5xx, 429 and 408 are retried up to MaxRetryCount, honouring Retry-After (seconds or date, capped at 15 min). The Job failed log line carries status_code. A notification webhook keeps the same webhook-id (the root job UID) across its retries, so receivers can deduplicate.
  • iOS Safari session loss (fix(deps): update module github.com/ohler55/ojg to v1.28.2 #107, finding 2): not reproduced under Playwright WebKit iPhone emulation, so only diagnostics ship: PostHog events session_missing_on_load (booleans only, never token values), session_cleared (with the reason, plus a solidping_session_cleared localStorage marker read on the next load) and session_persist_failed; events fired before PostHog loads are queued (max 10). The fix comes once production events point at the cause.

Breaking (internal): jobsvc.Service.RetryJob takes an after time.Duration; clearToken(reason) now requires a reason.

Decided by autopilot

  • webhook-status-retry-classification, "same webhook-id across retries?": yes, the root job UID.
  • webhook-status-retry-classification, "surface repeated failures as integration health?": out of scope.
  • ios-safari-session-lost, "ship the instrumentation first if not reproduced?": yes, instrumentation only.
  • ios-safari-session-lost, "drop stackless Script error. events?": not yet, only once the events show they don't precede the sign-out.

Closes fclairamb/solidping-business#105
Closes fclairamb/solidping-business#106
Closes fclairamb/solidping-business#107

🤖 Generated with Claude Code

fclairamb and others added 4 commits November 23, 2026 09:29
…/solidping-business#105)

Searching the checks list for two words ("ts- ssh") looked for the whole
string as one substring, so it found nothing. ListChecks (postgres.go and
sqlite.go) now splits the query on whitespace and requires every word to
match the name or the slug (AND), with LIKE wildcards escaped. The new
cases in ListWithSearch (service_test.go) fail before the fix.

Closes fclairamb/solidping-business#105

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…lidping-business#107)

Picking a target on a new escalation step made React warn "Select is
changing from uncontrolled to controlled": step-target-row.tsx passed
`value || undefined` to the schedule, user and connection Selects, so an
empty target started uncontrolled. They now pass the string as is ("" shows
the placeholder). step-target-row.test.tsx fails before the fix.

Refs fclairamb/solidping-business#107 (part 1; part 2 is specced)

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 23, 2026
fclairamb and others added 7 commits November 23, 2026 09:33
…errors

4xx are permanent (WARN), 408/429/5xx are retried, Retry-After lengthens the
backoff (capped at 15 min), status_code is on the Job failed log line, and
retried notification webhooks keep the root job UID as webhook-id.

Closes fclairamb/solidping-business#106

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…siness#107)

iOS Safari users land back on the default org's login page, signed out,
shortly after signing in. To tell the candidate causes apart in production:

- session_missing_on_load, once per page load, when RootRedirect or the org
  login page finds no session: which keys are present (token, refresh, org,
  booleans only), whether storage is available and writable, the last
  clearToken reason and its age, the referrer origin, window.opener and
  standalone mode.
- session_cleared with the caller's reason on every clearToken (now a
  required argument), plus a marker in localStorage that the next load
  reads; setSession drops it.
- session_persist_failed when a localStorage write throws in setSession
  (the error is still rethrown).
- captureEventQueued holds events fired before posthog-js is loaded and
  replays them after init (dropped when analytics is off).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@fclairamb fclairamb removed the frozen Batch PR under review: takes only its own fixes, new work goes to the next batch label Nov 23, 2026
@codecov

codecov Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.59155% with 1 line in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@bbdc2a6). Learn more about missing BASE report.

Files with missing lines Patch % Lines
server/internal/jobs/jobdef/errors.go 96.66% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #990   +/-   ##
=======================================
  Coverage        ?   90.97%           
=======================================
  Files           ?     1409           
  Lines           ?   146000           
  Branches        ?        0           
=======================================
  Hits            ?   132820           
  Misses          ?    13172           
  Partials        ?        8           
Files with missing lines Coverage Δ
server/internal/db/postgres/postgres.go 95.21% <100.00%> (ø)
server/internal/db/sqlite/sqlite.go 96.80% <100.00%> (ø)
server/internal/handlers/integrations/service.go 89.38% <100.00%> (ø)
server/internal/jobs/jobsvc/service.go 90.57% <100.00%> (ø)
server/internal/jobs/jobtypes/job_notification.go 98.07% <100.00%> (ø)
server/internal/jobs/jobtypes/job_webhook.go 93.87% <100.00%> (ø)
server/internal/jobs/jobworker/worker.go 79.93% <100.00%> (ø)
server/internal/mcp/tools_checks.go 97.81% <100.00%> (ø)
server/internal/notifications/webhook.go 91.75% <100.00%> (ø)
server/internal/jobs/jobdef/errors.go 97.50% <96.66%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

fclairamb and others added 4 commits November 23, 2026 09:55
…clairamb/solidping-business#107)

WebKit + iPhone 13 emulation (Playwright webkit 26.5, local debug spec, not
committed) did not reproduce the iOS sign-out: tokens and org survived a
reload, /d/ and /d/login, back/forward and a 130 s wait. Per the spec's
resolved question, the instrumentation ships alone and the diagnosis is
reopened with the production events.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ult org login page, signed out, shortly after signing in

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@fclairamb fclairamb changed the title fix: multi-word check search, webhook retry classification, escalation Select fix: multi-word check search, webhook retry classification, iOS session diagnostics Nov 23, 2026
@fclairamb fclairamb added implemented Every spec of the PR is implemented and its batch gate was green frozen Batch PR under review: takes only its own fixes, new work goes to the next batch labels Nov 23, 2026
Comment thread web/dash0/src/api/client.ts Dismissed
Comment thread web/dash0/src/api/client.ts Dismissed
Comment thread web/dash0/src/api/client.ts Dismissed
@fclairamb

Copy link
Copy Markdown
Owner Author

autopilot: the 3 CodeQL alerts (#136-#138, clear-text storage in setSession) are the known localStorage-by-design case: dismissed as false positives, threads replied and resolved, noted under Decided by autopilot. No code change.

Stacked on #990: merge it first.

Closes fclairamb/solidping-business#108

## Summary
- `dnsbl`: when no zone lists the target but at least one blocklist
answers with a `127.255.255.x` refusal code (Spamhaus: public resolver
refused, rate limit, malformed query), the check is now **Warning**
(rolled up as Degraded) instead of Timeout/Up.
- The output gets a `message` per refused zone: code, meaning, fix
(private resolver via `nameserver`, or a Spamhaus DQS key).
- Docs: DNSBL section of `web/docs/docs/features/check-types.md`
explains the degraded state.
- Table tests cover Spamhaus-only `.254`, refused + clean, refused +
timeout, listed anywhere.

## Decided by autopilot
- fclairamb/solidping-business#108, open question (plain
timeout/SERVFAIL zones): unchanged. Every zone plainly inconclusive
stays Timeout; a single `127.255.255.x` refusal is enough for Warning,
even next to timed-out zones; a listing anywhere stays Down.

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

Co-authored-by: Claude Opus 5.5 <[email protected]>
@fclairamb
fclairamb enabled auto-merge (squash) November 23, 2026 13:10
@fclairamb
fclairamb merged commit 8d26677 into main Nov 23, 2026
37 checks passed
@fclairamb
fclairamb deleted the feat/todos-2026-11-23 branch November 23, 2026 13:27
fclairamb added a commit that referenced this pull request Nov 23, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.54.1](v0.54.0...v0.54.1)
(2026-11-23)


### Bug Fixes

* multi-word check search, webhook retry classification, iOS session
diagnostics ([#990](#990))
([8d26677](8d26677))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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 implemented Every spec of the PR is implemented and its batch gate was green

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants