Repository navigation
fix(hopper): verify lease cleanup and repair the macOS test lane - #1111
Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
N0zoM1z0
left a comment
There was a problem hiding this comment.
Integrated current main without dropping owned-process and lineage checks. All 21 focused regressions and build/static/docs checks pass. The initial real macOS package run confirms the shared-parent false positive is fixed; final integrated Linux/macOS, concurrent-session proof and exact-head CI are running.
N0zoM1z0
left a comment
There was a problem hiding this comment.
Follow-up validation at 0e0df74: all 23 checks pass, including 42 native Darwin lifecycle tests. morluto merged while the final x64 job was pending; its result is now verified. Installed-package Linux Hopper 6.4.2 and macOS Hopper 6.6.0 Demo pass analysis, cancellation recovery, CLI/MCP parity and cleanup. The real macOS concurrent-session check rejects the second same-target owner while preserving the first document. Original older-database overlay and sequential cross-session reuse remain unverified.
…luto#1111) * fix(hopper): distinguish shared lease roots from leaked sessions * fix(ci): follow the moved process CLI regression tests
Verify real Hopper cleanup against owned session roots and individual target-lease resources. The old prefix-only check falsely rejected an empty shared lease parent; the current main ownership check also overlooked sockets inside that parent. Keep an empty shared parent, reject retained leases and invalid lease roots, and preserve completed observations plus exact retained paths on a cleanup failure.
Reuse the production lease-parent constant and retain main's process ownership and lineage checks. This does not change Hopper launch, document retention, or cleanup authority.
The integrated CI run also exposed a stale macOS test path after
processCli.test.tsmoved. Point that lane at the current file and validate every focused CI test path so a rename cannot silently leave the lane stale.Validation:
/tmp/rea-hopper-501shared parent after actual Hopper analysis. Two deterministic resource-classification regressions fail before the fix.npm run build:cached,npm run check:fast, andnpm run docs:checkpass.Found during investigation of #494 and #479. The original older-database GUI overlay and cross-session document reuse reports remain open; this PR does not establish those behaviors. No Ghidra/IDA behavior or caller-visible schemas change.
Real Ghidra/IDA verification was not run because those providers are unaffected.
Merge timing: morluto merged while the final macOS x64 CI job was pending. Its success and all other exact-head results were subsequently verified.