ci: age-filter zombie reaper (>=1h) for multi-runner safety #189

Merged
KofTwentyTwo merged 1 commits from ci/age-filter-multi-runner into develop 2026-05-13 22:33:03 +00:00
1 Commits
Author SHA1 Message Date
james.maes 676c54da55 ci(actions): age-filter zombie reaper (>= 1h) for multi-runner safety
Grogu will host multiple self-hosted runners simultaneously (planned: 3
runners). Each runner's job-start cleanup step previously killed ANY
xctest/swift-test/swift-driver — meaning sibling runners would nuke
each other's in-flight tests.

Real CI jobs complete in <10 min. Zombies from interactive Xcode use
are typically >hours old. A 1-hour age cutoff cleanly separates the
two populations.

awk filter: ps -o etime formats are `MM:SS` (<1h), `HH:MM:SS` (>=1h),
or `DD-HH:MM:SS` (days). Match the latter two by testing for `-` (days
prefix) or three `:`-separated groups.

Single-runner behavior unchanged. Validated against synthetic ps
output covering all three etime format cases.

Closes #188
2026-05-13 17:00:48 -05:00