>_
.issue.db
/highway-workflow-engine
Dashboard
Issues
Memory
Lessons
Audit Log
New Issue
Edit Issue #364
Update issue details
Title *
Description
## Issue ForEach and While loop operators save checkpoints to ctx._checkpoints_cache but do NOT call absurd_client.set_checkpoint() to persist them. Locations: - ForEach: engine/interpreters/operators.py:695-698 - While: engine/interpreters/operators.py:789-792 ```python # Only updates in-memory cache, not database! ctx._checkpoints_cache[checkpoint_key] = { 'last_index': idx, 'total_items': len(items), } # Missing: absurd_client.set_checkpoint(...) ``` ## Impact - If worker crashes during ForEach/While loop, progress is lost - Loop restarts from beginning instead of last completed iteration - Violates DBOS atomic transaction principle ## Fix Call absurd_client.set_checkpoint() after updating cache, OR implement cache-flush mechanism at transaction commit
Priority
Low
Medium
High
Critical
Status
Open
In Progress
Closed
Won't Do
Due Date (YYYY-MM-DD)
Tags (comma separated)
Related Issues (IDs)
Enter IDs of issues related to this one. They will be linked as 'related'.
Update Issue
Cancel