Repository navigation
fix(process): report denied inspection as typed cleanup failures - #9261
Conversation
Codex Review Summary: ❌ FailedThis 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. |
[Medium impact] The reviewed changes appear safe to merge; no new blocking issue was found. SummaryThe PR returns typed cleanup failures with completed Evidence when JavaScript worker inspection fails.
Diagram%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[JavaScript analysis finishes] --> B[Retry cleanup and close invocation resources]
B --> C{Cleanup confirmed?}
C -->|Yes| D[Return Evidence or original failure]
C -->|No| E[Return typed failure with completed Evidence]
E --> F[Launcher retries retained owners]
F --> G{Retry succeeds?}
G -->|Yes| H[No extra warning]
G -->|No| I[Warn on stderr and preserve failure status]
Reviews (12) · Last reviewed commit: "test(cli): retain invocation cleanup in ..." · Reviewed by Greptile |
|
@sandivd thanks for the PR — this branch has merge conflicts with |
b652a8e to
035d56f
Compare
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
Preserve the native ps diagnostic through owned-worker cleanup and finalize one-shot JavaScript analysis before Evidence delivery. Retain mandatory inspection and existing cleanup authority. Preserve the inspector diagnostic when the initial process-table read succeeds but pre-signal revalidation fails, and remove the unreachable typed-error branch so retained artifact retry failures project through the existing cleanup contract.
035d56f to
c2f6ac8
Compare
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
@morluto Rebased onto |
* commit '5c3c1edd72453746266691deca2c7355a8df9b0d': (623 commits) fix(dtbo): keep coverage unknown beyond the declared image (morluto#15182) perf(n64): stream ROM byte-order normalization (morluto#15179) fix(oci)!: keep unobserved directory identity unknown (morluto#15164) fix(nds): bind file names to disjoint FNT subtables (morluto#15178) fix(glb): preserve JSON chunk read failures (morluto#15181) fix(ci): run npm lifecycle hooks in selected host lanes (morluto#15169) fix(artifacts): retain stored files in Godot PCK patches (morluto#15180) fix(setup): do not persist versioned launcher paths (morluto#15123) fix(devicetree): read later FDT versions backwards compatible with v17 (morluto#14136) fix(json): classify JSON input heap headroom and string-ceiling refusals (morluto#14949) fix(macos-pkg): retain cpio hard-link contents (morluto#15157) fix(artifacts): report macOS package bundle release versions (morluto#14860) test(asar): verify cleanup on the original file handle (morluto#15155) fix(ubi): bound smaller-grid probe memoization (morluto#15168) fix(artifacts): distinguish content from containment changes (morluto#15165) fix(bflt): retain complete text when data is truncated (morluto#15160) refactor(domain): reuse graph projection and validation helpers (morluto#15173) fix(iso9660): read a directory record's data length from its little-endian half (morluto#14801) test(ghidra): wait for each fixture spawn before expiring startup (morluto#15172) test(beam): reuse the CLI Evidence reader (morluto#15171) ... # Conflicts: # src/cli/cliCommandRegistrations.ts
|
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 usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
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 usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
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 usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Want your agent to iterate on Greptile's feedback? Try greploops. |
|
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 usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
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 usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
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 usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
1 similar comment
|
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 usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Thanks for the contribution! Merged with the cleanup-owner and final-retry fixes after 59,212 tests passed. Completed Evidence and exit status are preserved. |
…180-warc-archive * commit '5f15fdf457a890a149cbe574cce96e32422c1904': (206 commits) perf(evidence): inspect retained records without building a bundle (morluto#15219) fix(process): report denied inspection as typed cleanup failures (morluto#9261) perf(mcp): complete retained Evidence without rebuilding bundles (morluto#15210) fix(agentenv): stop dry-run tarball reads on cancellation (morluto#15205) perf(png): reuse scanline storage in screenshot comparisons (morluto#15215) fix(javascript): respect Node HTTP path validation (morluto#9684) fix(windows): reject native addons with unusable delay-import tables (morluto#15216) feat(artifacts): inventory Android super image metadata (morluto#14928) fix(paths): reject dotted console device names for portability (morluto#15220) fix(analysis-view): return continuation for GPU pages at the byte limit (morluto#15206) fix(screenshots): report the PNG comparison memory allowance (morluto#15217) fix(process): compare Windows server paths by native realpath (morluto#15044) fix(firmware): recheck decoded member source on completion (morluto#15211) fix(artifacts): check signed BC4 and BC5 DDS payload extents (morluto#15208) fix(artifacts): bound embedded GLB images by the declared buffer length (morluto#15207) perf(ci): confirm test-only macOS selection on Linux (morluto#15203) fix(paths): reject Windows console device names (morluto#14972) fix(artifacts): classify member presence from the absent side coverage (morluto#15200) fix(tar): account for retained pax owner names (morluto#15195) fix(conformance): validate paired fixture count expectations (morluto#14125) ...
…186-evtx-archive * commit '5f15fdf457a890a149cbe574cce96e32422c1904': (89 commits) perf(evidence): inspect retained records without building a bundle (morluto#15219) fix(process): report denied inspection as typed cleanup failures (morluto#9261) perf(mcp): complete retained Evidence without rebuilding bundles (morluto#15210) fix(agentenv): stop dry-run tarball reads on cancellation (morluto#15205) perf(png): reuse scanline storage in screenshot comparisons (morluto#15215) fix(javascript): respect Node HTTP path validation (morluto#9684) fix(windows): reject native addons with unusable delay-import tables (morluto#15216) feat(artifacts): inventory Android super image metadata (morluto#14928) fix(paths): reject dotted console device names for portability (morluto#15220) fix(analysis-view): return continuation for GPU pages at the byte limit (morluto#15206) fix(screenshots): report the PNG comparison memory allowance (morluto#15217) fix(process): compare Windows server paths by native realpath (morluto#15044) fix(firmware): recheck decoded member source on completion (morluto#15211) fix(artifacts): check signed BC4 and BC5 DDS payload extents (morluto#15208) fix(artifacts): bound embedded GLB images by the declared buffer length (morluto#15207) perf(ci): confirm test-only macOS selection on Linux (morluto#15203) fix(paths): reject Windows console device names (morluto#14972) fix(artifacts): classify member presence from the absent side coverage (morluto#15200) fix(tar): account for retained pax owner names (morluto#15195) fix(conformance): validate paired fixture count expectations (morluto#14125) ...
…4075-env-argv0 * commit 'aeea7c25ede5c5e6b16198e60c0eb0475ff6f5d8': (738 commits) fix(hopper): clarify publisher verification failures fix(analysis-view): keep PTX text pages on Unicode boundaries (morluto#15222) feat(mcp): advertise each tool's family in tools/list _meta (morluto#7154) perf(evidence): inspect retained records without building a bundle (morluto#15219) fix(process): report denied inspection as typed cleanup failures (morluto#9261) perf(mcp): complete retained Evidence without rebuilding bundles (morluto#15210) fix(agentenv): stop dry-run tarball reads on cancellation (morluto#15205) perf(png): reuse scanline storage in screenshot comparisons (morluto#15215) fix(javascript): respect Node HTTP path validation (morluto#9684) fix(windows): reject native addons with unusable delay-import tables (morluto#15216) feat(artifacts): inventory Android super image metadata (morluto#14928) fix(paths): reject dotted console device names for portability (morluto#15220) fix(analysis-view): return continuation for GPU pages at the byte limit (morluto#15206) fix(screenshots): report the PNG comparison memory allowance (morluto#15217) fix(process): compare Windows server paths by native realpath (morluto#15044) fix(firmware): recheck decoded member source on completion (morluto#15211) fix(artifacts): check signed BC4 and BC5 DDS payload extents (morluto#15208) fix(artifacts): bound embedded GLB images by the declared buffer length (morluto#15207) perf(ci): confirm test-only macOS selection on Linux (morluto#15203) fix(paths): reject Windows console device names (morluto#14972) ...
…0374-skill-guidance * commit 'aeea7c25ede5c5e6b16198e60c0eb0475ff6f5d8': (3508 commits) fix(hopper): clarify publisher verification failures fix(analysis-view): keep PTX text pages on Unicode boundaries (morluto#15222) feat(mcp): advertise each tool's family in tools/list _meta (morluto#7154) perf(evidence): inspect retained records without building a bundle (morluto#15219) fix(process): report denied inspection as typed cleanup failures (morluto#9261) perf(mcp): complete retained Evidence without rebuilding bundles (morluto#15210) fix(agentenv): stop dry-run tarball reads on cancellation (morluto#15205) perf(png): reuse scanline storage in screenshot comparisons (morluto#15215) fix(javascript): respect Node HTTP path validation (morluto#9684) fix(windows): reject native addons with unusable delay-import tables (morluto#15216) feat(artifacts): inventory Android super image metadata (morluto#14928) fix(paths): reject dotted console device names for portability (morluto#15220) fix(analysis-view): return continuation for GPU pages at the byte limit (morluto#15206) fix(screenshots): report the PNG comparison memory allowance (morluto#15217) fix(process): compare Windows server paths by native realpath (morluto#15044) fix(firmware): recheck decoded member source on completion (morluto#15211) fix(artifacts): check signed BC4 and BC5 DDS payload extents (morluto#15208) fix(artifacts): bound embedded GLB images by the declared buffer length (morluto#15207) perf(ci): confirm test-only macOS selection on Linux (morluto#15203) fix(paths): reject Windows console device names (morluto#14972) ...
…063-native-alias-cancellation * commit 'aeea7c25ede5c5e6b16198e60c0eb0475ff6f5d8': (881 commits) fix(hopper): clarify publisher verification failures fix(analysis-view): keep PTX text pages on Unicode boundaries (morluto#15222) feat(mcp): advertise each tool's family in tools/list _meta (morluto#7154) perf(evidence): inspect retained records without building a bundle (morluto#15219) fix(process): report denied inspection as typed cleanup failures (morluto#9261) perf(mcp): complete retained Evidence without rebuilding bundles (morluto#15210) fix(agentenv): stop dry-run tarball reads on cancellation (morluto#15205) perf(png): reuse scanline storage in screenshot comparisons (morluto#15215) fix(javascript): respect Node HTTP path validation (morluto#9684) fix(windows): reject native addons with unusable delay-import tables (morluto#15216) feat(artifacts): inventory Android super image metadata (morluto#14928) fix(paths): reject dotted console device names for portability (morluto#15220) fix(analysis-view): return continuation for GPU pages at the byte limit (morluto#15206) fix(screenshots): report the PNG comparison memory allowance (morluto#15217) fix(process): compare Windows server paths by native realpath (morluto#15044) fix(firmware): recheck decoded member source on completion (morluto#15211) fix(artifacts): check signed BC4 and BC5 DDS payload extents (morluto#15208) fix(artifacts): bound embedded GLB images by the declared buffer length (morluto#15207) perf(ci): confirm test-only macOS selection on Linux (morluto#15203) fix(paths): reject Windows console device names (morluto#14972) ...
…279-mcp-config-validation * commit 'aeea7c25ede5c5e6b16198e60c0eb0475ff6f5d8': (2392 commits) fix(hopper): clarify publisher verification failures fix(analysis-view): keep PTX text pages on Unicode boundaries (morluto#15222) feat(mcp): advertise each tool's family in tools/list _meta (morluto#7154) perf(evidence): inspect retained records without building a bundle (morluto#15219) fix(process): report denied inspection as typed cleanup failures (morluto#9261) perf(mcp): complete retained Evidence without rebuilding bundles (morluto#15210) fix(agentenv): stop dry-run tarball reads on cancellation (morluto#15205) perf(png): reuse scanline storage in screenshot comparisons (morluto#15215) fix(javascript): respect Node HTTP path validation (morluto#9684) fix(windows): reject native addons with unusable delay-import tables (morluto#15216) feat(artifacts): inventory Android super image metadata (morluto#14928) fix(paths): reject dotted console device names for portability (morluto#15220) fix(analysis-view): return continuation for GPU pages at the byte limit (morluto#15206) fix(screenshots): report the PNG comparison memory allowance (morluto#15217) fix(process): compare Windows server paths by native realpath (morluto#15044) fix(firmware): recheck decoded member source on completion (morluto#15211) fix(artifacts): check signed BC4 and BC5 DDS payload extents (morluto#15208) fix(artifacts): bound embedded GLB images by the declared buffer length (morluto#15207) perf(ci): confirm test-only macOS selection on Linux (morluto#15203) fix(paths): reject Windows console device names (morluto#14972) ...
…410-windows-transport * commit '28772e67d245661b4a66ef5a09353eafda483367': (674 commits) docs: note symlink EPERM in Windows source test failures (morluto#7211) fix(javascript): scope candidate this event receivers (morluto#4656) fix(config): validate target and loader options before printing MCP registrations (morluto#9279) fix(native): honor cancellation during PE alias expansion (morluto#9063) fix(audit): preserve env shebang argument ownership (morluto#14075) feat(evtx): inventory Windows event log records offline docs(skill): replace the staged workflow with the rules it encodes (morluto#10374) fix(hopper): clarify publisher verification failures fix(analysis-view): keep PTX text pages on Unicode boundaries (morluto#15222) feat(mcp): advertise each tool's family in tools/list _meta (morluto#7154) perf(evidence): inspect retained records without building a bundle (morluto#15219) fix(process): report denied inspection as typed cleanup failures (morluto#9261) perf(mcp): complete retained Evidence without rebuilding bundles (morluto#15210) fix(agentenv): stop dry-run tarball reads on cancellation (morluto#15205) perf(png): reuse scanline storage in screenshot comparisons (morluto#15215) fix(javascript): respect Node HTTP path validation (morluto#9684) fix(windows): reject native addons with unusable delay-import tables (morluto#15216) feat(artifacts): inventory Android super image metadata (morluto#14928) fix(paths): reject dotted console device names for portability (morluto#15220) fix(analysis-view): return continuation for GPU pages at the byte limit (morluto#15206) ...
Summary
Fixes #9198.
When process-table inspection fails during JavaScript worker shutdown, return typed cleanup diagnostics and completed Evidence before the one-shot CLI exits. Preserve the original physical failure and distinguish it from caller cancellation.
Behavior
Validation
4c27201f6ddf8fe65d9e009231e69fd1546fb808. Exact-head CI passed: 59,212 tests passed and 344 skipped across 4,040 passing test files. The isolated fake-browser endpoint failure passed on retry; no assertions were weakened. All four required checks passed. Squash-merged asf5055cd2ed46a6d3bab28e8f90d82fd9381a5dbethrough the normal SHA-pinned merge API after the CLI retained a stale blocked state./bin/ps. All retained valid completed Evidence; denied cases exited 1 without uncaught failure. The test harness verified and released all four recorded worker groups.888c9986with the current launcher. Runtime source, bridge, package and dependency inputs are unchanged;scripts/rea.mjsis the only changed runtime input. Fresh CI passed separately. These local controls do not claim native Windows verification.Related work
#8043 and #7174 remain separate work.
Author readiness
Human owner: @sandivd
Before merge
type(scope): outcome.