Skip to content

Guard absent preference entries during client synchronization - #3630

Merged
SawyerHood merged 1 commit into
mainfrom
slopcop/issue-3629
Sep 14, 2026
Merged

SawyerHood merged 1 commit into
mainfrom
slopcop/issue-3629

Conversation

@bb-slop-cop

@bb-slop-cop bb-slop-cop Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

🚨 SLOP COP 🚨 · new-issue-autopilot

Human comments

What was wrong

Preference synchronization dereferenced absent list entries during reconciliation, write preparation, and acknowledged-write cache merging. An incomplete response could throw instead of retaining local state. Verified reproduction report.

What changed

Guard absent entries during reconciliation and writes, preserving local values without inventing a server revision. Allow an acknowledged write to fill an absent cache entry while retaining newer-revision protection. Changes stay within client preference synchronization: 67 changed text lines (66 additions, 1 deletion), two files.

How you verified

Three authored regressions failed against unchanged origin/main in two clean checkouts; all 22 focused tests passed after the fix. pnpm exec turbo run test typecheck --filter=@bb/app passed: 528 test files, 4,599 tests passed, three skipped, and both app TypeScript programs passed. git diff --check passed. No live desktop verification is claimed.

Fixes #3629

AGENT GENERATED

@SawyerHood
SawyerHood merged commit d86a5ee into main Sep 14, 2026
16 checks passed
@SawyerHood
SawyerHood deleted the slopcop/issue-3629 branch September 14, 2026 18:21
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.

UI preferences sync crashes when list response omits an entry

1 participant