Skip to content

Comments

fix(taskctl): worktree checkout on feature branch and immediate reschedule after commit (#281, #282, #283)#284

Merged
randomm merged 4 commits intodevfrom
fix/issue-283-worktree-branch-and-scheduling
Feb 21, 2026
Merged

fix(taskctl): worktree checkout on feature branch and immediate reschedule after commit (#281, #282, #283)#284
randomm merged 4 commits intodevfrom
fix/issue-283-worktree-branch-and-scheduling

Conversation

@randomm
Copy link
Owner

@randomm randomm commented Feb 21, 2026

Fixes #281, #282, #283

Changes

Bug 1 (#282): Worktree commits land on dev instead of feature branch

Removed --no-checkout from git worktree add in worktree/index.ts. The flag prevented the feature branch from being checked out — subsequent git reset --hard operated on dev HEAD. Without the flag, the branch is checked out immediately on worktree creation.

Bug 2 (#281): Dependent tasks not scheduled after completion

Added jobId parameter to commitTask and immediately call scheduleReadyTasks() after marking a task done. Previously, dependent tasks waited up to 5 seconds for the next Pulse tick — now they're picked up instantly.

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.

fix(taskctl): third task stuck open/idle after dependencies close — Pulse not spawning it

1 participant