Repository navigation
Avoid stalled macOS PHP setup watchdog cleanup - #48
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Use the pinned PHP setup action's supported Homebrew watchdog opt-out on macOS. Preserve the ten-minute whole-step timeout, PHP version, extensions, action pin and all actual native launcher tests. Linux retains the action's default watchdog setting.
Refs #39 and #42. Immutable CLI 2.2.3 source/tag remains unchanged.
Evidence
Release run 38102452772 passes Linux x86_64, Linux aarch64, Windows and PHAR. Mac PHP setup produces only its startup header and then reaches the ten-minute step timeout. It terminates normally and retains logs, unlike the earlier force-cancelled attempts.
The pinned action predates upstream Homebrew timeout cleanup and retry propagation correction. A bounded process reproduction using the exact two helper versions demonstrates the pinned reader/descendant cleanup hanging beyond an eight-second outer limit. The corrected upstream helper returns its expected timeout in three seconds. An initial minimal container lacked
pgrepand was discarded as an unqualified runner. The comparison uses a container withpgrepand actual subprocesses/FIFOs.The Mac log does not identify which Homebrew operation stalled. This change removes the demonstrated faulty helper from that setup path without adopting a new action version or weakening physical launcher qualification. Normal checks and a fresh actual Mac run must pass before publication.