Skip to content

[WIP] Modify execute_DAG with unitresult caching#738

Open
IAlibay wants to merge 5 commits intomainfrom
restart_execute
Open

[WIP] Modify execute_DAG with unitresult caching#738
IAlibay wants to merge 5 commits intomainfrom
restart_execute

Conversation

@IAlibay
Copy link
Member

@IAlibay IAlibay commented Feb 16, 2026

Cache a JSON of each successful ProtocolUnitResult, allowing for execute_DAG to resume when called over a DAG that hasn't been fully executed.

Checklist

  • Added a news entry

Developers certificate of origin

@IAlibay
Copy link
Member Author

IAlibay commented Feb 16, 2026

pre-commit.ci autofix

@codecov
Copy link

codecov bot commented Feb 16, 2026

Codecov Report

❌ Patch coverage is 42.85714% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.44%. Comparing base (abc987d) to head (6b2916c).

Files with missing lines Patch % Lines
gufe/protocols/protocoldag.py 42.85% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #738      +/-   ##
==========================================
- Coverage   98.88%   98.44%   -0.44%     
==========================================
  Files          42       42              
  Lines        2685     2702      +17     
==========================================
+ Hits         2655     2660       +5     
- Misses         30       42      +12     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions
Copy link

No API break detected ✅

else:
# Is source key stable enough?
# We probably don't want to resume if gufe stability has changed
results[unit_result.source_key] = unit_result
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to check that the unit_results are continuous?

@atravitz atravitz self-assigned this Feb 16, 2026
@IAlibay IAlibay added this to the Release 1.9 milestone Feb 16, 2026
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.

2 participants