Skip to content

validator: Move SnapshotConfig parsing to separate function#7086

Merged
steviez merged 2 commits intoanza-xyz:masterfrom
steviez:val_snap_cfg_parsing
Jul 23, 2025
Merged

validator: Move SnapshotConfig parsing to separate function#7086
steviez merged 2 commits intoanza-xyz:masterfrom
steviez:val_snap_cfg_parsing

Conversation

@steviez
Copy link
Copy Markdown

@steviez steviez commented Jul 22, 2025

Depends on #7085 rebased

Problem

SnapshotConfig has a non-trivial amount of arguments, operations and checks that occur

Summary of Changes

Shift all of this logic into a side function to help declutter this function/file

@steviez steviez force-pushed the val_snap_cfg_parsing branch from fe6d126 to 35b442a Compare July 22, 2025 19:02
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jul 22, 2025

Codecov Report

❌ Patch coverage is 0% with 154 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.2%. Comparing base (222d32e) to head (7eb56d1).
⚠️ Report is 2832 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #7086   +/-   ##
=======================================
  Coverage    83.2%    83.2%           
=======================================
  Files         854      854           
  Lines      374653   374668   +15     
=======================================
+ Hits       312058   312072   +14     
- Misses      62595    62596    +1     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

SnapshotConfig has a non-trivial amount of arguments, operations and
checks that occur. Shift all of this logic into a side function to help
organize and de-clutter
@steviez steviez force-pushed the val_snap_cfg_parsing branch from 35b442a to fc2ccd7 Compare July 22, 2025 21:09
@steviez steviez requested a review from brooksprumo July 22, 2025 21:57
Comment thread validator/src/commands/run/execute.rs Outdated
@steviez steviez requested a review from brooksprumo July 22, 2025 22:22
Copy link
Copy Markdown

@brooksprumo brooksprumo left a comment

Choose a reason for hiding this comment

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

:shipit:

I copied the patch into an external diff tool and confirmed there were no functional changes.

@steviez steviez merged commit d5a1546 into anza-xyz:master Jul 23, 2025
41 checks passed
@steviez steviez deleted the val_snap_cfg_parsing branch July 23, 2025 03:22
puhtaytow pushed a commit to puhtaytow/agave that referenced this pull request Jul 24, 2025
…#7086)

SnapshotConfig has a non-trivial amount of arguments, operations and
checks that occur. Shift all of this logic into a side function to help
organize and de-clutter
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