Repository navigation
test(ci): correct Rizin readiness and Hopper launcher fixtures - #3299
Conversation
Fixes #3295 Co-authored-by: Kaoru0822 <208281322+kaoru0822-kitauji@users.noreply.github.com>
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
|
Current-head CI failed three setup/uninstall positive fixtures outside this PR's only changed Rizin test. I reproduced all three on a clean tracked copy of parent main Tracked independently in #3301; production ownership checks and unknown/foreign registration protections must remain intact. No Rizin assertion, timeout or retry is being weakened. This PR's seven affected Rizin files pass all 60 tests locally; its complete hosted mutation job is still running. The required gate remains red until the independent main fixture failures are resolved and the resulting revision is validated. |
Co-authored-by: Kaoru0822 <208281322+kaoru0822-kitauji@users.noreply.github.com>
Fixes #3341 Co-authored-by: Kaoru0822 <208281322+kaoru0822-kitauji@users.noreply.github.com>
Fixes #3406 Co-authored-by: Kaoru0822 <208281322+kaoru0822-kitauji@users.noreply.github.com>
Co-authored-by: Kaoru0822 <208281322+kaoru0822-kitauji@users.noreply.github.com>
Co-authored-by: Kaoru0822 <208281322+kaoru0822-kitauji@users.noreply.github.com>
…uisite Co-authored-by: Kaoru0822 <208281322+kaoru0822-kitauji@users.noreply.github.com>
Main changed the same fixture before #3299 merged. Remove the obsolete synthetic loader setup, preserve main native platform readiness and exit assertions, and keep the Rizin readiness fix intact. Fixes #3406 Co-authored-by: Kaoru0822 <208281322+kaoru0822-kitauji@users.noreply.github.com>
|
Correction to the earlier verification claim: main advanced from I reproduced the failure on actual merged main |
Summary
Fixes #3295 and #3406. The real-child Rizin stdin-closure fixture announced readiness before closing stdin, so a parent write could legitimately succeed before the condition asserted by the test held. Close stdin before emitting the same NUL readiness frame.
Change and scope
The owned Rizin delta is one shell-command reorder and a comment. The real owned child, 500 ms command deadline, failure assertion, closed-session assertion and cleanup remain intact. No production code changes.
Current head
c61c537ddintegrates mainba33c706dand the unchanged Hopper fixture prerequisite #3410 (a89ce212d). That prerequisite has its own issue/branch/commit. The current qualified integration tree will merge both fixture fixes; #3410 will then close as incorporated, without claiming it was separately merged. Main's wrapper ownership producer correctiondae1e5538is retained, including its original positive assertions. Withdrawn JavaScript test-only changes are absent from the current tree.This is an ordinary test correction within existing boundaries; a new capability scope decision is not applicable. Public CLI/MCP, evidence/provenance formats, generated metadata, packages and releases remain unchanged.
Evidence and validation
307af044: Stryker's real initial test run failed this assertion (expected true to be false). Full mutation and preflight-only modes execute the same initial-test path.sleep 0.2between the original readiness and stdin closure reproduces the failure. Closing stdin before readiness passes the unchanged assertion. The temporary delay is absent from this PR.npm run test:focused --with all fiveRizinDebugSessionCoverage.part*.test.tsfiles plusRizinCommandTimeout.test.tsandRizinTimeoutEvidence.test.ts— 7 files / 60 tests passed in 8.51 s on the current integrated tree.npm run check:ci— 8 tasks and architecture guards across 1,394 files passed. Normal pre-push checks passed.git diff --check— passed.Executed on Linux / Node 24.18.0 / npm 11.16.0 / Vitest 5.0.3. These are real owned shell children exercising the Rizin manager; they do not establish compatibility with an installed Rizin engine. The existing Windows skip remains intact.
Superseded hosted runs exposed independently reproduced main issues (uninstall fixture ownership and the wrapper static producer). Their failed evidence is retained. The current revision incorporates the corrections; no blind retry, assertion relaxation or full-mutation success is claimed from those failed attempts. Current-head hosted CI passed all required checks and both complete mutation passes. Its merged portable report verifies 1,273 unique files, 14,521 passing tests, 126 skipped and zero failures. Current Greptile review is 5/5 with no inline findings.
Author readiness
Human owner: @N0zoM1z0
AI-assisted preparation. The human owner explicitly confirmed review of this PR's diff and validation evidence, accepted responsibility, and dictated all three declarations on 2026-10-14.