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): preserve scoped deletion ownership and partial results - #310
Scoped single and bulk deletion did not share the selected-thread ownership path. An event could clear the open thread before the delete reply. Bulk deletion also stopped after an ordinary failure.
Fix
Reuse the existing pending deletion token and physical-project fallback. Keep the full requested doomed set separate from successful results. Recheck the captured destination, project and grants before writes and after runtime stop. Continue ordinary failures, stop interruptions, and preserve failed or replaced selections.
SB-SECTIONS and SB-SELECT remain partial. This PR closes only the finite scope in #308.
Verification
Tests-first scoped actor regressions and nine focused cases pass in the integrated verification lane, with compiler-selected libtest and source/binary custody.
Independent exact-head review approves c61691d9d57feec344b7edf7ef081ef4d41ede26, tree e527d65ce2f2c80b47cf045b5be3abd787a03d3d (report SHA256 cb2b5fe1cec3a696ce63a60d943c3572c524dc3d67d5e778eb01fecbeafa34d9).
Clean cargo test -p t3-core -p t3-client: 1,356 pass. Required strict Clippy, normal app build, snapshot app build, theme, intake and conformance checks pass.
Exact candidate snapshot main and compiler-selected libtest are built and SHA256-bound to stable sources. Nine focused deletion tests and the existing captured context actor pass. A cross-worktree stale-cache attempt was discarded; all reported Cargo gates were rerun after cleaning this session’s local package artifacts.
Candidate libtest SHA256: 577ee9ee8433cef28d50de6e75bdb972237f37cdc64dad0e17ce56ffc2a0c98d. Fresh merged proof follows the matched-head squash; no whole-row credit is claimed.
Synthetic fixtures exercise request/event/reply order, mixed owners, permission and identity drift, runtime stop, and selected-thread reply ownership. They do not prove live server/provider behavior, AppKit Input/NSView, clipboard or measured performance.
Formatting remains RED under the explicit existing exception. No sweep, suppression or constant change.
Merged at aa30fe46826549099066df3d1e7fb4c1bab1cbb2, tree e527d65ce2f2c80b47cf045b5be3abd787a03d3d, exactly matching the independently reviewed candidate tree. Clean required default tests (1,356), strict Clippy, normal and snapshot app builds, theme, intake and conformance checks pass. Candidate compiler-selected test binary passes nine scoped deletion cases plus the existing context actor.
Fresh merged-tree snapshot app build and compiler-selected libtest pass. The fresh merged test binary passes all nine scoped deletion cases and the existing context actor (10 tests, no failures). Sources remain identical to the reviewed tree. Merged libtest SHA256: b427735ddbd2a31565897f0fa3eb22889cf24193ecf5e35225dbd7bd2744da9d. SB-SECTIONS and SB-SELECT remain partial; overall sidebar acceptance stays 8/16. Formatting remains RED under the explicit exception, with no sweep or suppression. No constants changed. Synthetic actor proof does not establish live server/provider, real AppKit input/AX, clipboard, or performance behavior.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Scoped single and bulk deletion did not share the selected-thread ownership path. An event could clear the open thread before the delete reply. Bulk deletion also stopped after an ordinary failure.
Fix
Reuse the existing pending deletion token and physical-project fallback. Keep the full requested doomed set separate from successful results. Recheck the captured destination, project and grants before writes and after runtime stop. Continue ordinary failures, stop interruptions, and preserve failed or replaced selections.
SB-SECTIONS and SB-SELECT remain partial. This PR closes only the finite scope in #308.
Verification
c61691d9d57feec344b7edf7ef081ef4d41ede26, treee527d65ce2f2c80b47cf045b5be3abd787a03d3d(report SHA256cb2b5fe1cec3a696ce63a60d943c3572c524dc3d67d5e778eb01fecbeafa34d9).cargo test -p t3-core -p t3-client: 1,356 pass. Required strict Clippy, normal app build, snapshot app build, theme, intake and conformance checks pass.577ee9ee8433cef28d50de6e75bdb972237f37cdc64dad0e17ce56ffc2a0c98d. Fresh merged proof follows the matched-head squash; no whole-row credit is claimed.Model: GPT-6.1 Sol / Codex. Harness: Prime Agent.