Queue daemon: hardcoded origin/main..HEAD for commit detection #165
Reference in New Issue
Block a user
Delete Branch "%!s()"
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
The queue daemon's check_task_completion() uses hardcoded 'origin/main..HEAD' to detect if a task has commits:
This assumes all worktrees track 'origin/main', which may not be correct for:
Expected Fix
Make the base branch configurable via:
Severity
Medium - works for most users but breaks for forks/custom setups
I am thinking of the config should be in each repository. but we can always have default config that applicable to every repository as long as not being override. what do you think?
Implemented in PR #257: #257