Repository navigation
fix: diff log should not require verbose - #1343
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1343 +/- ##
==========================================
- Coverage 78.24% 74.89% -3.36%
==========================================
Files 83 83
Lines 4229 4234 +5
==========================================
- Hits 3309 3171 -138
- Misses 920 1063 +143
🚀 New features to boost your workflow:
|
- adds custom log levels to support two custom log types Signed-off-by: Tim Knight <[email protected]>
Signed-off-by: Tim Knight <[email protected]>
|
@amimas updated following comments, thank you |
amimas
left a comment
There was a problem hiding this comment.
From a quick glance over the file changes, it looks good to me @TimKnight01 . But, I haven't had a chance to try it out locally. Do we have any existing test cases or quick way to add some tests? Maybe we can look at those in the CI. Otherwise, would be nice to add some samples execution in the PR description from your local test run.
|
@amimas - you can see some of the results in the CI -> more logging, I can see if we can add one in, we'd need to I think check if it got written out with caplog, should be doable 🤔 |
|
Hey @TimKnight01 - Sorry, not sure what you were referring to as "in the CI -> more logging". Are you still looking into this? Just checking if we're good to merge this. The branch needs updating though. |
|
@amimas - sorry I've started a new role at work so it's eaten a lot of my time, will try and get back to this this week if I can |
|
No worries. I completely understand. Hope you're enjoying the new role. |
|
I think docs/running.md also needs an update (there is a suggestion about --verbose --diff-only-changed) Also I think we loses the styling. |
Fix diff logging so bracket-heavy values are emitted as literal text instead of being parsed as Rich markup. Also added unit test for diff logger so to validate this fix as well as not requiring verbose mode for diff logging.
|
Thanks for those feedbacks @rickbrouwer . I just pushed an update. When you get a chance, could you please review? |
|
@amimas |
Signed-off-by: Rick Brouwer <[email protected]>
|
I’m just going to go ahead and do that (sorry 😉 ). If it’s not allowed or anything, I’m can drop the commit. Personally, I think this commit does the trick, so I’m approving it now. |
|
Ahh... ofcourse it's okay! Thanks for those adjustments and the review. Looks good to me. Going to merge this now. |
--diff-only-changedshould show diffs without requiring--verbose#1315