Skip to content

fix: add --day option to updateDayListings and remove duplicate --network flag#2320

Open
rockysingh wants to merge 1 commit intohiero-ledger:mainfrom
rockysingh:2154-fix-stale-gcs-listing
Open

fix: add --day option to updateDayListings and remove duplicate --network flag#2320
rockysingh wants to merge 1 commit intohiero-ledger:mainfrom
rockysingh:2154-fix-stale-gcs-listing

Conversation

@rockysingh
Copy link
Contributor

@rockysingh rockysingh commented Mar 5, 2026

Summary

  • Add --day option to UpdateDayListingsCommand to regenerate the listing for a specific day (e.g. --day 2026-02-06), deleting any existing stale listing first
  • Remove duplicate --network option from ToWrappedBlocksCommand since it is now inherited from parent

@rockysingh rockysingh requested review from a team as code owners March 5, 2026 00:13
@rockysingh rockysingh requested a review from AlfredoG87 March 5, 2026 00:13
@rockysingh rockysingh added the Block Node Tools Additional tools related to, but not part of, the Block Node label Mar 5, 2026
@rockysingh rockysingh self-assigned this Mar 5, 2026
@rockysingh rockysingh added this to the 0.30.0 milestone Mar 5, 2026
@github-project-automation github-project-automation bot moved this to Todo in Hiero CLI Mar 5, 2026
Nana-EC
Nana-EC previously approved these changes Mar 5, 2026
Copy link
Contributor

@Nana-EC Nana-EC left a comment

Choose a reason for hiding this comment

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

LG
2 minor non blocking considerations

…work flag

  Add --day option to UpdateDayListingsCommand to regenerate the listing
  for a specific day even if it already exists. This fixes the issue where
  stale GCS listings (e.g. 2026-02-06 missing entries after 22:46) could
  not be refreshed without manually deleting the listing file.

  Remove duplicate --network option from ToWrappedBlocksCommand since it
  is now inherited from the parent BlockStreamTool via ScopeType.INHERIT.

Signed-off-by: Rocky Thind <harpender.t@swirldslabs.com>
@rockysingh rockysingh force-pushed the 2154-fix-stale-gcs-listing branch from bb1b0ce to fea1599 Compare March 5, 2026 01:11
@codecov
Copy link

codecov bot commented Mar 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

@@             Coverage Diff              @@
##               main    #2320      +/-   ##
============================================
- Coverage     80.86%   80.74%   -0.12%     
  Complexity     1459     1459              
============================================
  Files           139      139              
  Lines          6766     6766              
  Branches        728      728              
============================================
- Hits           5471     5463       -8     
- Misses          976      984       +8     
  Partials        319      319              

see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@jsync-swirlds jsync-swirlds left a comment

Choose a reason for hiding this comment

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

Question about the network option; Did you intend to remove that?

@rockysingh
Copy link
Contributor Author

Question about the network option; Did you intend to remove that?

I've responded in line to the other comment regarding this. It was intended due to inheritance and it was left in there causing an error when running wrap.

@devmab devmab removed this from Hiero CLI Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Block Node Tools Additional tools related to, but not part of, the Block Node

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants