Repository navigation
Conversation
|
bot: Fixed failing checks in 612b25e. |
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Executive SummaryThe change cleanly extracts the repo-selection sender map into its own module and wires its clear into Files Reviewed (3 files)
Previous Review Summaries (2 snapshots, latest commit 698221a)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 698221a)Status: No Issues Found | Recommendation: Merge Executive SummaryThe branch is now correctly scoped: the unrelated revert of Files Reviewed (6 files)
Previous review (commit 612b25e)Status: 2 Issues Found | Recommendation: Address before merge Executive SummaryThe intended repo-selection fix is correct, but the PR branch is not based on current Overview
Issue Details (click to expand)CRITICAL
Scope problemGitHub reports
Recommendation: rebase or recreate Files Reviewed (6 files)
Reviewed by deepseek-v4.1-flash · Input: 0 · Output: 0 · Cached: 0 Review guidance: REVIEW.md from base branch |
698221a to
2cb2237
Compare
…de-reviewer-134c12a82d
|
bot: Fixed failing checks in b0b6fb8. |
Changelog for users
Changelog for maintainers
E2E proof
Published PR head:
2cb22371b3e1105ea240d3914e77066883325e94(same tree as proved source29bf48c768b59a8ead88ff4a6703c2500a384a3c).The module-level repository-selection sender map is keyed only by scope:platform and is never cleared on sign-out or a direct account switch, so a pending personal-scope toggle (or the serverSelection baseline) left by account A survives into account B on the same device and is re-applied and sent under B's credentials, rewriting B's selected repositories.
Code trace:
apps/mobile/src/lib/hooks/use-code-reviewer-repo-selection.ts:4 changed in 29bf48c768b59a8ead88ff4a6703c2500a384a3c. Sense check (model): clearSessionScopedState now calls runClear(clearRepoSelectionSenders), and the new repo-selection-senders module's clearRepoSelectionSenders clears timers and the scope:platform map at every account boundary, so account A's pending toggle/serverSelection cannot survive into account B.Changed lines
Owner request
The module-level repository-selection sender map is keyed only by scope:platform and is never cleared on sign-out or a direct account switch, so a pending personal-scope toggle (or the serverSelection
Asserted value:
apps/mobile/src/lib/hooks/use-code-reviewer-repo-selection.ts. Sense check (model): session-scoped-state.ts adds runClear(clearRepoSelectionSenders) to clearSessionScopedState, and the new repo-selection-senders.ts exports the shared map plus clearRepoSelectionSenders, so the sender map and its serverSelection baseline are cleared at the account boundary.The scripts were proven on an earlier base, so only the head ran.
Head log: backend-assert 615e7c5b992e exited 0