Repository navigation
Refresh active thread lists after read-state events - #5403
Merged
Merged
Conversation
rchen-cape
added a commit
to rchen-cape/bb
that referenced
this pull request
Oct 13, 2026
The awaiting-reply-changed realtime entry still referenced markThreadListQueriesStale, which upstream get-bb#5403 removed. The merge applied cleanly, so the app bundle threw a ReferenceError on load and rendered nothing. Route it through dirtyActiveThreadListQueries like read-state-changed. Co-Authored-By: Claude Opus 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.
🚨 SLOP COP 🚨 ·
new-issue-autopilotHuman comments
What was wrong
Read-state events reached the app cache owner, but it invalidated observed sidebar and thread-list queries with refetching disabled and did not patch cached timestamps. Observers continued rendering the previous read state. The reproduction fails twice on trusted main in separate clean clones.
Report: https://get-bb.github.io/reports/issues/5399.html
What changed
How you verified
406c009502ad0f961fc6ce9c75c1d262cb3e3e7c: observedlastReadAtremains200instead of changing to0(two metadata cases).pnpm exec turbo run test --filter=@bb/app -- src/hooks/realtime-cache-effects.test.ts src/hooks/realtime-cache-effects.coarse-pointer.test.ts src/hooks/cache-owners src/hooks/queries/thread-queries.test.tsx src/hooks/queries/query-helpers.test.tspnpm exec turbo run lint typecheck --filter=@bb/apppasses. Both baseline and fixed lint report 248 warnings and zero errors.git diff --checkpasses;git diff --numstat origin/mainreports only text changes within the simple-fix limits.Fixes #5399