gate: run clean inside a linked git worktree #580
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sixfold-space/madtea#580
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Context
madtea manages linked git worktrees natively through its
worktreecommand,but
scripts/gate.shhas only ever run in the primary checkout. The gate mustproduce the same result inside a linked worktree. The repo self-hosts, so its
own gate must be worktree-clean.
What
Run the full gate inside a linked git worktree. Fix any failure that comes from
the worktree layout rather than from branch content. Known seams to check:
.gitis a file (a gitdir pointer), not a directory.Any
[ -d .git ]test or path arithmetic on it breaks.conformance/mcp-client/node_modulesis absent in a fresh worktree; prime itwith
npm ci. If mcp-conformance.sh hardcodes paths relative to the primarycheckout, it still breaks.
expected to work.
directory; per-worktree, expected to work.
addressed); watch for flakes.
Acceptance
only to branch content.
documents worktree compatibility.