Skip to content

Conversation

@jsync-swirlds
Copy link
Contributor

Reviewer Notes

  • Added explanatory comment
  • Removed many cases of throws Exception in tests that could (should) be specific so we catch new exceptions or unhandled failures
  • Removed throws Exception from S3Client.close() that was forcing all users to catch or declare Exception.
    • This was particularly pernicious because the method did not actually throw any checked exceptions.
  • Replaced new String(stdout, charset) with stdout.toString(charset).

@jsync-swirlds jsync-swirlds added this to the 0.23.0 milestone Nov 4, 2025
@jsync-swirlds jsync-swirlds self-assigned this Nov 4, 2025
@jsync-swirlds jsync-swirlds added the Block Node Issues/PR related to the Block Node. label Nov 4, 2025
@jsync-swirlds jsync-swirlds marked this pull request as ready for review November 4, 2025 20:59
@jsync-swirlds jsync-swirlds requested review from a team as code owners November 4, 2025 20:59
@jsync-swirlds jsync-swirlds requested review from AlfredoG87, Nana-EC, ata-nas, jasperpotts and mustafauzunn and removed request for jasperpotts November 4, 2025 20:59
@jsync-swirlds
Copy link
Contributor Author

@rockysingh, might be worth taking a look here; cannot easily add you to reviewers yet.

Nana-EC
Nana-EC previously approved these changes Nov 5, 2025
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, minor suggestion if you circle back

* Added explanatory comment
* Removed many cases of `throws Exception` in tests that could (should) be specific so we catch new exceptions or unhandled failures
* Replaced `new String(stdout, charset)` with `stdout.toString(charset)`.

Signed-off-by: Joseph S. <[email protected]>
@jsync-swirlds jsync-swirlds merged commit f5e98d3 into main Nov 6, 2025
21 of 22 checks passed
@jsync-swirlds jsync-swirlds deleted the 1626-followup branch November 6, 2025 18:49
@codecov
Copy link

codecov bot commented Nov 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

@@             Coverage Diff              @@
##               main    #1829      +/-   ##
============================================
+ Coverage     81.37%   81.44%   +0.07%     
- Complexity     1164     1166       +2     
============================================
  Files           126      126              
  Lines          5428     5428              
  Branches        578      578              
============================================
+ Hits           4417     4421       +4     
+ Misses          751      749       -2     
+ Partials        260      258       -2     
Files with missing lines Coverage Δ Complexity Δ
...ock/node/messaging/BlockMessagingFacilityImpl.java 85.77% <ø> (ø) 43.00 <0.00> (ø)

... and 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Block Node Issues/PR related to the Block Node.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants