Repository navigation
fix(test): load real Frida verifier address dependency - #8596
Conversation
[Low impact] This test-only change appears safe to merge. SummaryReplaces the Frida fixture’s validator stub with the actual built domain module.
Reviews (2) · Last reviewed commit: "merge: integrate main into the Frida ver..." · Reviewed by Greptile |
|
Cross-PR note: #8596 and my #8592 are currently mutually blocking, because each PR's merge ref inherits the other regression from
So whichever lands first needs one failing check accepted; the second then goes green against a fixed If you'd rather have a single green PR instead, I have the fixture-path fix tested locally (8/8 passing on Node 24.22.1) and can fold that one line into #8592 in a minute — just say which you prefer. I left #8592 as formatting-only for now so it stays out of your way. |
|
I dug into the The underlying direct error
So it is not an observation-semantics failure — the second (direct) CDP WebSocket connection is reset before it opens. The Baseline causality (verified)
So the trigger is specifically the MechanismThe first
That block is what breaks the later direct observation: the fake Inspector's in-process HTTP server has Node's default Evidence for that link:
Where that leaves the fixThe assertion itself looks right; the fragility is the fixture sharing one keep-alive pool with a call that blocks for ~8s. Three options, your call:
I have not touched |
|
CI confirmation on the combined branch (#8592, head
So: #8592 + #8596 → |
|
Cross-PR integration proof, without changing either maintainer/contributor branch: I assembled an isolated fork-only tree from upstream Both exact-source validation jobs passed: combined GitHub Actions run (VFPU job This is integration evidence, not an upstream merge, full sharded CI qualification, a replacement for either PR, or a human-readiness declaration. I made no changes to #8592, #8596, or the two PSP PR source branches. The two original baseline fixes can be integrated in whichever order the maintainers choose (or consolidated by their authors as already offered); this combined test demonstrates that they work together without the previously observed baseline errors. |
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. |
Keep main's dist/domain path and the branch's copy of the real address module, so the cleanup fixture no longer substitutes a constant stub.
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
Summary
Fixes #8595. The Frida verifier cleanup fixture installed an address-validator stub at the obsolete
dist/contractspath, while the verifier importsdist/domain. The test failed at module loading before reaching the cleanup assertions.Copy the actual built domain module into the fixture and remove the unused stub. Provider-facing manager and service boundaries remain controlled; the real validator is no longer mocked.
Contract and boundary impact
Test-only fixture correction. No CLI/MCP, provider, target, Evidence, package, or installation behavior changes. The test launches a controlled Node subprocess and writes temporary test files; it does not run real Frida or establish real-provider behavior. No new contribution-scope decision is applicable.
Evidence and regression coverage
On base
d3ab0faf5,npm run test:focused -- tests/boundary/process/providerVerifierCleanup.test.tsfailed four Frida cases withERR_MODULE_NOT_FOUNDand passed four JEB cases. With this change all eight pass, including undefined/null primary failures and cleanup denial. The same missing module caused Linux CI failures on #8591. The fixture copies the built module consumed by the actual verifier and continues testing the same cleanup outcomes.Validation performed
npm run test:focused -- tests/boundary/process/providerVerifierCleanup.test.ts— 8 passed on macOS arm64, Node 24.22.1.npm run check:fast, formatter check for the changed file, andgit diff --check— passed.javascriptRuntimeObservationMcp.test.tsat the direct inspector assertion (direct.okwas false); the same assertion failed independently on the other PR. The log does not show the underlying direct error, and baseline causality remains unverified.Compatibility, safety, and release
No production change. The baseline's unrelated repository-wide formatting failures are tracked separately in #8592.
Author readiness
Human owner: