Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(fs-patch): replace fuzzy patching with operation-based exact patching #429

Merged
merged 7 commits into from
Mar 2, 2025

Conversation

tusharmath
Copy link
Collaborator

Description

This PR replaces the fuzzy patching functionality with operation-based exact patching. The changes include:

  • Remove dissimilar-based fuzzy matching in favor of exact matching only
  • Implement structured operations (Replace, Prepend, Append, Swap)
  • Improve error handling and diagnostics
  • Consolidate test scenarios into comprehensive tests
  • Enable ApplyPatchJson and disable deprecated ApplyPatch

Testing

The new implementation has been tested with comprehensive test scenarios that cover all the operations and error cases.

Related Issues

Resolves the technical debt around patch functionality and makes it more reliable.

@tusharmath tusharmath changed the title refactor(fs-patch): replace fuzzy patching with operation-based exact patching feat(fs-patch): replace fuzzy patching with operation-based exact patching Mar 2, 2025
@tusharmath tusharmath merged commit a92a24e into main Mar 2, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant