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

05875 query workflow improvements part3 #6108

Merged
merged 16 commits into from Apr 28, 2023

Conversation

netopyr
Copy link
Contributor

@netopyr netopyr commented Apr 17, 2023

Next and hopefully final part of changes that improve query and ingest workflow

  • Added facility QueryFeeCheck
  • Added check if payer can pay for fees
  • Removed Counter from IngestWorkflowImpl

Signed-off-by: Michael Heinrichs <netopyr@users.noreply.github.com>
Signed-off-by: Michael Heinrichs <netopyr@users.noreply.github.com>
Signed-off-by: Michael Heinrichs <netopyr@users.noreply.github.com>
@netopyr netopyr added CI:UnitTests Modularization Issues or PRs related to modularization labels Apr 17, 2023
@netopyr netopyr requested review from a team as code owners April 17, 2023 12:02
@netopyr netopyr self-assigned this Apr 17, 2023
@github-actions
Copy link

github-actions bot commented Apr 17, 2023

Node: Unit Test Results

  1 318 files    1 318 suites   1h 21m 19s ⏱️
97 183 tests 97 176 ✔️ 7 💤 0
98 825 runs  98 818 ✔️ 7 💤 0

Results for commit ed9492c.

♻️ This comment has been updated with latest results.

Signed-off-by: Michael Heinrichs <netopyr@users.noreply.github.com>
@github-actions
Copy link

github-actions bot commented Apr 17, 2023

Node: Integration Test Results

    3 files      3 suites   15m 26s ⏱️
150 tests 150 ✔️ 0 💤 0
151 runs  151 ✔️ 0 💤 0

Results for commit ed9492c.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Apr 17, 2023

Node: E2E Test Results

    1 files      1 suites   17m 7s ⏱️
309 tests 309 ✔️ 0 💤 0
327 runs  327 ✔️ 0 💤 0

Results for commit ed9492c.

♻️ This comment has been updated with latest results.

@netopyr netopyr linked an issue Apr 17, 2023 that may be closed by this pull request
rbair23
rbair23 previously approved these changes Apr 17, 2023
Signed-off-by: Michael Heinrichs <netopyr@users.noreply.github.com>
Signed-off-by: Michael Heinrichs <netopyr@users.noreply.github.com>
Signed-off-by: Michael Heinrichs <netopyr@users.noreply.github.com>
Signed-off-by: Michael Heinrichs <netopyr@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Apr 19, 2023

Codecov Report

Patch coverage: 38.88% and project coverage change: +91.06 🎉

Comparison is base (9261c2a) 0.00% compared to head (50ee63f) 91.06%.

❗ Current head 50ee63f differs from pull request most recent head 1a2bf60. Consider uploading reports for the commit 1a2bf60 to get more accurate results

Additional details and impacted files
@@              Coverage Diff               @@
##             develop    #6108       +/-   ##
==============================================
+ Coverage           0   91.06%   +91.06%     
- Complexity         0    16896    +16896     
==============================================
  Files              0     1280     +1280     
  Lines              0    48489    +48489     
  Branches           0     4890     +4890     
==============================================
+ Hits               0    44156    +44156     
- Misses             0     3406     +3406     
- Partials           0      927      +927     
Impacted Files Coverage Δ
...hedera/node/app/fees/AdaptedMonoFeeCalculator.java 89.74% <ø> (ø)
...hedera/node/app/solvency/MonoSolvencyPreCheck.java 13.63% <0.00%> (ø)
...service/mono/queries/validation/QueryFeeCheck.java 100.00% <ø> (ø)
...service/mono/txns/submission/SolvencyPrecheck.java 100.00% <ø> (ø)
...va/com/hedera/node/app/fees/MonoQueryFeeCheck.java 15.78% <15.78%> (ø)
...edera/node/app/workflows/ingest/IngestChecker.java 96.29% <100.00%> (ø)
.../node/app/workflows/ingest/IngestWorkflowImpl.java 85.29% <100.00%> (ø)
.../hedera/node/app/workflows/query/QueryChecker.java 96.77% <100.00%> (ø)
...ra/node/app/workflows/query/QueryWorkflowImpl.java 87.23% <100.00%> (ø)

... and 1271 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

hendrikebbers
hendrikebbers previously approved these changes Apr 20, 2023
# Conflicts:
#	hedera-node/hedera-app/src/main/java/com/hedera/node/app/workflows/ingest/IngestWorkflowImpl.java
#	hedera-node/hedera-app/src/main/java/com/hedera/node/app/workflows/query/QueryWorkflowImpl.java
hendrikebbers
hendrikebbers previously approved these changes Apr 24, 2023
@netopyr netopyr added this to the v0.38 milestone Apr 25, 2023
@sonarcloud
Copy link

sonarcloud bot commented Apr 26, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

63.2% 63.2% Coverage
0.0% 0.0% Duplication

@netopyr netopyr merged commit dfba915 into develop Apr 28, 2023
9 of 11 checks passed
@netopyr netopyr deleted the 05875-query-workflow-improvements-part3 branch April 28, 2023 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Modularization Issues or PRs related to modularization
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Query Workflow Overhaul
4 participants