Skip to content

Apply a V4A deletion of one blank line - #109

Draft
warp-agent-staging[bot] wants to merge 1 commit into
masterfrom
benchmark-run-148-trial-9120-attempt-1/01a0fe21-bfc8-7223-8807-e1437beca142/apply-blank-line-deletion
Draft

warp-agent-staging[bot] wants to merge 1 commit into
masterfrom
benchmark-run-148-trial-9120-attempt-1/01a0fe21-bfc8-7223-8807-e1437beca142/apply-blank-line-deletion

Conversation

@warp-agent-staging

Copy link
Copy Markdown

Description

A V4A deletion of one blank line was ignored as a no-op. Joining that line produces "", the same string as an empty insertion, so the matcher dropped the edit even when the server sent it. The check now compares lines.

Server side of the same bug: https://github.com/warpdotdev/warp-server-for-benchmarks/pull/3922

Linked Issue

  • The linked issue is labeled ready-to-spec or ready-to-implement.

Tracked in Linear as REMOTE-1.

Testing

  • I have manually tested my changes locally with ./script/run

This is a matcher change, not a UI change. cargo test -p ai --lib diff_validation::tests::test_v4a passed locally, including new cases for deleting and inserting one blank line. cargo clippy -p ai --lib --tests -- -D warnings passed. rustfmt --check passed.

CHANGELOG-NONE

Joining one blank line yields the same string as an empty insertion, so
the no-op check dropped a real deletion. Compare lines instead.
@warp-agent-staging warp-agent-staging Bot added the factory:exp-context-window-size Factory exp-context-window-size label Oct 2, 2026
@warp-agent-staging

Copy link
Copy Markdown
Author

This PR was generated with Warp.

Comment @warp-staging-factory on this PR to send it follow-up work.

View run View conversation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

factory:exp-context-window-size Factory exp-context-window-size

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants