Kong / go-database-reconciler

Apache License 2.0
5 stars 3 forks source link

Adds a NoDeletes function to the Syncer #143

Open rspurgeon opened 1 month ago

rspurgeon commented 1 month ago

Summary

If the Syncer is configured with noDeletes true, deleteDuplicates and delete operations are skipped entirely in the diff() function.

Testing WIP

Full changelog

Testing

Testing WIP, Draft PR for now.

CLAassistant commented 1 month ago

CLA assistant check
All committers have signed the CLA.

codecov-commenter commented 1 month ago

Codecov Report

Attention: Patch coverage is 0% with 9 lines in your changes missing coverage. Please review.

Project coverage is 29.81%. Comparing base (01fa2d0) to head (3f8581f). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
pkg/diff/diff.go 0.00% 8 Missing :warning:
pkg/file/writer.go 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #143 +/- ## ========================================== - Coverage 29.88% 29.81% -0.07% ========================================== Files 106 106 Lines 12631 12596 -35 ========================================== - Hits 3775 3756 -19 + Misses 8393 8377 -16 Partials 463 463 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.