AbstractSDK / cw-orchestrator

All-in-one Rust-based CosmWasm testing, scripting, and deployment tool.
https://orchestrator.abstract.money
GNU General Public License v3.0
75 stars 17 forks source link

DaemonState: `write_on_change` #418

Closed Buckram123 closed 2 months ago

Buckram123 commented 2 months ago

This PR aims to add write_on_change flag to DaemonState with default to true for auto-updating state, instead of waiting for program to finish execution

Checklist

cloudflare-pages[bot] commented 2 months ago

Deploying cw-orchestrator with  Cloudflare Pages  Cloudflare Pages

Latest commit: 59f9b81
Status: ✅  Deploy successful!
Preview URL: https://c31553b3.cw-orchestrator.pages.dev
Branch Preview URL: https://buckram-write-on-change.cw-orchestrator.pages.dev

View logs

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 64.70588% with 12 lines in your changes missing coverage. Please review.

Project coverage is 56.1%. Comparing base (20a4612) to head (59f9b81).

Additional details and impacted files | [Files](https://app.codecov.io/gh/AbstractSDK/cw-orchestrator/pull/418?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AbstractSDK) | Coverage Δ | | |---|---|---| | [packages/clone-testing/src/state.rs](https://app.codecov.io/gh/AbstractSDK/cw-orchestrator/pull/418?src=pr&el=tree&filepath=packages%2Fclone-testing%2Fsrc%2Fstate.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AbstractSDK#diff-cGFja2FnZXMvY2xvbmUtdGVzdGluZy9zcmMvc3RhdGUucnM=) | `94.6% <100.0%> (+<0.1%)` | :arrow_up: | | [cw-orch-daemon/src/state.rs](https://app.codecov.io/gh/AbstractSDK/cw-orchestrator/pull/418?src=pr&el=tree&filepath=cw-orch-daemon%2Fsrc%2Fstate.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AbstractSDK#diff-Y3ctb3JjaC1kYWVtb24vc3JjL3N0YXRlLnJz) | `80.8% <78.5%> (-0.3%)` | :arrow_down: | | [cw-orch-daemon/src/sync/builder.rs](https://app.codecov.io/gh/AbstractSDK/cw-orchestrator/pull/418?src=pr&el=tree&filepath=cw-orch-daemon%2Fsrc%2Fsync%2Fbuilder.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AbstractSDK#diff-Y3ctb3JjaC1kYWVtb24vc3JjL3N5bmMvYnVpbGRlci5ycw==) | `86.5% <0.0%> (-2.4%)` | :arrow_down: | | [cw-orch-daemon/src/builder.rs](https://app.codecov.io/gh/AbstractSDK/cw-orchestrator/pull/418?src=pr&el=tree&filepath=cw-orch-daemon%2Fsrc%2Fbuilder.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AbstractSDK#diff-Y3ctb3JjaC1kYWVtb24vc3JjL2J1aWxkZXIucnM=) | `66.0% <66.6%> (-0.3%)` | :arrow_down: |