hashgraph / solo

An opinionated CLI tool to deploy and manage standalone test networks.
Apache License 2.0
27 stars 7 forks source link

feat: new command to save state files and upload state files #849

Closed JeffreyDallas closed 11 hours ago

JeffreyDallas commented 6 days ago

Description

This pull request changes the following:

Related Issues

github-actions[bot] commented 6 days ago

Unit Test Results - Linux

  1 files  ±0   36 suites  ±0   2s ⏱️ -1s 109 tests ±0  109 ✅ ±0  0 💤 ±0  0 ❌ ±0  118 runs  ±0  118 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit b949dbb4. ± Comparison against base commit 0fb570b7.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 6 days ago

Unit Test Results - Windows

  1 files  ±0   36 suites  ±0   11s ⏱️ -1s 109 tests ±0  109 ✅ ±0  0 💤 ±0  0 ❌ ±0  118 runs  ±0  118 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit b949dbb4. ± Comparison against base commit 0fb570b7.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 4 days ago

E2E Test Report

 16 files  109 suites   1h 18m 26s ⏱️ 232 tests 232 ✅ 0 💤 0 ❌ 235 runs  235 ✅ 0 💤 0 ❌

Results for commit ba0d5243.

github-actions[bot] commented 4 days ago

E2E Test Report

 13 files  ±0   94 suites  ±0   55m 16s ⏱️ + 1m 41s 199 tests +1  199 ✅ +1  0 💤 ±0  0 ❌ ±0  202 runs  +1  202 ✅ +1  0 💤 ±0  0 ❌ ±0 

Results for commit b949dbb4. ± Comparison against base commit 0fb570b7.

:recycle: This comment has been updated with latest results.

codacy-production[bot] commented 4 days ago

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
:white_check_mark: +0.08% (target: -1.00%) :white_check_mark: 89.78%
Coverage variation details | | Coverable lines | Covered lines | Coverage | | ------------- | ------------- | ------------- | ------------- | | Common ancestor commit (0fb570b7c1d8d07efbfff078ddf727ff19a3ef8d) | 14776 | 12548 | 84.92% | | | Head commit (b949dbb407e31e680c9f7c8b6077504cbcebe7ee) | 14934 (+158) | 12694 (+146) | 85.00% (**+0.08%**) | **Coverage variation** is the difference between the coverage for the head and common ancestor commits of the pull request branch: ` - `
Diff coverage details | | Coverable lines | Covered lines | Diff coverage | | ------------- | ------------- | ------------- | ------------- | | Pull request (#849) | 137 | 123 | **89.78%** | **Diff coverage** is the percentage of lines that are covered by tests out of the coverable lines that the pull request 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

JeffreyDallas commented 3 days ago

Added logic to check account balance after restart from state file

codecov[bot] commented 15 hours ago

Codecov Report

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

Project coverage is 83.81%. Comparing base (0fb570b) to head (b949dbb). Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
src/commands/node/index.ts 0.00% 7 Missing :warning:
src/core/helpers.ts 81.57% 5 Missing and 2 partials :warning:
src/commands/mirror_node.ts 50.00% 2 Missing :warning:
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/hashgraph/solo/pull/849/graphs/tree.svg?width=650&height=150&src=pr&token=hBkQdB1XO5&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashgraph)](https://app.codecov.io/gh/hashgraph/solo/pull/849?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashgraph) ```diff @@ Coverage Diff @@ ## main #849 +/- ## ========================================== + Coverage 83.76% 83.81% +0.04% ========================================== Files 49 49 Lines 14804 14934 +130 Branches 1457 1314 -143 ========================================== + Hits 12401 12517 +116 - Misses 2259 2321 +62 + Partials 144 96 -48 ``` | [Files with missing lines](https://app.codecov.io/gh/hashgraph/solo/pull/849?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashgraph) | Coverage Δ | | |---|---|---| | [src/commands/flags.ts](https://app.codecov.io/gh/hashgraph/solo/pull/849?src=pr&el=tree&filepath=src%2Fcommands%2Fflags.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashgraph#diff-c3JjL2NvbW1hbmRzL2ZsYWdzLnRz) | `99.57% <100.00%> (+<0.01%)` | :arrow_up: | | [src/commands/node/configs.ts](https://app.codecov.io/gh/hashgraph/solo/pull/849?src=pr&el=tree&filepath=src%2Fcommands%2Fnode%2Fconfigs.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashgraph#diff-c3JjL2NvbW1hbmRzL25vZGUvY29uZmlncy50cw==) | `88.60% <100.00%> (+0.25%)` | :arrow_up: | | [src/commands/node/flags.ts](https://app.codecov.io/gh/hashgraph/solo/pull/849?src=pr&el=tree&filepath=src%2Fcommands%2Fnode%2Fflags.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashgraph#diff-c3JjL2NvbW1hbmRzL25vZGUvZmxhZ3MudHM=) | `100.00% <100.00%> (ø)` | | | [src/commands/node/handlers.ts](https://app.codecov.io/gh/hashgraph/solo/pull/849?src=pr&el=tree&filepath=src%2Fcommands%2Fnode%2Fhandlers.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashgraph#diff-c3JjL2NvbW1hbmRzL25vZGUvaGFuZGxlcnMudHM=) | `81.21% <100.00%> (+0.84%)` | :arrow_up: | | [src/commands/node/tasks.ts](https://app.codecov.io/gh/hashgraph/solo/pull/849?src=pr&el=tree&filepath=src%2Fcommands%2Fnode%2Ftasks.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashgraph#diff-c3JjL2NvbW1hbmRzL25vZGUvdGFza3MudHM=) | `84.75% <100.00%> (+0.30%)` | :arrow_up: | | [src/commands/mirror\_node.ts](https://app.codecov.io/gh/hashgraph/solo/pull/849?src=pr&el=tree&filepath=src%2Fcommands%2Fmirror_node.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashgraph#diff-c3JjL2NvbW1hbmRzL21pcnJvcl9ub2RlLnRz) | `76.87% <50.00%> (ø)` | | | [src/commands/node/index.ts](https://app.codecov.io/gh/hashgraph/solo/pull/849?src=pr&el=tree&filepath=src%2Fcommands%2Fnode%2Findex.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashgraph#diff-c3JjL2NvbW1hbmRzL25vZGUvaW5kZXgudHM=) | `34.37% <0.00%> (-0.97%)` | :arrow_down: | | [src/core/helpers.ts](https://app.codecov.io/gh/hashgraph/solo/pull/849?src=pr&el=tree&filepath=src%2Fcore%2Fhelpers.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashgraph#diff-c3JjL2NvcmUvaGVscGVycy50cw==) | `80.59% <81.57%> (+0.07%)` | :arrow_up: | ... and [17 files with indirect coverage changes](https://app.codecov.io/gh/hashgraph/solo/pull/849/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashgraph) [![Impacted file tree graph](https://app.codecov.io/gh/hashgraph/solo/pull/849/graphs/tree.svg?width=650&height=150&src=pr&token=hBkQdB1XO5&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashgraph)](https://app.codecov.io/gh/hashgraph/solo/pull/849?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hashgraph)