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: Remove throw arg null #10433

Merged
merged 14 commits into from Dec 20, 2023
Merged

chore: Remove throw arg null #10433

merged 14 commits into from Dec 20, 2023

Conversation

mxtartaglia-sl
Copy link
Contributor

@mxtartaglia-sl mxtartaglia-sl commented Dec 11, 2023

Description:
Removing usage of methods throwArgNull and throwArgBlank from the commons module

Related issue(s):

Fixes # #6704

Notes for reviewer:
Given the limited amount of files, we extended the removal to the whole project

@mxtartaglia-sl mxtartaglia-sl added this to the v0.46 milestone Dec 11, 2023
@mxtartaglia-sl mxtartaglia-sl self-assigned this Dec 11, 2023
@mxtartaglia-sl mxtartaglia-sl requested review from a team as code owners December 11, 2023 22:42
@mxtartaglia-sl mxtartaglia-sl changed the title chore!: Remove throw arg null chore: Remove throw arg null Dec 12, 2023
@mxtartaglia-sl
Copy link
Contributor Author

mxtartaglia-sl commented Dec 12, 2023

pushed the merge conflict solution but after, build is failing locally

> Task :app:compileJmhJava FAILED

It only happened after rebasing develop into this branch.
It seems something changed with the jmh module and is triggered when modifying CountPerSecond.java


Figured it out, I needed to add the base module as dependency for fcqueue and remove the module from build.gradle.kts

@mxtartaglia-sl mxtartaglia-sl linked an issue Dec 12, 2023 that may be closed by this pull request
Copy link

github-actions bot commented Dec 12, 2023

Node: Unit Test Results

    2 293 files  ±0      2 293 suites  ±0   50m 1s ⏱️ - 3m 35s
118 448 tests ±0  118 414 ✔️ ±0  34 💤 ±0  0 ±0 
126 865 runs  ±0  126 831 ✔️ ±0  34 💤 ±0  0 ±0 

Results for commit c2eaf34. ± Comparison against base commit 628226f.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Dec 12, 2023

Node: HAPI Test (Crypto) Results

211 tests   204 ✔️  18m 1s ⏱️
  22 suites      7 💤
  22 files        0

Results for commit c2eaf34.

♻️ This comment has been updated with latest results.

Copy link

codecov bot commented Dec 12, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (develop@628226f). Click here to learn what that means.

❗ Current head 5d74c25 differs from pull request most recent head c2eaf34. Consider uploading reports for the commit c2eaf34 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             develop   #10433   +/-   ##
==========================================
  Coverage           ?   63.00%           
  Complexity         ?    30816           
==========================================
  Files              ?     3363           
  Lines              ?   135403           
  Branches           ?    14088           
==========================================
  Hits               ?    85304           
  Misses             ?    46739           
  Partials           ?     3360           

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

Copy link

github-actions bot commented Dec 12, 2023

Node: HAPI Test (Token) Results

189 tests   189 ✔️  17m 45s ⏱️
  13 suites      0 💤
  13 files        0

Results for commit c2eaf34.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Dec 12, 2023

Node: HAPI Test (Misc) Results

420 tests   330 ✔️  28m 45s ⏱️
  74 suites    90 💤
  74 files        0

Results for commit c2eaf34.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Dec 12, 2023

Node: E2E Test Results

    1 files      1 suites   22m 38s ⏱️
311 tests 311 ✔️ 0 💤 0
333 runs  333 ✔️ 0 💤 0

Results for commit c2eaf34.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Dec 12, 2023

Node: HAPI Test (Time Consuming) Results

21 tests     9 ✔️  24m 45s ⏱️
  2 suites  12 💤
  2 files      0

Results for commit c2eaf34.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Dec 12, 2023

Node: Integration Test Results

278 tests  ±0   278 ✔️ ±0   26m 50s ⏱️ -2s
    5 suites ±0       0 💤 ±0 
    5 files   ±0       0 ±0 

Results for commit c2eaf34. ± Comparison against base commit 628226f.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Dec 12, 2023

Node: HAPI Test (Smart Contract) Results

398 tests   368 ✔️  45m 20s ⏱️
  55 suites    30 💤
  55 files        0

Results for commit c2eaf34.

♻️ This comment has been updated with latest results.

hendrikebbers
hendrikebbers previously approved these changes Dec 18, 2023
jsync-swirlds
jsync-swirlds previously approved these changes Dec 18, 2023
Copy link
Member

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

Some possible minor improvements or nitpick items, but the functional changes are good.

Signed-off-by: Maxi Tartaglia <maxi@swirldslabs.com>
Signed-off-by: Maxi Tartaglia <maxi@swirldslabs.com>
Signed-off-by: Maxi Tartaglia <maxi@swirldslabs.com>
Signed-off-by: Maxi Tartaglia <maxi@swirldslabs.com>
Signed-off-by: Maxi Tartaglia <maxi@swirldslabs.com>
Signed-off-by: Maxi Tartaglia <maxi@swirldslabs.com>
Signed-off-by: Maxi Tartaglia <maxi@swirldslabs.com>
Signed-off-by: Maxi Tartaglia <maxi@swirldslabs.com>
… string hardcoded message instead

Signed-off-by: Maxi Tartaglia <maxi@swirldslabs.com>
Signed-off-by: Maxi Tartaglia <maxi@swirldslabs.com>
Signed-off-by: Maxi Tartaglia <maxi@swirldslabs.com>

Signed-off-by: Maxi Tartaglia <maxi@swirldslabs.com>
…to one

Signed-off-by: Maxi Tartaglia <maxi@swirldslabs.com>

Signed-off-by: Maxi Tartaglia <maxi@swirldslabs.com>
Signed-off-by: Maxi Tartaglia <maxi@swirldslabs.com>

Signed-off-by: Maxi Tartaglia <maxi@swirldslabs.com>
Signed-off-by: Maxi Tartaglia <maxi@swirldslabs.com>

Signed-off-by: Maxi Tartaglia <maxi@swirldslabs.com>
@mxtartaglia-sl mxtartaglia-sl merged commit 65fab23 into develop Dec 20, 2023
37 checks passed
@mxtartaglia-sl mxtartaglia-sl deleted the 6704_remove_throwArgNull branch December 20, 2023 13:29
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.

Remove throwArgNull in metrics package
4 participants