Skip to content

Probe artifact processes on macOS - #985

Merged
chubes4 merged 1 commit into
mainfrom
fix/983-macos-artifact-process-probe
Jul 29, 2026
Merged

Probe artifact processes on macOS#985
chubes4 merged 1 commit into
mainfrom
fix/983-macos-artifact-process-probe

Conversation

@chubes4

@chubes4 chubes4 commented Jul 29, 2026

Copy link
Copy Markdown
Member

Summary

  • introduce a host-portable process-path probe boundary
  • preserve Linux procfs and mount-namespace behavior
  • use bounded lsof process evidence on macOS
  • keep unavailable and uncertain probes fail-closed
  • separate process-probe override from live-owner eviction
  • revalidate process use freshly before artifact deletion

Testing

  • php tests/artifact-cleanup-live-process-guards.php
  • PHP syntax checks
  • git diff --check origin/main...HEAD

Closes #983.

AI assistance

OpenAI GPT-5.6 Sol using OpenCode drafted the implementation and focused tests through a general coding subagent. The resulting diff was rebased and independently re-run against the targeted test before publication. Chris Huber remains responsible for the change.

@chubes4
chubes4 merged commit f239d57 into main Jul 29, 2026
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.

Artifact cleanup process guard is Linux-only and blocks safe cleanup on macOS

1 participant