Repository navigation
fix(native): clear range anchor on explicit project scope changes - #334
Conversation
|
Independent exact-head source/context review approved Required native gates remain in progress. Theme, intake, conformance and diff checks passed; core/client tests are still running. |
|
Matched-head merged as |
|
Finite #331 accepted after independent fresh merged final review. PR #334 matched candidate Tests first: intended actual anchor RED Updated candidate passed 1,356 core/client tests, strict Clippy, normal/snapshot builds, theme/intake/conformance/diff and compiler-selected core7/native7 controls. Independent exact-head/final source reviews Independent fresh merged final SB-SELECT remains partial; sidebar stays 9/16. #335 owns coherent removal/reveal lifecycle. Action-specific bulk policy and integrated keyboard/menu/focus proof remain. |
Problem
Changing the scoped project filter clears selected rows but keeps the previous range anchor. A later Shift selection can still refer to that old scope. The web setter clears both.
Fix
Clear the scoped anchor alongside the explicit setter's existing scoped-selection clear. Keep preference saving, model rebuild and Shell notification unchanged. Route reveal, selected-key removal, bulk-action subsets and local selection are separate paths.
The existing test calls the real preference writer. Declare that mixed-I/O test boundary and finish prior writer submissions before teardown using the existing FIFO completion barrier. Production persistence and every selection assertion stay unchanged.
Closes #331. Parent #242. SB-SELECT stays partial, sidebar 9/16.
Verification
8e912523.43c6273f/ea868b6dretained.25b2e49f, independent review23fd6cb4; whole case passed including original controls and writer completion (b2e4f861). This explicitly allows real I/O; it is not a deterministic-scheduling or global-quiescence claim. The original no-RPC assertion precedes the terminal cleanup.5fe489804271a4c4d79eabdc6fe51ba9dc52f050, tree27b401621cfa5e7bb723a3c82bd47d632c74f90c: exact-head source/context review8ca6485a; all 1,356 core/client tests, strict workspace/all-target Clippy, normal and snapshot builds, theme/intake/conformance/diff passed. Compiler-selected core7/native7 controls each passed once, with fresh distinct owned homes for native runs.7060b3d610dd61a12066892709690b674521d9fawith the exact reviewed tree. Fresh merged snapshot and compiler-selected core7/native7 controls all passed. Independent finalc43c72b85abdfaefd1fe017ed40e6dde58f55de3d0c8dae9d87cadcab08ddc53verified CURRENT/PRESENT artifacts, source572, ledger and git cleanliness before further builds. Finite fix(native): clear selection anchor on explicit project scope changes #331 is accepted; whole SB-SELECT remains partial.vp run check:changedfails before checks at desktopUserTaskDefinitiontask-config bootstrap: NOT GREEN. No install or unrelated repair. The approved formatting exception remains separate.Model and harness: Prime Agent; independent Sol/Codex review.