Skip to content

Fix local process enumeration when Windows reports PID zero - #66

Merged
ShadowNineX merged 2 commits into
mainfrom
codex/fix-local-process-pseudo-ids
Oct 19, 2026
Merged

ShadowNineX merged 2 commits into
mainfrom
codex/fix-local-process-pseudo-ids

Conversation

@ShadowNineX

Copy link
Copy Markdown
Contributor

Unfiltered local process enumeration failed on Windows when the OS returned the idle pseudo-process with PID 0: materializing the positive-only LocalProcessId rejected the entire catalog. Skip nonpositive host rows before filtering and truncation, preserving valid process ordering and limits.

Three regressions cover mixed valid/invalid rows, an entirely invalid catalog, and the real operating-system catalog retaining the current process. The 2,839 portable tests passed before merging the current main test-package updates; CI validates the final merge result. Independent Astra review found no actionable issues. Live MCP testing exposed the original failure; this PR changes offline process enumeration and makes no CE calls.

@ShadowNineX
ShadowNineX requested a review from AriusII as a code owner October 19, 2026 09:45
@sonarqubecloud

Copy link
Copy Markdown

@ShadowNineX
ShadowNineX merged commit 2b73ac2 into main Oct 19, 2026
14 checks passed
@ShadowNineX
ShadowNineX deleted the codex/fix-local-process-pseudo-ids branch October 19, 2026 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant