Skip to content

fix: read both Unicode diffs through their shared change marker - #5106

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-5090
Nov 2, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-5090

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The Unicode inline-diff test still expected a separate change marker for each adjacent paragraph. #4887 deliberately groups those paragraphs into one change and opens their inline comparisons together, so the second click waited for a marker that no longer exists.

Read the trailing deletion after the first click, preserving the assertions for astral character offsets, inserted words and the deleted trailing phrase. Production behavior is unchanged.

The focused test reproduced the 120-second missing-marker timeout on main at 7075a022d, then passed with this correction (7.01 seconds). Its failure screenshot already shows both comparisons open. Ruff and git diff --check pass.

Closes #5090 — automated triage

The adjacent paragraphs form one change since #4887. Keep the astral insertion and trailing deletion assertions, but read both after pressing that change once instead of waiting for a second marker.

Closes #5090
@leaf-agent
leaf-agent merged commit c10d449 into main Nov 2, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-5090 branch November 2, 2026 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inline version-diff test cannot find its change marker

1 participant