Skip to content

Bound desktop shell probe termination - #3491

Merged
SawyerHood merged 2 commits into
mainfrom
slopcop/issue-3484
Sep 11, 2026
Merged

SawyerHood merged 2 commits into
mainfrom
slopcop/issue-3484

Conversation

@bb-slop-cop

@bb-slop-cop bb-slop-cop Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

🚨 SLOP COP 🚨 · new-issue-autopilot

Human comments

What was wrong

The desktop startup PATH probe invokes interactive zsh synchronously. Its default timeout signal can be ignored, leaving startup blocked until the shell exits. A controlled six-second shell startup exceeded the configured two-second timeout in two clean trusted checkouts.

Reproduction report

What changed

Use SIGKILL when the existing probe timeout expires. Add a macOS regression test through the existing public function, with isolated shell configuration and restored environment state. Keep the existing timeout and PATH fallback policy.

37 changed text lines (37 additions, 0 deletions), two files in the desktop subsystem. No dependencies, data, protocol, public API, or packaging changes.

How you verified

  • New regression failed on unchanged main: approximately 6 seconds exceeded the 3.5-second allowance.
  • Same source reproduction passed after the fix in 2,003 ms.
  • pnpm exec turbo run test typecheck --filter=@bb/desktop: 43 files passed; 324 tests passed, one skipped; typecheck passed.
  • Trusted-base full Turbo build passed all 55 tasks.
  • git diff --check passed; no binary changes. Changed-source and publication private-model scan clean.
  • Packaged GUI launch was not exercised; the regression invokes its actual PATH-loading function.

Fixes #3484

AGENT GENERATED

@SawyerHood
SawyerHood merged commit 9a8b955 into main Sep 11, 2026
16 checks passed
@SawyerHood
SawyerHood deleted the slopcop/issue-3484 branch September 11, 2026 17:14
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.

Desktop app hangs at launch: the login-shell PATH probe is never killed (interactive zsh ignores SIGTERM)

2 participants