Repository navigation
Conversation
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d7fcf2443d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
|
Thanks for the PR and for tracking down the cold-start ownership-helper issue! The deadline separation and compiler-cache improvements are much appreciated. |
…o#1139) * fix(process): avoid cold ownership helper deadline exhaustion Fixes morluto#1137. * test(process): fix cold ownership test deadlines and cleanup * fix(process): isolate Swift cache overrides and retain diagnostics * test(electron): assert blank path rejection without trim assumptions --------- Co-authored-by: Chris <Chis@RICH-13918M.local> Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
Summary
Problem and behavior change
On a cold macOS CLI process, compiling the native process-ownership helper took about 18.6 seconds. That prerequisite ran inside the source-map codec's 20-second deadline and the acceptance harness's 15-second subprocess deadline, so valid source-map work could be cancelled before the codec launched.
This change preserves the helper's PID/start-identity and run-token ownership checks, but avoids intentionally cold system-module compilation on every REA process. Ownership preparation remains abort-aware and completes before the codec-specific deadline begins. Preparation failures retain the source-map operation, map path, failed phase, and underlying error.
Fixes #1137.
Verification
npm run test:focused -- tests/boundary/process/darwinProcessRunTokenReader.test.ts tests/boundary/javascript/sourceMapDecoder.test.tsnpm run test:focused -- tests/acceptance/webSourceLocationCli.test.tsnpm run check:fastnpm run verify:packageCoverage limits
The exact CLI/stdio MCP parity acceptance was run on a warm compiler-cache path and passed. A separate real cold ownership preparation took about 18.6 seconds and was followed by successful real codec execution. Deterministic deadline-separation, compiler-cache, cancellation, and cleanup regressions cover the cold behavior independently.
Optional Hopper, Ghidra, and IDA verification was not performed; those providers are not involved in this process/source-map boundary change.