Repository navigation
Use login-shell PATH for daemon user tools - #2252
Merged
ymichael merged 1 commit intoAug 21, 2026
Merged
Conversation
ymichael
deleted the
bb/investigate-missing-pr-card-lookup-thr_quj6use3gt
branch
August 21, 2026 20:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was wrong
The host daemon launched some user-installed tools with its minimal service
PATHinstead of BB's resolved login-shellPATH. This made workspace GitHub discovery reportGitHub CLI is not availablewhenghwas installed in a user path such as~/.local/bin, even though the same lookup worked interactively. The inconsistency also affected direct workspace Git and editor/launcher CLI discovery. This is separate from #2242, which concerns turn dispatch.What changed
PATHthrough PR lookup/actions, workspace Git operations and provisioning, project and branch commands, and Git-ref file reads.PATHfor local editor/launcher CLI discovery and launch while leaving OS/service utilities on the controlled daemon environment.gh, Git commands and pipelines, daemon workspace provisioning/dispatch, and local open-target discovery/launch.HOST_DAEMON_PROTOCOL_VERSIONwas not incremented.How you verified
pnpm exec turbo run test typecheck --filter=@bb/host-daemon --filter=@bb/host-workspace --filter=@bb/local-open-targets --forceFixes: no linked issue.