Repository navigation
fix(dash0): wait for the dismissal PUT before reloading in the checklist e2e - #604
Merged
Merged
Conversation
…ist e2e The card hides from local state on click, so its absence does not prove the ui-state write landed. The test reloaded straight away and could abort the PUT. On SQLite the race reproduced 1 in 5 runs. Co-Authored-By: Claude Haiku 5.5 <[email protected]>
…s before the dismissal PUT lands Co-Authored-By: Claude Haiku 5.5 <[email protected]>
… before the dismissal PUT lands Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #604 +/- ##
==========================================
- Coverage 83.36% 83.36% -0.01%
==========================================
Files 1238 1238
Lines 127020 127020
==========================================
- Hits 105891 105890 -1
- Misses 21120 21121 +1
Partials 9 9 🚀 New features to boost your workflow:
|
Merged
fclairamb
added a commit
that referenced
this pull request
Oct 18, 2026
🤖 I have created a release *beep* *boop* --- ## [0.40.0](v0.39.0...v0.40.0) (2026-10-18) ### Features * **dash0:** tonal gradients between the flat and the shiny look ([#603](#603)) ([741d8d7](741d8d7)) * **docs:** redesign the docs site after www.solidping.io ([#599](#599)) ([660deb7](660deb7)) ### Bug Fixes * **dash0:** put the invite button in the organization header ([#601](#601)) ([fb0e5bf](fb0e5bf)) * **dash0:** wait for the dismissal PUT before reloading in the checklist e2e ([#604](#604)) ([10e8b4e](10e8b4e)) --- 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.
The onboarding-checklist test "dismissing survives a full reload, follows the user to another browser session, and is undone from the account page" was racy.
The card hides from local state, then the
PUT /api/v1/me/ui-state/<key>goes out asynchronously. The test asserted the card was gone and reloaded at once. If the PUT had not landed, the reload aborted it and the card came back ("Expected: 0, Received: 1"). Seen on a SQLite side-car (serialized writes). Postgres CI usually wins the race.The test now waits for the PUT response before reloading. Test-only change, the component is untouched (reloading within a few ms of dismissing is not a product bug). The account-page restore already waits for its DELETE before the toast, so it needed nothing.
Verification on a SQLite side-car:
--repeat-each=5 --workers=2 --retries=0failed once at the reload assertion.make build-backend lint-back test,lint:e2e,typecheck:e2egreen, full Playwright suite on Postgres green after embedding status0 (a side-car build issue, not a test failure). After merging main, only lint and typecheck were re-run.🤖 Generated with Claude Code