Skip to content

Fix optimistic thread read state - #204

Merged
ymichael merged 1 commit into
mainfrom
bb/thread-read-state-issue-thr_9qwxvjzws8
Jun 17, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/thread-read-state-issue-thr_9qwxvjzws8

Conversation

@ymichael

Copy link
Copy Markdown
Collaborator

Summary

  • optimistically update thread read state across detail, list, and sidebar navigation caches
  • roll back optimistic read/unread updates on mutation failure
  • add a regression test covering the cache update and rollback path

Validation

  • pnpm exec turbo run typecheck --filter=@bb/app
  • pnpm exec turbo run test --filter=@bb/app -- src/hooks/cache-owners/thread-state-cache-owner.test.ts
  • pnpm exec turbo run lint --filter=@bb/app
  • git diff --check

@ymichael
ymichael merged commit 6683dd7 into main Jun 17, 2026
6 checks passed
@ymichael
ymichael deleted the bb/thread-read-state-issue-thr_9qwxvjzws8 branch June 17, 2026 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant