-
Notifications
You must be signed in to change notification settings - Fork 43
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
SDKv2 Only return a detailed diff if a diff is detected #2750
base: master
Are you sure you want to change the base?
SDKv2 Only return a detailed diff if a diff is detected #2750
Conversation
This change is part of the following stack: Change managed by git-spice. |
36cecf5
to
e76e9a7
Compare
f86989b
to
995278d
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## vvm/detailed_diff_replace_fallback #2750 +/- ##
======================================================================
- Coverage 68.86% 68.85% -0.02%
======================================================================
Files 301 301
Lines 38765 38765
======================================================================
- Hits 26696 26690 -6
- Misses 10557 10561 +4
- Partials 1512 1514 +2 ☔ View full report in Codecov by Sentry. |
e76e9a7
to
619c4b5
Compare
995278d
to
edbbf6c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably reasonable, but wondering if this behavior is under-tested since there's no changes to tests? Can we add a quick one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm going to assume the rest of the PR stack provides tests for this but please double check 🙏
619c4b5
to
c83b590
Compare
edbbf6c
to
23080b9
Compare
c83b590
to
0dde15e
Compare
23080b9
to
5b3b827
Compare
0dde15e
to
8ba928e
Compare
5b3b827
to
dc936a0
Compare
8ba928e
to
9bf7301
Compare
dc936a0
to
ed84692
Compare
This would only trigger in the case when the Diff decision and the Detailed Diff do not agree. AFAIK this should only happen in the presence of a bug. I can test this manually by overriding something in the code with the wrong logic but I don't believe there is a way to test this otherwise. Do you have any suggestions here @t0yv0? |
ed84692
to
59fab15
Compare
9156d7f
to
4a091b8
Compare
59fab15
to
1e04a7c
Compare
4a091b8
to
8313f97
Compare
1e04a7c
to
d31fb69
Compare
8313f97
to
f3e38a9
Compare
d31fb69
to
e58abca
Compare
1a62de2
to
505e6eb
Compare
Only return a detailed diff if a diff is detected. This should prevent any mismatches between the detailed diff and the diff decision. Mismatches could only happen in case of a bug somewhere and that might cause issues with the engine.