>_
.issue.db
/highway-workflow-engine
Dashboard
Issues
Memory
Lessons
Audit Log
New Issue
Edit Issue #362
Update issue details
Title *
Description
## Issue The heartbeat service in engine/services/heartbeat_service.py:179-207 updates heartbeats without committing the transaction. ```python with db.get_db_connection() as conn, conn.cursor() as cur: for queue_name, run_ids in runs_by_queue.items(): cur.execute(...) # BUG: No conn.commit()! ``` The get_db_connection() context manager does NOT auto-commit. The UPDATE statements are never committed. ## Impact - Heartbeats are never actually persisted - TimeoutService sees stale last_heartbeat values - Running tasks will be incorrectly marked as timed out ## Location engine/services/heartbeat_service.py:179-207 ## Fix Add conn.commit() after the UPDATE loop
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