Skip to content

⚙️ FEATURE-#101: Checkpoint-based durable state (resume from failure)#118

Merged
FernandoCelmer merged 5 commits intodevelopfrom
feature/101
Apr 6, 2026
Merged

⚙️ FEATURE-#101: Checkpoint-based durable state (resume from failure)#118
FernandoCelmer merged 5 commits intodevelopfrom
feature/101

Conversation

@FernandoCelmer
Copy link
Copy Markdown
Member

Description

  • dotflow/abc/flow.py: Added resume parameter to Flow ABC
  • dotflow/core/dotflow.py: DotFlow.__init__ accepts optional workflow_id for fixed identification across executions
  • dotflow/core/workflow.py: Manager accepts resume=True; Sequential, SequentialGroup, and Background check for existing checkpoints via _has_checkpoint() before executing each task
  • docs_src/checkpoint/checkpoint.py: Usage example
  • docs/nav/tutorial/checkpoint.md: Tutorial page with mermaid diagrams
  • mkdocs.yml: Added checkpoint to nav

Motivation and Context

If a process dies mid-workflow, all progress is lost. With checkpoints, dotflow resumes from the last completed step — no server, no database, just storage.

Closes #101

Types of changes

  • New feature (change which adds functionality)
  • Documentation

Checklist

  • I have performed a self-review of my own code
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the CHANGELOG
  • I have updated the documentation accordingly

@FernandoCelmer FernandoCelmer added documentation Improvements or additions to documentation enhancement New feature or request labels Apr 6, 2026
@FernandoCelmer FernandoCelmer merged commit ee57b74 into develop Apr 6, 2026
10 checks passed
@FernandoCelmer FernandoCelmer deleted the feature/101 branch April 6, 2026 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant