Skip to content

[PLAT-5055] Add with_valkey_glide option to PHP CI workflows - #157

Merged
smichels082625 merged 5 commits into
mainfrom
PLAT-5055-valkey-glide-ci
Jul 29, 2026
Merged

[PLAT-5055] Add with_valkey_glide option to PHP CI workflows#157
smichels082625 merged 5 commits into
mainfrom
PLAT-5055-valkey-glide-ci

Conversation

@smichels082625

@smichels082625 smichels082625 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add shared install-valkey-glide composite action for CI runners
  • Add optional with_valkey_glide input to php-stan, php-cs-fixer, and php-laravel-test reusable workflows
  • Fix php-stan Packagist auth by moving credentials to COMPOSER_AUTH on composer-install
  • Remove github.head_ref checkout override from php-cs-fixer (breaks fork PRs; lint-only workflows do not need it)

https://revolutionparts.atlassian.net/browse/PLAT-5055

Test plan

  • Merge and verify common PR #14669 CI passes with @PLAT-5055-valkey-glide-ci refs
  • After merge, update common to @main and re-run CI

Made with Cursor

…low input

Centralize valkey_glide pecl install for PHP CI workflows. Adds optional
with_valkey_glide on php-stan, php-cs-fixer, and php-laravel-test.

Co-authored-by: Cursor <cursoragent@cursor.com>
@smichels082625
smichels082625 requested a review from a team as a code owner July 28, 2026 22:32
@smichels082625
smichels082625 requested a review from aspencer July 28, 2026 22:32
Comment thread .github/workflows/php-stan.yaml Outdated
Local `./` action paths resolve against the caller's checkout in
workflow_call workflows, so cross-repo callers setting with_valkey_glide
failed with "Can't find action.yml". Reference the composite via its
fully-qualified encodium/.github path so it resolves regardless of the
caller's checked-out repo.

Ref pinned to the PLAT-5055 branch for pre-merge testing; must be
switched to @main before merge.

Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread .github/workflows/php-stan.yaml Outdated
Use the stable main ref instead of the feature branch so merged
workflows do not depend on a temporary branch name.

Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread .github/actions/install-valkey-glide/action.yml Outdated
Pipe empty responses into pecl install so configure prompts such as
enable-valkey-glide-debug do not block CI jobs waiting for stdin.

Co-authored-by: Cursor <cursoragent@cursor.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit d43f78a. Configure here.

Comment thread .github/actions/install-valkey-glide/action.yml Outdated
With pipefail enabled, yes exits 141 when pecl closes stdin after a
successful install. Treat that exit code as success so the step does
not fail after valkey_glide is installed.

Co-authored-by: Cursor <cursoragent@cursor.com>
@smichels082625
smichels082625 merged commit 97774ab into main Jul 29, 2026
2 checks passed
@smichels082625
smichels082625 deleted the PLAT-5055-valkey-glide-ci branch July 29, 2026 16:58
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