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: print diff info from cmd #1142

Closed
wants to merge 11 commits into from
Closed

feat: print diff info from cmd #1142

wants to merge 11 commits into from

Conversation

rainest
Copy link
Contributor

@rainest rainest commented Dec 14, 2023

Leverages Kong/go-database-reconciler#30 to print diff output from the command code, rather than having the library code print directly. This allows removing cprint dependencies from the library.

Same breaking caveat applies: we are no longer printing at the time individual events happen. We collect evens and print them in a batch at the end. This change is notable but hopefully not a problem. Adding timestamps could recapture that information in a new format if needed.

@codecov-commenter
Copy link

codecov-commenter commented Dec 14, 2023

Codecov Report

Attention: 35 lines in your changes are missing coverage. Please review.

Comparison is base (675a51c) 5.91% compared to head (03c37cc) 6.70%.

Files Patch % Lines
cmd/common.go 0.00% 17 Missing ⚠️
cmd/common_konnect.go 0.00% 10 Missing ⚠️
cprint/color.go 82.85% 5 Missing and 1 partial ⚠️
validate/validate.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##            main   #1142      +/-   ##
========================================
+ Coverage   5.91%   6.70%   +0.79%     
========================================
  Files         31      32       +1     
  Lines       3144    3205      +61     
========================================
+ Hits         186     215      +29     
- Misses      2948    2979      +31     
- Partials      10      11       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rainest rainest closed this Aug 1, 2024
@rainest rainest deleted the chore/refactor-cprint branch August 1, 2024 20:44
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.

2 participants