aiidateam / aiida-workgraph

Efficiently design and manage flexible workflows with AiiDA, featuring an interactive GUI, checkpoints, provenance tracking, and remote execution capabilities.
https://aiida-workgraph.readthedocs.io/en/latest/
MIT License
9 stars 5 forks source link

Monitor task: add `timeout` for monitor task, and support killing #247

Closed superstar54 closed 3 weeks ago

superstar54 commented 3 weeks ago

Add timeout input for monitor task.

Support killing the monitor task manually:

codecov-commenter commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 91.39785% with 8 lines in your changes missing coverage. Please review.

Project coverage is 79.99%. Comparing base (5937b88) to head (8b06867). Report is 40 commits behind head on main.

Files Patch % Lines
aiida_workgraph/utils/control.py 71.42% 4 Missing :warning:
aiida_workgraph/engine/workgraph.py 93.54% 2 Missing :warning:
aiida_workgraph/workgraph.py 71.42% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #247 +/- ## ========================================== + Coverage 75.75% 79.99% +4.24% ========================================== Files 70 65 -5 Lines 4615 4864 +249 ========================================== + Hits 3496 3891 +395 + Misses 1119 973 -146 ``` | [Flag](https://app.codecov.io/gh/aiidateam/aiida-workgraph/pull/247/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidateam) | Coverage Δ | | |---|---|---| | [python-3.11](https://app.codecov.io/gh/aiidateam/aiida-workgraph/pull/247/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidateam) | `79.91% <91.39%> (+4.24%)` | :arrow_up: | | [python-3.12](https://app.codecov.io/gh/aiidateam/aiida-workgraph/pull/247/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidateam) | `79.91% <91.39%> (?)` | | | [python-3.9](https://app.codecov.io/gh/aiidateam/aiida-workgraph/pull/247/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidateam) | `79.95% <91.39%> (+4.21%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidateam#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.