fix: queue worker termination when not yet connected to hub #121
No reviewers
Labels
No labels
good first issue
has-pr
help wanted
idea
priority
critical
priority
high
priority
low
priority
medium
status
blocked
status
in-progress
status
needs-review
status
ready
type
bug
type
docs
type
enhancement
type
feature
type
refactor
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
customable/claude-mem!121
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/120-worker-termination-busy-check"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
When terminating a worker that wasn't yet connected to the WorkerHub (
connectedWorkerId = undefined), the busy-check was completely skipped and the worker was immediately killed - even if it was actively processing a task.Solution
Added safety check: If a worker has
status: 'running'but no hub connection yet, queue the termination instead of killing immediately.Test Plan
Fixes #120
🤖 Generated with Claude Code
fa2a0c71595af36519dc5af36519dc90f7a71290