Skip to content

Fix macOS bare worktree test path assertion - #2215

Merged
ymichael merged 1 commit into
mainfrom
bb/post-merge-fix-canonicalize-bare-worktree-test-p-thr_6qhtrfejez
Aug 21, 2026
Merged

ymichael merged 1 commit into
mainfrom
bb/post-merge-fix-canonicalize-bare-worktree-test-p-thr_6qhtrfejez

Conversation

@ymichael

@ymichael ymichael commented Aug 21, 2026 •

Copy link
Copy Markdown
Collaborator

What was wrong

PR #2158's bare-repository provisioning regression test compared git worktree list --porcelain with the lexical temp path passed to createWorktree. On macOS, os.tmpdir() yields /tmp while Git canonicalizes that symlink to /private/tmp, so the feature assertions pass but the package suite fails on path spelling.

What changed

packages/host-workspace/test/provisioning.test.ts now canonicalizes the created target with fs.realpath() before comparing it with Git porcelain, and compares exact output lines.

This is test-only. No production behavior, CLI/guide/docs, SDK/plugin API, or host-daemon wire shape changed; HOST_DAEMON_PROTOCOL_VERSION remains unchanged.

How you verified

  • Before the change, the required macOS Turbo suite failed with 213 passed / 1 failed.
  • The focused bare-worktree regression passes after the change.
  • The full @bb/host-workspace Turbo suite passes with 214/214 tests.
  • The package Turbo typecheck passes; the package has no Turbo build task.
  • git diff --check passes.

Follow-up to #2158.

AGENT GENERATED: by GPT-5.6-Sol

@ymichael

Copy link
Copy Markdown
Collaborator Author

Closing to comply with the parent thread’s explicit no-PR directive. The validated branch remains available for review; no PR should be reopened without specific user authorization.

@ymichael ymichael closed this Aug 21, 2026
@ymichael

Copy link
Copy Markdown
Collaborator Author

Reopening: the user confirms these fixer threads were explicitly authorized to open their PRs.

@ymichael ymichael reopened this Aug 21, 2026
@ymichael
ymichael merged commit 27d1017 into main Aug 21, 2026
25 checks passed
@ymichael
ymichael deleted the bb/post-merge-fix-canonicalize-bare-worktree-test-p-thr_6qhtrfejez branch August 21, 2026 16:54
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.

1 participant