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

chore: Cryptography better loading #17882

Merged
merged 8 commits into from
Feb 20, 2025

Conversation

mxtartaglia-sl
Copy link
Contributor

Description:
This fix helps with better reporting cases where the cryptography material for a node is not present.

Related issue(s):

Fixes #17871

@mxtartaglia-sl mxtartaglia-sl added this to the v0.60 milestone Feb 13, 2025
@mxtartaglia-sl mxtartaglia-sl self-assigned this Feb 13, 2025
@mxtartaglia-sl mxtartaglia-sl changed the title chore: cryptography better loading chore: Cryptography better loading Feb 13, 2025
Copy link

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.00% (target: -1.00%) 62.50%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (0515075) 99458 72533 72.93%
Head commit (7b24a59) 99466 (+8) 72538 (+5) 72.93% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#17882) 32 20 62.50%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

Copy link

codecov bot commented Feb 13, 2025

Codecov Report

Attention: Patch coverage is 50.00000% with 16 lines in your changes missing coverage. Please review.

Project coverage is 69.02%. Comparing base (0515075) to head (7b24a59).

Files with missing lines Patch % Lines
...wirlds/platform/crypto/EnhancedKeyStoreLoader.java 50.00% 12 Missing and 4 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##               main   #17882   +/-   ##
=========================================
  Coverage     69.01%   69.02%           
- Complexity    23050    23053    +3     
=========================================
  Files          2655     2655           
  Lines         99675    99683    +8     
  Branches      10289    10290    +1     
=========================================
+ Hits          68795    68802    +7     
- Misses        26981    26984    +3     
+ Partials       3899     3897    -2     
Files with missing lines Coverage Δ
...wirlds/platform/crypto/EnhancedKeyStoreLoader.java 67.09% <50.00%> (-0.09%) ⬇️

... and 8 files with indirect coverage changes

Impacted file tree graph

lpetrovic05
lpetrovic05 previously approved these changes Feb 13, 2025
timfn-hg
timfn-hg previously approved these changes Feb 13, 2025
lpetrovic05
lpetrovic05 previously approved these changes Feb 14, 2025
Copy link
Contributor

@mustafauzunn mustafauzunn left a comment

Choose a reason for hiding this comment

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

Some HAPI tests are failing with PLATFORM_NOT_ACTIVE

@mustafauzunn mustafauzunn merged commit 99cec59 into main Feb 20, 2025
41 checks passed
@mustafauzunn mustafauzunn deleted the 17871-chore-better-loadig-cryptography branch February 20, 2025 10:49
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.

Cryptography loading needs better error handling.
5 participants