Skip to content

feat: myers diff#3247

Open
myfreess wants to merge 16 commits intomainfrom
add_myers_diff
Open

feat: myers diff#3247
myfreess wants to merge 16 commits intomainfrom
add_myers_diff

Conversation

@myfreess
Copy link
Copy Markdown
Contributor

@myfreess myfreess commented Mar 5, 2026

This PR introduces a Myers-based diff package to provide efficient sequence diffing, structured edit scripts, and hunk-level grouping for downstream diff-style output.


Open with Devin

@myfreess myfreess force-pushed the add_myers_diff branch 11 times, most recently from a42e404 to 526ff08 Compare March 9, 2026 08:19
@myfreess myfreess marked this pull request as ready for review March 9, 2026 08:25
Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 6 additional findings.

Open in Devin Review

@myfreess myfreess force-pushed the add_myers_diff branch 3 times, most recently from 69ede8b to ee4ded2 Compare March 11, 2026 10:14
@coveralls
Copy link
Copy Markdown
Collaborator

coveralls commented Mar 11, 2026

Pull Request Test Coverage Report for Build 3721

Details

  • 240 of 243 (98.77%) changed or added relevant lines in 8 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.06%) to 95.064%

Changes Missing Coverage Covered Lines Changed/Added Lines %
diff/diff.mbt 135 138 97.83%
Totals Coverage Status
Change from base Build 3718: 0.06%
Covered Lines: 14850
Relevant Lines: 15621

💛 - Coveralls

Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 6 additional findings.

Open in Devin Review

@myfreess myfreess force-pushed the add_myers_diff branch 12 times, most recently from 24ca5ba to b2c2311 Compare March 13, 2026 02:41
devin-ai-integration[bot]

This comment was marked as resolved.

@myfreess myfreess force-pushed the add_myers_diff branch 3 times, most recently from f5f7227 to 88cd676 Compare March 26, 2026 02:57
devin-ai-integration[bot]

This comment was marked as resolved.

@myfreess
Copy link
Copy Markdown
Contributor Author

@codex review

chatgpt-codex-connector[bot]

This comment was marked as resolved.

@myfreess myfreess force-pushed the add_myers_diff branch 2 times, most recently from f8a7548 to 13bc2f7 Compare March 26, 2026 05:49
@myfreess
Copy link
Copy Markdown
Contributor Author

@codex review

chatgpt-codex-connector[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

myfreess and others added 9 commits April 1, 2026 13:57
Users pattern-match Edit directly, making the separate EditTag enum and
take_tagged_view_from method redundant indirection. Internal callers
(render_with, test helper) now match on Edit variants inline.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Bundle source arrays with edit scripts so Edit values are always
meaningful without passing old/new separately. Diff(old~, new~) is the
entry point; .group(radius?) produces Array[Hunk[T]] with Show for
unified-diff rendering. Also removes mut from Equal fields, makes
grouping non-mutating, and drops deprecated Hunk::inner.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

3 participants