Repository navigation
test(evm): verify real worker cancellation and cleanup recovery - #2404
Merged
Merged
Conversation
Exercise unchanged EVMole worker replies through actual compiled CLI and stdio MCP workflows. Verify late SDK cancellation, permission-induced cleanup failures with original format diagnostics, retained resource retries, and a healthy real SQLite WASM peer. Preserve frozen-runtime/source fingerprints and distinguish the unrelated latest-main build failure from this verification scope. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Record all three final-source real carrier workflows and their resource measurements, preserve the historical main build failure, and distinguish the fresh build/focused SDK tests and actual Factory lifecycle rerun after the maintainer's independent main correction. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
34 tasks done
Replace the disabled-gate marker assertion with an append-only launcher receipt written before the real worker starts. Failed retries must preserve that log byte-for-byte, establishing that the retained resource prevents a new EVM launch. All three related real Factory workflows, old CLI parity, healthy WASM peer and cleanup pass again; broader domain/model matrices are not repeated. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
N0zoM1z0
marked this pull request as ready for review
October 12, 2026 22:04
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
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.
Continues #2016 with real EVM descriptor lifecycle acceptance. An unchanged EVMole 0.9.3 worker produces the actual reply before a private fixture briefly holds command completion. Public CLI/stdio MCP workflows verify late SDK cancellation, permission-induced cleanup failure, retained-resource retry, preservation of original malformed-input diagnostics, and a healthy real SQLite WASM peer. Production code and existing API/default behavior are unchanged.
The verifier records source/runtime/input fingerprints, validates token/native process ownership before fault injection, restores permissions, preserves verification/cleanup errors together, and checks final point-in-time lineage after shutdown. Raw JSON, runtime copies, downloaded artifacts and fixtures remain outside Git.
Validation:
2fec069b53324ef82070d323b26dd613b6da0caa7f18100adbeb39b045cf98dc; frozen runtime source67f817e3653efad35f7044e68fbd6f163b86864b, runtime file tablecf03167870ac9def929cfaab536d6bd791089031660d1b35bff20672ac07cbbf. Input/runtime/source bytes unchanged; provider token sweeps and final verifier lineage pass.Limits and baseline issue:
81cca2e0e3ebd98c21f41d7ad63d6a00e4cbc3f9failed build withcontractToolHandler.ts(69,38): TS2554 (expected 4 arguments, got 3). Independent mainfdd8f826023c568937d237c2f97d855de283a9b8CI 38309578208, Build package job 115011872852, reports the identical failure. This PR changes only experiment verifier/docs; the unrelated regression is recorded in the maintainer-requested private /tmp bug handoff and is not repaired here. The maintainer independently fixed the producing caller in main8fc2043eb8bcedbf34dce064f977e455438635d6; this branch is rebased onto that correction. A fresh build and all 10 related EVM MCP boundary tests pass. The same verifier also passes real Factory CLI/MCP cancellation/cleanup/healthy-peer workflows on built runtimeb3eadf147221a2fa997ac26667a183ca5bccb1f4: 24.285 s / 1,146,167,296 sampled peak bytes / 23.662 s last-observed CPU. Earlier frozen receipts remain pinned to their original source. The corrected main CI 38310533698 completed successfully.Local full typecheck passes with the installed compiler's supported
--singleThreadedscheduling option: all project files/checks retained, 51.868 s / 2,016,690,176 sampled peak bytes. Default-mode local attempts stopped at the unchanged 3 GiB safeguard and are not passes. For the branch push only, a private command-scoped pre-push hook performs the dependency check, this complete typecheck and unchanged lint; repository hooks/configuration remain unchanged and no check is omitted. Remote CI uses the repository's default mode. Other static gates (lint, format, knip, metadata) pass; architecture guards and generated documentation checks pass (including the two onboarding example checks).No release publication or deployment. Final head
cf558a0661eb29bda932242abc3687b1860428e7passes all 36 checks, including completed CI 38313631216. Final manual review is complete. The meaningful launcher-observation correction below is included and verified; automated review approval is not claimed.Final manual-review correction: checking for an absent marker while the gate is off does not prove no worker launch. The fixture now appends a launcher receipt before the actual worker starts; both failed cleanup retries must preserve that log byte-for-byte. All three related real Factory scenarios, CLI parity, healthy WABT peer and final cleanup pass again with final verifier source
fc9a50e2e54e4c8eede4b8a19283e11ddaa1faadea52eebc390b55b5a1902668: 23.579 s / 1,163,685,888 sampled peak family bytes / 23.110 s last-observed CPU. Only the related workflow and source/docs/static checks are repeated; wider domains/models are not rerun. Final pushed head iscf558a0661eb29bda932242abc3687b1860428e7.