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

[Util] Log verification progress #6834

Merged
merged 4 commits into from
Jan 13, 2025
Merged

Conversation

zhangchiqing
Copy link
Member

@zhangchiqing zhangchiqing commented Dec 20, 2024

Log the progress of backward compatibility tests.

@zhangchiqing zhangchiqing force-pushed the leo/log-verify-execution-result branch from fe827a3 to deb3491 Compare December 20, 2024 22:23
@codecov-commenter
Copy link

codecov-commenter commented Dec 20, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 41.52%. Comparing base (a2ad9e6) to head (cd5ae62).
Report is 2 commits behind head on v0.37.

Files with missing lines Patch % Lines
cmd/util/cmd/verify_execution_result/cmd.go 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##            v0.37    #6834      +/-   ##
==========================================
- Coverage   41.52%   41.52%   -0.01%     
==========================================
  Files        2032     2032              
  Lines      181510   181519       +9     
==========================================
- Hits        75381    75367      -14     
- Misses      99896    99918      +22     
- Partials     6233     6234       +1     
Flag Coverage Δ
unittests 41.52% <75.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@zhangchiqing zhangchiqing requested a deployment to Production Docker Registry January 9, 2025 22:45 — with GitHub Actions Waiting
Copy link
Member

@fxamacker fxamacker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! I only left a comment about help message being out of sync with delimiter used by the code.

@@ -93,9 +93,9 @@ func run(*cobra.Command, []string) {
}

func parseFromTo(fromTo string) (from, to uint64, err error) {
parts := strings.Split(fromTo, "-")
parts := strings.Split(fromTo, "_")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The from_to help message and delimiter should match. Currently, the help message uses - (instead of _) in examples.

Cmd.Flags().StringVar(&flagFromTo, "from_to", "",
"the height range to verify blocks (inclusive), i.e, 1-1000, 1000-2000, 2000-3000, etc.")

@zhangchiqing zhangchiqing merged commit bbb02eb into v0.37 Jan 13, 2025
55 checks passed
@zhangchiqing zhangchiqing deleted the leo/log-verify-execution-result branch January 13, 2025 17:25
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.

4 participants