Skip to content

[diffs/edit] Fix batch edit ordering sensitivity#991

Merged
ije merged 2 commits into
beta-1.3from
ije/fix-batch-edit-ordering
Jul 15, 2026
Merged

[diffs/edit] Fix batch edit ordering sensitivity#991
ije merged 2 commits into
beta-1.3from
ije/fix-batch-edit-ordering

Conversation

@ije

@ije ije commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

Batch edit ordering sensitivity (1) — accepting a batch containing a
delete and an insert at the same offset depends on the caller's array order:
delete-first throws an overlap error, insert-first succeeds.

Fixed batch edit ordering sensitivity.
Equal-start edits now sort by end offset, placing inserts before deletes regardless of caller order.

@vercel

vercel Bot commented Jul 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pierre-docs-diffs Ready Ready Preview Jul 15, 2026 4:36pm
pierre-docs-diffshub Ready Ready Preview Jul 15, 2026 4:36pm
pierre-docs-trees Ready Ready Preview Jul 15, 2026 4:36pm
pierrejs-diff-demo Ready Ready Preview Jul 15, 2026 4:36pm

Request Review

@ije

ije commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

## Known bugs pinned as `test.failing` (30)

P3 Badge Update the pinned known-bug total

After removing the batch-edit ordering bullet and converting its test.failing case to a passing test, the category counts in this section now add up to 29, but the heading still advertises 30. This README is the triage list for pinned failing tests, so the stale total will mislead future cleanup tracking unless it is decremented with the removed item.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

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.

2 participants