Repository navigation
Conversation
ymichael
force-pushed
the
bb/fixer-give-notification-producers-one-recording-thr_b3tptcu52u
branch
from
September 4, 2026 19:09
f63855e to
b1bd0ef
Compare
ymichael
deleted the
bb/fixer-give-notification-producers-one-recording-thr_b3tptcu52u
branch
September 4, 2026 19:13
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.
Human comments
What was wrong
The global React Query mutation handler already owned generic error toasts when PR #1582 added marketplace and plugin mutations with their own specific
onErrortoasts but no global-handler opt-out. One failed action therefore had two toast owners; PR #2882 made both alerts durable in notification history and separately missed a raw Sonner toast in the sidebar plugin-crash fallback.What changed
All 12 current first-party mutations with bespoke local error toasts now opt out of the global mutation error toast, establishing one error-toast owner per mutation without content-deduplicating distinct events.
SidebarNavigationRegionnow routes its plugin-crash alert through the recordedappToasthelper. Focused regression coverage verifies that a failed plugin update and a failed marketplace action each retain one alert, and that the sidebar crash alert is retained. There are no wire, CLI, guide, or documentation contract changes.How you verified
The new plugin-update assertion failed before the fix with two retained notifications and passed after the fix with one contextual notification. The rebased focused suite passed 16/16 tests with
pnpm exec turbo run test --filter=@bb/app --force -- --run src/components/plugin/management/UpdatePluginDialog.test.tsx src/components/settings/MarketplacesSettingsSection.test.tsx src/components/sidebar/SidebarNavigationRegion.test.tsx.pnpm exec turbo run typecheck --filter=@bb/app --forcealso passed. Earlier DevBrowser verification reproduced the marketplace flow changing from two visible/two retained alerts to one visible/one retained alert, and the sidebar crash from zero retained alerts to one.Fixes: no issue — post-merge follow-up