You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(native): clear selection anchor on explicit project scope changes #331
The explicit scoped-project filter setter clears selected threads but leaves the old scoped range anchor. The current web setter calls clearSelection, which clears both.
Finite scope
Extend the existing safe actual scoped keyboard/Undo case after its original controls. Establish one selected key and anchor through the real modifier click. Call the real set_scoped_project_scope with a current nonempty group. Assert selection and anchor clear without navigation or RPCs. Reproduce the intended stale-anchor failure first, then change only the explicit setter cleanup.
Keep route-reveal cleanup, selected-key removal, action-specific bulk behavior and integrated entry-point proof separate. Preserve local selection behavior, grouping, Undo and existing owner/grant boundaries. No new public test helpers, Input/Root/native bridge operations, constants or server changes.
The tests-first #331 case reproduced the intended stale-anchor defect at thread_menu_tests.rs:907. Exactly one test failed (124 filtered) after all original normal/folder gesture, Undo, keyboard and drag controls passed. The appended real modifier click established one selected key and its anchor; the actual explicit scope setter cleared the keys but left the anchor. The later route/no-RPC assertions were not reached yet. Proper compiler-selected snapshot binary, stable source/ledger hashes and a fresh empty owned home are recorded. Independent actual-failure/artifact confirmation is pending before production. Sidebar remains9/16; no constants or assertion changes.
Independent review accepted the intended #331 failure and confirmed the exact native artifact before production. The proposal changes one line in the explicit scope setter: clear its scoped anchor beside its existing scoped selected-key clear. Preference saving, rebuild, notification, local selection, route reveal and removal/action paths remain unchanged. Production source review is pending; no GREEN or whole-row credit yet. Sidebar remains9/16 and no constants change.
The unchanged full #331 selection case now passes (one pass, 124 filtered) in a fresh empty owned home. All original normal/folder gesture, Undo, keyboard and drag controls remain intact; the appended explicit-setter assertions now confirm empty keys, no anchor, unchanged route and no RPCs. The production change is the independently source-approved single anchor-clear line. Independent GREEN/artifact confirmation is pending before candidate gates. SB-SELECT remains partial and sidebar9/16. No constants or assertions changed.
Finite #331 accepted after independent fresh merged final review.
PR #334 matched candidate 5fe489804271a4c4d79eabdc6fe51ba9dc52f050 and merged as 7060b3d610dd61a12066892709690b674521d9fa, tree 27b401621cfa5e7bb723a3c82bd47d632c74f90c. The explicit scoped project setter now clears the range anchor alongside selected keys. No route-reveal, removal or action-subset behavior is included.
Tests first: intended actual anchor RED 8e912523. The first candidate's real-writer scheduler failure remains recorded as NOT GREEN (43c6273f / ea868b6d); it was not retried or merged. Corrected test source 25b2e49f explicitly allows real I/O and waits for previously queued preference writes before teardown. Original assertions and production persistence remain unchanged.
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 8ca6485a / cc061944 recorded current artifact custody before the owned-crate clean. Fresh merged snapshot plus compiler-selected core7/native7 controls each passed once with distinct initially empty native homes. Exact merged source572, ledger and git cleanliness verified.
Independent fresh merged final c43c72b85abdfaefd1fe017ed40e6dde58f55de3d0c8dae9d87cadcab08ddc53 recorded all three artifacts CURRENT/PRESENT before further builds.
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. check:changed bootstrap is NOT GREEN. No constants changed. No deterministic timing, post-drain global-wire silence, physical window/input, provider or whole-row claim.
Activity
rynfar commentedon Nov 7, 2026
The tests-first #331 case reproduced the intended stale-anchor defect at thread_menu_tests.rs:907. Exactly one test failed (124 filtered) after all original normal/folder gesture, Undo, keyboard and drag controls passed. The appended real modifier click established one selected key and its anchor; the actual explicit scope setter cleared the keys but left the anchor. The later route/no-RPC assertions were not reached yet. Proper compiler-selected snapshot binary, stable source/ledger hashes and a fresh empty owned home are recorded. Independent actual-failure/artifact confirmation is pending before production. Sidebar remains9/16; no constants or assertion changes.
rynfar commentedon Nov 7, 2026
Independent review accepted the intended #331 failure and confirmed the exact native artifact before production. The proposal changes one line in the explicit scope setter: clear its scoped anchor beside its existing scoped selected-key clear. Preference saving, rebuild, notification, local selection, route reveal and removal/action paths remain unchanged. Production source review is pending; no GREEN or whole-row credit yet. Sidebar remains9/16 and no constants change.
rynfar commentedon Nov 7, 2026
The unchanged full #331 selection case now passes (one pass, 124 filtered) in a fresh empty owned home. All original normal/folder gesture, Undo, keyboard and drag controls remain intact; the appended explicit-setter assertions now confirm empty keys, no anchor, unchanged route and no RPCs. The production change is the independently source-approved single anchor-clear line. Independent GREEN/artifact confirmation is pending before candidate gates. SB-SELECT remains partial and sidebar9/16. No constants or assertions changed.
rynfar commentedon Nov 7, 2026
Finite #331 accepted after independent fresh merged final review.
PR #334 matched candidate
5fe489804271a4c4d79eabdc6fe51ba9dc52f050and merged as7060b3d610dd61a12066892709690b674521d9fa, tree27b401621cfa5e7bb723a3c82bd47d632c74f90c. The explicit scoped project setter now clears the range anchor alongside selected keys. No route-reveal, removal or action-subset behavior is included.Tests first: intended actual anchor RED
8e912523. The first candidate's real-writer scheduler failure remains recorded as NOT GREEN (43c6273f/ea868b6d); it was not retried or merged. Corrected test source25b2e49fexplicitly allows real I/O and waits for previously queued preference writes before teardown. Original assertions and production persistence remain unchanged.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
8ca6485a/cc061944recorded current artifact custody before the owned-crate clean. Fresh merged snapshot plus compiler-selected core7/native7 controls each passed once with distinct initially empty native homes. Exact merged source572, ledger and git cleanliness verified.Independent fresh merged final
c43c72b85abdfaefd1fe017ed40e6dde58f55de3d0c8dae9d87cadcab08ddc53recorded all three artifacts CURRENT/PRESENT before further builds.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.
check:changedbootstrap is NOT GREEN. No constants changed. No deterministic timing, post-drain global-wire silence, physical window/input, provider or whole-row claim.