Repository navigation
test(hopper): repair Linux demo setup and native verification - #2638
Merged
Merged
Conversation
Integrate main ae80513 while retaining the Linux setup, orphan detection, launcher restoration and explicit string-recognition coverage corrections. Move verification guidance to its current owner and use the test-scoped temporary-directory helper. The checkout matches all 3,175 exported source-file digests of the tested candidate. Git stores the Windows captureGhidraLaunch.cmd fixture with LF; its exported checkout uses CRLF per .gitattributes. It is outside Linux Hopper execution. No native run is attributed to different runtime bytes. Real Hopper conformance: 9e7de373-4686-4820-ae48-801e536589b7. Uninterrupted Linux setup: 93584b53-944b-47cf-a6a4-b0d4ff8a4961. The exact 97b76aa run remains separate: ae4de7ff-dd2a-4c73-88dc-6dbf1ad7c537. 21 focused tests, check, docs:check, four fixtures, discovery, package verification and pack dry-run passed. Linux native decoded omissions, macOS/other builds and installed npm artifacts with Hopper remain unverified. Refs #339, #340
Integrate main 653067d, preserving the tested Hopper corrections. The incoming changes are JavaScript/Apple implementation and regression updates; Hopper provider, verifier and dependency bytes are unchanged. Real Hopper runs remain bound to exact head 97b76aa and tested checkout f379bc3. This final integration has no new native execution claim. 26 focused tests, full static check and docs:check passed on this tree.
Integrate the verification corrections from #1942 on current main, retaining their original commit history. Reuse the unchanged document inventory and verified source bytes, retain recognition addresses, and reject incomplete or mismatched string evidence.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Linux clean-setup verifier uses outdated setup/doctor contracts, omits required source fixtures, requests a reinstall during its idempotence check, and retains a deleted alternate launcher. Its long-string assertion also requires native recognition that the supported Linux Hopper demo does not provide for this fixture.
Integrates @LuisTaffelli's corrections from #1942 on current main, preserving the original commits, with a small follow-up that reuses this document's string inventory and verified source bytes, retains source addresses in recognition reports, and rejects incomplete reads. This PR supersedes #1942; #339 and #340 remain open.
Validation on commit
11c188523aedd7f6bdddd60251bf2811748c70ff:npm run check,docs:check, test discovery (1,026 files exactly once), andverify:packagepassed.verify:setup:linuxpassed in a disposable Ubuntu 24.04.4 x64 container, Node 24.18.0/npm 11.16.0, Hopper 6.4.2 demo. Prerequisites were already provisioned; no cached Hopper package restoration was used. Dry-run was read-only, approved installation succeeded, scoped doctor was healthy, modified-launcher rejection passed, and repeated setup had zero actions.7159937b45eab0bc879b32758dd2b0f209d2c9a7b33fa724ca4c7f9d3a8d19a9,2e55ae838ce075af9e58393df6d01b9e6fe3be9d7ab3e8416c5706cdde19f50e,1d42652a16ac9143a7a0816931b3e3d67c9001e4df27f63bfc7cd32ee087a707.The complete installation/native verification took 121.75 s with 137.65 s of dedicated-container CPU time. Sampled summed process RSS peaked at 1.89 GiB (50 ms
/procsampling, shared pages counted per process; estimate, not PSS). Build artifacts were warm; Hopper installation and the empty HOME were fresh. These measure the full verification workload, not routine analyst latency or a before/after speedup. Inventory reuse removes one full-list call; source-byte reuse avoids duplicate reads for recognized source-owned objects. No persistent live-state cache is introduced. Production responses are unchanged. A separate real Codex CLI 0.161.0 task on 11c1885 (unchanged production runtime) used four selected MCP tools (open, exact procedure search, 16-byte read, close), completed in 31.86 s without retries, and returned 304 output tokens plus 51 reasoning tokens. Client-reported cumulative input was 89,316 tokens, including 62,720 cached; this is whole-client multi-turn context, not the REA payload alone. Its answer and Evidence ID were checked against the successful read and independent ELF bytes. The client warned that two test-harness approval settings were ignored; execution used the explicit unattended fixture-test mode, and that warning is not a REA failure. Copied authentication was removed. CPU/RSS for this separate client task were not measured.Coverage is this Linux demo build and source CLI/MCP. Real macOS, installed-npm behavior with real Hopper, omitted long/non-ASCII native decoding, interruption of synchronous native work, and saved-database persistence remain unverified. The package verifier is separate evidence, not a real-Hopper package claim. Initial command/permission failures are retained outside Git and excluded from passing results.
Post-merge verification found a separate observer false positive: an ordinary process mentioning runtime names in its arguments is reported as a leak. The procfs argv correction and its later native measurements are follow-up work; they are not changes or native evidence for the merged head above.
The unrelated-process sentinel in this lane is a Node process titled Hopper; it does not establish behavior with a second real Hopper demo GUI.