>_
.issue.db
/highway-workflow-engine
Dashboard
Issues
Memory
Lessons
Audit Log
New Issue
Edit Issue #243
Update issue details
Title *
Description
When a workflow is cancelled, shell processes spawned by tools.shell.run are NOT terminated. Current cancel logic: 1. Cancels Absurd task queue entry 2. Updates workflow_run status 3. Cleans up Docker containers Missing: No mechanism to kill subprocess.Popen processes spawned by ShellOutputStreamer or shell tools. Result: Orphaned processes continue running after workflow cancel. Reproduction: 1. Start workflow with long-running shell command (e.g., http.server) 2. Cancel workflow via API 3. Check: process still running (ps aux | grep http.server) Fix needed: 1. Track PIDs in activity_queue or separate table 2. On activity cancel, send SIGTERM then SIGKILL to tracked PIDs 3. ShellOutputStreamer needs to store process.pid and expose kill method
Priority
Low
Medium
High
Critical
Status
Open
In Progress
Closed
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