gsxdsm
84830595f2
FN-6485: remove synchronous CLI probes
Remove blocking execSync validation paths from CLI process managers while preserving async probe coverage.
- Drop synchronous Claude and Droid CLI presence/auth validators from process managers.
- Keep async spawn-based validation as the sole probing path for session startup.
- Replace sync validator tests with execSync guard coverage for both CLI integrations.
Files changed:
.../droid-cli/src/__tests__/execsync-guard.test.ts | 17 ++++++++
.../src/__tests__/process-manager.test.ts | 46 +---------------------
.../src/__tests__/execsync-guard.test.ts | 14 +++++++
.../src/__tests__/process-manager.test.ts | 46 +---------------------
.../pi-claude-cli/src/__tests__/provider.test.ts | 1 -
packages/pi-claude-cli/src/process-manager.ts | 44 +++------------------
.../src/process-manager.ts | 43 +++-----------------
7 files changed, 45 insertions(+), 166 deletions(-)
Fusion-Task-Id: FN-6485
Fusion-Task-Lineage: e3f0f656-3445-4672-b597-a811924137e9
2026-06-16 15:08:24 -07:00
..
2026-06-14 22:43:49 -07:00
2026-06-15 12:34:44 -07:00
2026-06-14 22:43:49 -07:00
2026-06-14 22:43:49 -07:00
2026-06-15 16:57:35 +08:00
2026-06-14 22:43:49 -07:00
2026-06-14 22:43:49 -07:00
2026-06-16 15:08:24 -07:00
2026-06-08 15:19:27 -07:00
2026-06-14 22:43:49 -07:00
2026-06-14 22:43:49 -07:00
2026-06-14 22:43:49 -07:00
2026-06-14 22:43:49 -07:00
2026-06-14 22:43:49 -07:00
2026-06-15 16:57:35 +08:00
2026-06-14 22:43:49 -07:00
2026-04-09 20:19:43 -07:00