Repository navigation
Conversation
Extract only the unchanged upstream regression tests for an evaluation PR. The runtime hunk is omitted because this fork already tracks indented-code blank state in 1d8538c, together with its heading, thematic-break, and list resets. This candidate records the assessment; it is intended to close without merging duplicate regression coverage into main. Upstream-PR: delphinus#79 Upstream-commit: a10f025 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Evaluated and closing without merge. The upstream fix is valid; this fork already implements the behavior and has regression protection, so neither a runtime backport nor duplicate permanent tests are needed. Sources and scope:
The following commands passed on the candidate with both Neovim 0.12.0 and 0.12.5: nvim -n -i NONE --headless -u NONE --noplugin -l tests/indented_code_test.lua
# 2 passed, 0 failed
nvim -n -i NONE --headless -u NONE --noplugin -l tests/code_isolation_test.lua
# 829 passed, 0 failed
stylua --check tests/indented_code_test.lua
luacheck --no-cache tests/indented_code_test.luaTo verify that existing coverage detects the regression, an isolated copy removed only Separately, upstream's original two assertions failed on the parent of a10f025 and passed on that commit under Neovim 0.12.0. The upstream patch addresses a real bug; the decision here is about whether this fork needs the same change. Revisit if the literal-code state handling is refactored, the cited regression coverage is removed, or a new failing case shows that the fork no longer preserves this behavior. No changes from this evaluation PR enter |
This is an evaluation of upstream #79, whose indented-code fix is valid for the upstream renderer. The fork already preserves the blank line after indented code through 1d8538c and already tests that behavior.
The candidate copies
tests/indented_code_test.luaunchanged from upstream a10f025. It contains no runtime changes and is intended to close without merging, after recording the assessment in a closing comment. It is a tests-only extraction, not a full cherry-pick.The fork handles literal code earlier in the rendering loop and retains heading, thematic-break, and list resets alongside blank-state tracking. Copying upstream's runtime hunk would not add the missing behavior here. Keeping the established fork path avoids unnecessary state-handling churn; keeping the existing regression cases avoids duplicate permanent coverage.
Validation against fork base 94112ca, with Neovim 0.12.0 and 0.12.5:
code_isolation_test.lua: 829 passed, 0 failed.prev_rendered_blank = code_content:match "^[ \t]*$" ~= nilfrom the literal indented-code path: 825 passed, 4 expected failures. The failures are output rows and source ownership for the CM117 and wider-list cases; the unchanged candidate still passes all 829 assertions.The upstream tests were also run on upstream #79's parent and resulting commit under Neovim 0.12.0: 0/2 passing before, 2/2 passing after. This distinguishes a useful upstream fix from an unnecessary backport for this fork.