Repository navigation
fix(windows): preserve transient runtime admission failures - #2467
Conversation
Preserve producer retry disposition through shared analysis errors, and require affirmative pre-allocation evidence for warm native admission failures. Retain cleanup ownership and permission failure semantics. Verified with real Windows 11 CLI, SDK stdio MCP, kernel sharing conflicts and the native verifier; 99 related tests passed. Performance and verification limits are recorded in experiments/analysis-efficiency/windows-runtime-retry.md. No IDA engine was used for this change.
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
@codex review Please inspect structured pre-allocation evidence, retry disposition propagation, cleanup precedence, resource ownership and the mandatory real-Windows verifier regression. The verification note separates real-provider evidence from injected boundaries and records performance limitations. |
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. |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
…2467) Fixes morluto#2257. Thanks to @chqcjq for the native self-test retry diagnosis in morluto#2266. Preserve retry disposition through analysis workflows. Native warm admission requires exact sharing/lock codes and affirmative pre-allocation evidence; cleanup ownership takes precedence. No automatic retry or new analysis cache. Verified with real Windows 11 CLI, same-connection SDK MCP normal/conflict/recovery, the Windows native verifier, 99 focused tests and static/docs gates. Official npm 11.16.0 launcher sources were the application input. No IDA or Ghidra engine was used for this change. Win32 5 was not reproduced; no resolution claim for morluto#1701/morluto#2196. Performance measurements and limits are recorded in experiments/analysis-efficiency/windows-runtime-retry.md.
Summary
Fixes #2257. Follow-up to the transient native self-test diagnosis in #2266; thanks to @chqcjq for that investigation.
runtimeAllocation: "not-started"evidence only for failed parent admission, before directory creation; the adapter requires that evidence and exact numeric Win32 32/33 codes.category: unavailableand an appropriate retry instruction. No automatic retries, extra engine calls or new analysis cache.Verification
Real Windows 11 (10.0.22631.0), official Windows x64 Node 24.18.0, locked production dependencies, official npm 11.16.0 launcher sources as the real application input:
unsupported_provider/retryable: false; the correction preserves the reason and reportsunavailable/retryable: true.a24d3c2d9897cccc5ba70e9ee4dce03da88f033a939fe87457136fc5b3a3e2db.No IDA or Ghidra engine was used for this runtime fix. Thirty baseline native self-tests passed: Win32 5 from #1701/#2196 was not reproduced on this host and is not claimed fixed.
Efficiency and limits
Measurements and source pins:
experiments/analysis-efficiency/windows-runtime-retry.md.The successful analysis reply remains unchanged within the tested comparison. The warm error reply decreases from 1,218 to 878 serialized bytes. Complete MCP discovery cost 2,498,686 bytes in the paired source comparison; after upstream Android/SAZ changes, the integration replay discovers 2,517,904 bytes. Bytes are not model tokens; actual model usage was not measured. One controlled process-family run observed a sampled working-set sum of about 694 MiB and a CPU-time lower bound of 26.8 seconds; there is no paired resource baseline and no speedup or resource-saving claim. Heavy verification runs used low priority, one CPU and bounded Node heaps. Only owned intermediate files are cleaned.
Main integration
Rebased onto main
a2d8b94dd. The integrated runtime again passed 99 related tests, static/documentation checks and real Windows CLI plus same-connection MCP conflict/recovery. CLI result hashes and MCP successful/error reply sizes remain unchanged; upstream catalogue changes are recorded separately from this fix.