Repository navigation
fix: batch-gate fixes for check worker wake-up, disable toggle, ui-state order and E2E races - #885
Merged
Merged
Conversation
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]>
No CHANGELOG edit: release-please owns it. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…cks, time to acknowledge, time to resolve Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…port Reuses incidentinsights.Compute on the report window's incidents, restricted to the schedule's checks. CHANGELOG is release-please's.
…cks to the scheduled uptime report
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…tch gate) Button asChild merges its props into the Link, whose own data-testid won, so incidents-insights-button never existed in the DOM. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… gate) The Discord notifications negative-control test ends while the stubbed route.fetch() is pending, so the disposed response failed the test on its first attempt and passed on retry. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ing the period Adds ListIncidentsFilter.ActiveSince (resolved_at IS NULL OR resolved_at >= value), used with Until by the insights page and the report's insights figures, so an outage that began before the window and is still open (or resolved inside it) is counted. The report's downtime and incident-count figures are unchanged. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…pe, real endpoint 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]>
…changes Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Stacked on #862: merge it first. Editing an email check dropped its config from the save request, so the sender authentication options (SPF, DKIM, DMARC, blocklists) were never saved. Email checks now send their config; heartbeat and private-location are unchanged. Browser e2e test added. Closes fclairamb/solidping-business#73 ## Decided by autopilot None. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
…llows i18n (#866) Stacked on #862: merge it first. Closes fclairamb/solidping-business#74 Closes fclairamb/solidping-business#75 - sftp checker: close connection when context expires; context errors map to timeout - browser checker: detached page logged as INFO with clear diagnostics - dashboard: `<html lang>` follows displayed language (fixes browser auto-translate crash) 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
A release tag enters the upgrade matrix the moment it is pushed, but its image is published by the tag's own CI about 20 minutes later. A pull request whose CI started in between failed every leg from that tag on 'not found' (both v0.49.1 legs on this branch). upgrade-test.sh now pulls the old image first and retries for IMAGE_WAIT seconds (default 0, so a local run still fails at once). CI sets 1500 and the job timeout goes from 10 to 35 minutes to leave room for it. Co-Authored-By: Claude Fable 5.2 <[email protected]>
…eat/todos-2026-11-13
Conflicts in the email check edit fix: this branch carried the fix from PR 864 and main got the same fix in PR 868, with one more server test, a DMARC assertion and the turn-off path in the Playwright test. - check-form.tsx: the code change was identical on both sides, main's comment kept. - email-check-sender-auth.spec.ts: main's test kept, it covers everything the branch's test asserted. Co-Authored-By: Claude Fable 5.2 <[email protected]>
# Conflicts: # web/dash0/e2e/email-check-sender-auth.spec.ts # web/dash0/src/components/shared/check-form.tsx
…eat/todos-2026-11-13
A burst of SP_SMS_ALLOWED_COUNTRIES refusals (3 within 10 minutes) from one organization flags it for an hour: one sms.destination_probing operator notice (subscribable, localized), an aggregate ERROR log, and a flag the verification flow uses to block sends. Individual refusals drop to WARN and log destinationPrefix instead of the misleading countryCode attribute. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…lagged orgs VerifyContact now refuses, with the usual rate-limited error, a new destination past 5 distinct ones per organization per hour (2 when the requesting account is younger than 24 h), and every send of an organization flagged for destination probing for one hour. Re-sending to a counted destination does not use a slot. Closes fclairamb/solidping-business#79 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…f destinations: no cross-contact throttle, no ops alert on repeated allow-list refusals Co-Authored-By: Claude Opus 5.5 <[email protected]>
Right after a slug rename the owner's tab still shows the old slug while it adopts the re-minted session, and OrgLayout's guard asked to switch to it. switch-org answered 401 (org not found), the client's refresh-and-retry got a second 401 and handleResponse sent the owner to login?session_expired=true. Refs fclairamb/solidping-business#81 Co-Authored-By: Claude Opus 5.5 <[email protected]>
adoptRenamedOrgSession now counts as an org switch in flight until the navigation to the new slug is done, so OrgLayout no longer POSTs switch-org for the old slug from the URL it is leaving. It cancels the old slug's queries before the swap, renames the switcher entry in place and drops the old slug's cache after navigating. A session epoch (bumped whenever the refresh token is replaced or cleared) lets a refresh that spent the previous refresh token drop its result instead of overwriting the new session or escalating its 401, and handleResponse no longer clears the session on a 401 for a request sent with a token that is no longer the stored one (SESSION_CHANGED). Refs fclairamb/solidping-business#81 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…light Reproduced on the pre-fix build: two POST /auth/switch-org 401s for the old slug, then login?session_expired=true on the new slug, as in the report. Refs fclairamb/solidping-business#81 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…the owner out Closes fclairamb/solidping-business#81 Co-Authored-By: Claude Opus 5.5 <[email protected]>
The first claim could run before any runner was counted and was skipped, leaving freed leases waiting for the one-minute fallback poll.
…ate) The no-data tooltip check failed about 1 run in 10 under parallel load. A hovered cell grows (hover:scale-y-125). With the strip at the bottom edge of the viewport, the second hover() on cell 5 scrolled the page first. The scroll moved the cell out from under the pointer, and Radix closes an open tooltip on scroll. Whether the tooltip stayed open then depended on whether the scroll event landed before or after the reopening pointermove. A pointer-event trace confirmed this. The test now scrolls the strip to the centre of the viewport before hovering, and hovers the no-data cell once. The assertions are unchanged. 40/40 passed with --repeat-each=10 --retries=0 (4 workers, then the default count), against 2/24 failed before. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…h gate) check-disable-resolve-incidents.spec.ts was flaky in the full Playwright run because of a product race. A click on "Disable" before the check's active-incidents query had loaded counted zero open incidents. The check was then disabled at once, with no offer to resolve its incident, and the incident was left open forever. The failure snapshot showed the check disabled and no dialog. The toggle now stays disabled while the active-incidents query is on its first load for an enabled check. A failed fetch ends the loading state, and the plain disable is used. New E2E test: it holds the incidents response, checks the toggle is disabled, then releases the response and expects the dialog. 50/50 passed with --repeat-each=10 --retries=0 (this file plus the strip spec). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…batch gate) check-chart-point-preview.spec.ts:161 failed about 1 run in 15 under parallel load. Two blocks above the chart change height after the page loads. The publication hint appears when its status-page lookup returns (+82 px), and the pending-first-run line becomes the last-check line when the worker's first result lands (-28 px). A pointer-event trace showed two failure modes. Playwright clicked where the dot used to be (the card header). Or the click landed on the dot just after the shift, before recharts had taken the mousemove at the new position, so the chart click found no active point. Either way the pinned box never opened. Every test in the file now waits for both blocks to reach their final state before touching the chart. The assertions are unchanged. 45/45 passed with --repeat-each=15 --retries=0 --workers=4. Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-star.spec.ts "Not now is final, on every device" failed in the
full Playwright run: a second browser context still saw the prompt after
the user dismissed it. The prompt writes {shownAt} when it appears and
{shownAt, outcome} when it is dismissed. Both are whole-entry PUTs, and
react-query ran them in parallel. When the dismissal overtook the "shown"
write, or was cancelled by a navigation while the other one completed,
the stored entry lost its outcome, so the prompt came back on the user's
other devices.
useSetUiState now uses a mutation scope per key, so writes to one key run
one at a time, in call order. Writes to different keys still run in
parallel. The unit test (hooks.ui-state-order.test.tsx) fails without the
scope. The E2E test now waits for the dismissal's own PUT, not the first
PUT it sees.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
org-profile.spec.ts:148 failed in the full run with authFailures equal to ["PATCH /api/v1/auth/me"]. The route that forces one 401 on /auth/me matched any method. Sometimes the page's own first-visit preference sync (PATCH /auth/me) arrived after the route was armed, and it took the 401 meant for the upload's refreshUser GET. The forced 401 now applies to GET only, which is the request the test describes. The assertion is unchanged. Together with github-star.spec.ts: 140/140 passed with --repeat-each=10 --retries=0. Co-Authored-By: Claude Opus 5.5 <[email protected]>
org-profile.spec.ts:381 failed in the full Playwright run: after "Use an external URL instead", the "Uploaded file" badge came back. The upload's background /auth/me refresh can land after that click. It changes the organization identity, and the render-time re-sync, guarded only by logoUrlTouched, which the click leaves false, switched the view back to the badge, under the user's cursor. A new logoUrlFieldChosen flag records the choice. The non-forced re-sync then keeps the view and the empty draft. Unlike logoUrlTouched, it does not send the empty field on submit, so saving without typing a URL still keeps the uploaded logo. A forced sync (save, upload, clear) resets it. The unit test (org-profile-card.test.tsx) fails without the flag. org-profile.spec.ts: 80/80 passed with --repeat-each=10 --retries=0 --workers=4. Co-Authored-By: Claude Opus 5.5 <[email protected]>
make lint-back test: exit 0 (golangci-lint 0 issues; 284 packages ok, 0 FAIL). dash0: test:unit 2925/0, lint:e2e exit 0, typecheck:e2e exit 0. Full Playwright suite on a two-server side-car (own Postgres, CI=true): exit 0, 1037 passed, 0 failed, 0 flaky, 15 skipped. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…1-15 # Conflicts: # web/dash0/e2e/org-profile.spec.ts
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #885 +/- ##
=======================================
Coverage ? 90.73%
=======================================
Files ? 1370
Lines ? 140840
Branches ? 0
=======================================
Hits ? 127793
Misses ? 13038
Partials ? 9
🚀 New features to boost your workflow:
|
fclairamb
enabled auto-merge (squash)
November 15, 2026 13:10
Merged
fclairamb
added a commit
that referenced
this pull request
Nov 15, 2026
🤖 I have created a release *beep* *boop* --- ## [0.50.0](v0.49.3...v0.50.0) (2026-11-15) ### Features * incident insights page and uptime report insights ([#862](#862)) ([e0f9b6a](e0f9b6a)) ### Bug Fixes * batch-gate fixes for check worker wake-up, disable toggle, ui-state order and E2E races ([#885](#885)) ([829f43b](829f43b)) * **deps:** update module github.com/slack-go/slack to v0.36.0 ([#878](#878)) ([a50d878](a50d878)) * free a restarted worker's check leases, quieter status page logs, phone checks menu ([#879](#879)) ([5543a4c](5543a4c)) * **security:** redirect header policy, deleted-org email checks, tokens out of the session replay ([#880](#880)) ([cc8d0a5](cc8d0a5)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: Claude Sonnet 5.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.
Batch-gate fixes found after #883 (SMS destination probing throttle, org slug rename session) had already been merged to main through #879. Both specs are on main; these commits are not.
What changed
TestRestartedWorkerReclaimsItsOwnLeases).check-disable-resolve-incidents.spec.ts./auth/merefresh no longer switches the logo field back to "Uploaded file". New unit test.GET /auth/meonly.Gate
make lint-back testexit 0 (284 packages, 0 lint issues); dash0typecheck:e2e,lint:e2e,test:unit(2925) exit 0; full Playwright suite 1037/0/15, 0 flaky.🤖 Generated with Claude Code