Skip to content

feat: add checkpointed resumable execution - #385

Merged
szmyty merged 1 commit into
mainfrom
feat/checkpoint-resume-358
Sep 10, 2026
Merged

szmyty merged 1 commit into
mainfrom
feat/checkpoint-resume-358

Conversation

@szmyty

@szmyty szmyty commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • persist corruption-detectable renderflow.checkpoints/v1 node checkpoints immediately after atomic artifact storage and successful validation
  • assess checkpoint compatibility against source identity, transform/configuration and implementation versions, provider/toolchain evidence, and verified output bytes
  • resume deterministic/cacheable DAG nodes independently while forcing missing, corrupt, changed, or invalidated work to recompute
  • expose the versioned RenderflowProvider Rust contract for capability inspection, planning, running, assessment, resume, and explicit invalidation
  • enrich renderflow.progress/v1 events with run/step/artifact IDs, states, and diagnostics, and propagate cancellation to bounded DAG-wave boundaries
  • add renderflow build --resume, JSON schemas, and provider/recovery documentation

Verification

  • cargo check --workspace --all-targets --locked
  • changed Rust files pass rustfmt --check
  • JSON schemas and MkDocs YAML parse successfully
  • smoke build records a validated checkpoint; an unchanged renderflow build --resume reports state: reused, cache: hit, and preserved validation status

The broad test/Clippy/CI pass is intentionally deferred under the current sprint mode; all-target compilation includes the new checkpoint fixtures.

Closes #358

@szmyty
szmyty merged commit 7674065 into main Sep 10, 2026
16 of 18 checks passed
@szmyty
szmyty deleted the feat/checkpoint-resume-358 branch September 10, 2026 19:52
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.

Add checkpointed execution and a resumable Renderflow provider seam for Flow

1 participant