test: isolate ps fixtures from host proc identity

Merged
TH
1d ago
+14-0

Summary

Keep fabricated-PID ps tests independent of the host's Linux proc identity. The two fixture files now model an unreadable proc boot ID and preserve their existing ps observations. Dedicated proc-positive tests, all existing assertions and production process/signal code remain unchanged.

Two test files, 14 additions. This is a CI prerequisite for the Linux Coverage failure reported on #4535; no issue is closed. Linux causality remains unproven until hosted execution.

Validation

Base 61d027bd3f4c2b19418df2d62ddb514dad6528f8; head 8698989b5734158975e52c6552f63f1ff5640af4.

Pinned pnpm 11.17 frozen install/build passed. Exact pnpm check:affected --run --head 8698989b5734158975e52c6552f63f1ff5640af4 passed: exit 0, 42 local passes/25 hosted or manual skips, exactCommit=true, checkoutChanged=false. Initial/final clean fingerprint: 115d83d8799839bb6ba056578d6478cefd334966ad0bd48c0e7a64d6cefe95af. Receipt SHA256: 1101260ca40ffdfee42db364db60603f4b44a5c0c2ade342fbca46ee84c17d32.

Independent Apex source review found no regressions after tracing the proc/ps seam, mock lifecycle and signal-safety cases. This is source evidence, separate from local checks.

Hosted results at this head: 14 successful checks and one skipped matrix placeholder. Linux Coverage passed on Ubuntu: 2,193 files and 20,176 tests passed, with 4 files/70 tests skipped. The tested merge tree equals this head. Changed-line coverage, CRAP and leak gates passed. This does not change the failed result at old #4535 head 8940075 or establish unchanged-base causality. Sentinel has no findings. Integration is queued until the active exact-base review finishes; nothing merged.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.