From bed8bb9199edffd09f55d5b14836226c0b81cb50 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 23 Nov 2026 15:23:06 +0000 Subject: [PATCH] Run Copilot setup steps sequentially Copilot code review builds its workflow from copilot-setup-steps.yml and failed validation with the `background` MySQL step and the bare `wait-all` step. Running the MySQL setup in the foreground also avoids the libpcre2 race with setup-php fixed in reusable-functional.yml. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01UWTd5n2TBcDvRzhQfqhhaB --- .github/workflows/copilot-setup-steps.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index 548fb30..1077b11 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -46,12 +46,12 @@ jobs: id: check_behat_file run: echo "files_exists=$(test -f behat.yml && echo true || echo false)" >> "$GITHUB_OUTPUT" - # Downloading and starting the database server is the slowest part of the - # setup and it is independent of PHP and Composer, so it runs in the - # background and is waited for right before the test database is prepared. + # Not run in the background: Copilot code review builds its workflow from + # these steps and failed validation while they used `background` and + # `wait-all`. Also, the action unpacks its binaries with the system `tar`, + # which fails to load libpcre2 while setup-php upgrades it with apt. - name: Setup MySQL Server if: steps.check_behat_file.outputs.files_exists == 'true' - background: true uses: shogo82148/actions-setup-mysql@13a38f2af408e58a0c80168fc620a63a15357339 # v1 with: mysql-version: '8.0' # Standard MySQL version for these tests @@ -77,9 +77,6 @@ jobs: env: COMPOSER_ROOT_VERSION: dev-${{ github.event.repository.default_branch }} - - name: Wait for the MySQL server - wait-all: - - name: Remove system MySQL binary if: steps.check_behat_file.outputs.files_exists == 'true' run: sudo rm -f /usr/bin/mysql /usr/bin/mysqldump