Skip to content

[PLAT-5055] Fix pecl install step failing after successful build - #158

Merged
smichels082625 merged 1 commit into
mainfrom
PLAT-5055-fix-pecl-pipefail
Jul 29, 2026
Merged

[PLAT-5055] Fix pecl install step failing after successful build#158
smichels082625 merged 1 commit into
mainfrom
PLAT-5055-fix-pecl-pipefail

Conversation

@smichels082625

Copy link
Copy Markdown
Contributor

Summary

  • Fix install-valkey-glide composite action failing CI after a successful pecl install
  • yes exits with code 1 (not 141) when the pipe closes in GitHub Actions; the prior SIGPIPE guard did not catch it
  • Disable pipefail for the yes | pecl pipe and fail only when pecl returns non-zero via PIPESTATUS[1]

Test plan

  • Merge and re-run common PR #14669 CI (phpstan + unit tests install valkey_glide via @main)

Made with Cursor

yes exits 1 (not 141) on broken pipe in GitHub Actions, so the prior
SIGPIPE guard still failed the step after a successful pecl install.
Disable pipefail for the pipe and fail only when pecl returns non-zero.

Co-authored-by: Cursor <cursoragent@cursor.com>
@smichels082625
smichels082625 requested a review from a team as a code owner July 29, 2026 17:44
@smichels082625
smichels082625 requested a review from aspencer July 29, 2026 17:44
@smichels082625
smichels082625 merged commit 8105168 into main Jul 29, 2026
2 checks passed
@smichels082625
smichels082625 deleted the PLAT-5055-fix-pecl-pipefail branch July 29, 2026 17:57
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.

2 participants