Skip to content

Conversation

@MaksymMalicki
Copy link
Contributor

@MaksymMalicki MaksymMalicki commented Dec 18, 2025

This PR introduces a new cmd tool, which can be used for the DB corruption verification. For now its just an empty command. The new commands will be added in the followup PRs. To use the tool, hit:
juno verify --db-path <path>

@MaksymMalicki MaksymMalicki marked this pull request as draft December 18, 2025 16:39
@codecov
Copy link

codecov bot commented Dec 18, 2025

Codecov Report

❌ Patch coverage is 24.32432% with 28 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.04%. Comparing base (74e1036) to head (3e34120).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
cmd/juno/verify/verify.go 28.57% 20 Missing ⚠️
cmd/juno/verify/verifier.go 0.00% 8 Missing ⚠️

❌ Your patch check has failed because the patch coverage (24.32%) is below the target coverage (60.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3335      +/-   ##
==========================================
- Coverage   76.05%   76.04%   -0.01%     
==========================================
  Files         347      349       +2     
  Lines       32829    32864      +35     
==========================================
+ Hits        24967    24992      +25     
- Misses       6074     6085      +11     
+ Partials     1788     1787       -1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rodrodros
Copy link
Collaborator

I don't know if the PR plans to go live like this, but I strongly suggest it gets divided in two:

  • Adding the new cmd overall command
  • Adding the trie verification

@MaksymMalicki MaksymMalicki marked this pull request as ready for review December 22, 2025 15:11
@MaksymMalicki MaksymMalicki changed the title feat(cmd): DB verification with cmd tool + trie roots verification feat(cmd): DB verification with cmd tool Dec 23, 2025
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.

3 participants