Repository navigation
Commit 8dc3e6f
fix(desktop): let the server hydrate PATH when the shell env cache misses
installIntoProcess reported the shell environment as prepared even on a
cache miss, before anything reached process.env. The server then skipped
its own PATH hydration and probed providers with the bare launcher PATH,
reporting login-shell-only CLIs as missing for the session.
Yield true only when a cached environment was applied. Discovery still
runs in the background in both cases, so startup stays non-blocking.
Fixes #28714
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 18f5fa5 commit 8dc3e6f
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| |||
622 | 623 | | |
623 | 624 | | |
624 | 625 | | |
625 | | - | |
| 626 | + | |
| 627 | + | |
626 | 628 | | |
627 | 629 | | |
628 | 630 | | |
| |||
648 | 650 | | |
649 | 651 | | |
650 | 652 | | |
651 | | - | |
| 653 | + | |
652 | 654 | | |
653 | 655 | | |
654 | 656 | | |
| |||
0 commit comments