The git-branchless pre-push hook is broken - it panics when trying to run CI tests on push.
The application panicked (crashed).
Message: A fatal error occurred:
0: Failed waiting on workers
1: Worker 2 failed when processing commit...: Git subprocess failed:
Args: [... "checkout", "--force", "..."]
Result: <GitRunResult exit_code=ExitCode(128) ...
stderr="fatal: not a git repository: ...worktrees/testing-worktree-2">
Use --no-verify on git push to bypass the hook.
The branchless worktrees used for parallel CI testing have stale references or were partially cleaned up.
1. Clean up stale worktrees: git worktree prune
2. Recreate branchless test infrastructure
3. Fix the worktree paths in branchless config
Fixed by pruning stale worktrees:
Removed 4 stale testing worktrees that were pointing to non-existent locations. The branchless test infrastructure should now work properly.
Root cause: The worktrees were created for parallel CI testing but the actual directories were deleted while .git/worktrees references remained.