Skip to content

fix(hopper): report launcher failures before bridge timeout - #1105

Merged
N0zoM1z0 merged 2 commits into
mainfrom
fix/hopper-helper-startup-failures
Oct 8, 2026
Merged

N0zoM1z0 merged 2 commits into
mainfrom
fix/hopper-helper-startup-failures

Conversation

@N0zoM1z0

@N0zoM1z0 N0zoM1z0 commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

A failed macOS Hopper launcher helper was ignored until the bridge readiness timeout, hiding the observed Spotlight discovery error behind a generic startup timeout. Stop waiting after an observed nonzero/signal helper exit, preserve its stdout/stderr, exit code and signal in details.launcher, and keep the GUI state unknown. A successful helper exit still hands off to the GUI normally. The native launcher keeps ownership of its helper process group for cleanup while declaring the external GUI lifetime separately; helper exit must not mark that GUI exited. An owned provider exit, including exit 0 before readiness, reports the observed process exit.

Launcher output drainage is bounded because descendants may inherit its pipes. Diagnostics report output closure/truncation and redact only the session transport credential, preserving caller evidence.

Validation: six new regressions fail before their respective fixes; 93 focused startup, protocol, health, cleanup, lease and error-projection tests pass. Build, static checks and generated-document checks pass.

The final installed package (d898981f, SHA-256 c3f0e1c757f56a368c60ff3b933d75d1f93cf52a740649b4fec670b3003d2b67) passes the unmodified real Linux Hopper 6.4.2 CLI/MCP verifiers, including target identity/switching, 1,205-item inventories, unrelated-process survival and clean shutdown. A native macOS official-demo probe uses identical production source and confirms exit 3 plus the original Spotlight error are returned promptly with GUI state unknown while the GUI remains running. Full macOS analysis is not qualified: the runner's official helper cannot find Hopper through Spotlight, and the initial demo dialog is still being initialized. No Hopper/Ghidra support expansion is claimed.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@N0zoM1z0 N0zoM1z0 left a comment •

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maintainer validation: six regressions reproduce the timeout and helper/GUI lifetime mistakes; 93 focused tests and static/docs checks pass. All 25 checks passed at d898981 before merge. The installed package passes real Linux Hopper CLI/MCP analysis and cleanup. The actual macOS helper failure also reports its Spotlight error immediately while preserving unknown GUI state. Follow-up installed-package verification with current main and #1111 now passes full macOS Hopper 6.6.0 Demo analysis, cancellation recovery, target-switch/explicit-close disposal, CLI/MCP parity and clean shutdown; the separate installed CLI passes too. The original older-database GUI Cancel/overlay behavior remains unverified.

@N0zoM1z0
N0zoM1z0 merged commit cd756b0 into main Oct 8, 2026
25 checks passed
@N0zoM1z0
N0zoM1z0 deleted the fix/hopper-helper-startup-failures branch October 8, 2026 17:51
darsrc pushed a commit to darsrc/rea that referenced this pull request Oct 10, 2026
…1105)

* fix(hopper): report launcher failures before bridge timeout

* fix(hopper): separate helper ownership from GUI lifetime
@morluto morluto added bug Something isn't working area: native Native analysis and decompilation, including Ghidra, IDA, and Hopper analysis behavior labels Oct 14, 2026
@morluto morluto added area: bridge Hopper bridge (Python) related changes provider: hopper Analysis provider / engine: hopper labels Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: bridge Hopper bridge (Python) related changes area: native Native analysis and decompilation, including Ghidra, IDA, and Hopper analysis behavior bug Something isn't working provider: hopper Analysis provider / engine: hopper

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants