You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: setup-workspace silently branched from HEAD when the base had no origin/ ref. The three creation paths (in place, linked worktree, new
worktree) ended in … "origin/$BASE" || … <no start point>, so a base that
existed only locally produced a branch at the current HEAD while the output
still said BASE=<base>; review diff and PR base then disagreed with the
branch. The start point is now resolved once — origin/<base>, else the local <base>, else ERROR=cannot-resolve-base (exit 2, nothing created) — and used
by all three paths. Covered by tests/setup-workspace.sh.