Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2.4 KiB
FAIL
-
../Ely-GPUI-Components/src/documents/document/edit.rs:41— Round 1 defect 1 remains above the asynchronous parsing threshold. A write-back changes the editor before its Changed subscription advancesedits;reparseschedules background work without invalidatingread, soread_now()still accepts the old block ranges. Start withA\n\nB\n\nCCCC\n\nfollowed by enough paragraphs to exceed 128 KiB, replace A with AAAA, and press B: its field opensB\n\nC, including part of the untouched next block. Invalidate the parsed revision synchronously and reject or defer opening until the ranges belong to the current text. Cover write-backs above the threshold. Reproduced byreview_async_parse_cannot_open_a_stale_rangein.work/C14.3-r2/probes-final.log; probe source is inprobe-source.login that directory. -
../Ely-GPUI-Components/src/documents/document/place.rs:55— Scroll reads discardoffset_in_item, and the setter at line 79 always writes zero. In a 100-line fenced code block, source top line 40 becomes 0 after switching to Visual. Scrolling 500 pixels into that block in Visual and switching to Preview also jumps to its beginning. Thus round 1 defect 5 is only partly fixed, and the final AGENTS.md claim that mode switches preserve the top line is false. Preserve the position within a block when reading, restoring and switching views; cover tall blocks rather than only separate one-line paragraphs. Both scenarios fail inreview_top_line_inside_a_code_block_survives_modesandreview_visual_to_preview_keeps_inside_block_offsetin.work/C14.3-r2/probes-final.log. -
../Ely-GPUI-Components/src/documents/document/place.rs:76— Restoring scroll immediately after replacing text uses the preceding document's parsed blocks. Openoldin Visual, then callresetwith 100 separate paragraphs andset_top_line(40)in the same owner update: after parsing and rendering settle, the top line is 0. The replacement's Changed subscription reparses later, but nothing reapplies the requested position. This breaks C14.3's owner-controlled scroll restoration and MARK-12 session restoration. Resolve the request against the replacement revision, deferring it until that revision is parsed when necessary. Reproduced byreview_reset_then_restore_scrollin.work/C14.3-r2/probes-final.log. The unmodified library passed all 1,779 tests andcargo clippy --all-targets --features test-support -- -D warnings; logs are in the same directory.