From 79fa285fd62eb090b008dc1f8c2265bbc50342f0 Mon Sep 17 00:00:00 2001 From: Riddhesh Sanghvi Date: Sun, 15 Nov 2026 18:00:21 +0530 Subject: [PATCH 1/2] ci(behat): ignore the symfony/config and symfony/serializer advisories Packagist now flags symfony/config 4.4 (PKSA-9myg-zzdn-22rg) and symfony/serializer 3.4.20 (PKSA-nyd8-k74r-fsf2, PKSA-grh8-hvfp-h9pf), so composer update of the cloned core fails before Behat starts. Ignore exactly these versions in CI, like the existing entries, until the Symfony and Behat upgrade. The committed composer.json and lock are unchanged. --- .github/workflows/behat.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/behat.yml b/.github/workflows/behat.yml index 0713b51..45079fa 100644 --- a/.github/workflows/behat.yml +++ b/.github/workflows/behat.yml @@ -27,11 +27,13 @@ env: COMPOSE_INTERACTIVE_NO_CLI: 1 RCLONE_CONFIG: /etc/rclone/rclone.conf EE_BEHAT_DESTRUCTIVE: 1 - # CI only, for `composer update` of the cloned core (develop and PRs): Composer blocks these versions for security advisories. Remove after the symfony/yaml and guzzlehttp/psr7 upgrade. + # CI only, for `composer update` of the cloned core (develop and PRs): Composer blocks these versions for security advisories. Remove after the Symfony, Behat and guzzlehttp/psr7 upgrade. ADVISORY_IGNORE: >- {"symfony/yaml": {"constraint": "4.4.*", "reason": "pinned by core and behat/behat 3.8.1", "on-audit": false}, "guzzlehttp/psr7": {"constraint": "1.9.*", "reason": "required by acmephp/core 1.3.0", "on-audit": false}, - "guzzlehttp/guzzle": {"constraint": "7.8.*", "reason": "last guzzle 7 line that accepts guzzlehttp/psr7 1.x", "on-audit": false}} + "guzzlehttp/guzzle": {"constraint": "7.8.*", "reason": "last guzzle 7 line that accepts guzzlehttp/psr7 1.x", "on-audit": false}, + "symfony/config": {"constraint": "4.4.*", "reason": "pinned by core and behat/behat 3.8.1", "on-audit": false}, + "symfony/serializer": {"constraint": "3.4.20", "reason": "pinned by site-command", "on-audit": false}} jobs: behat: From d3397fff090fcfea8e63b80c6f4ef4eb6d7d883a Mon Sep 17 00:00:00 2001 From: Riddhesh Sanghvi Date: Sun, 15 Nov 2026 18:23:09 +0530 Subject: [PATCH 2/2] ci(behat): run the Behat jobs on ubuntu-24.04 ubuntu-latest now resolves to ubuntu-26.04, whose sudo-rs ignores `sudo -E`, so the job's variables (EE_BEHAT_DESTRUCTIVE, COMPOSE_INTERACTIVE_NO_CLI) no longer reach Behat under sudo, and the main lanes hang in a site create's docker-compose exec until the step times out. Pin the image the suite last passed on until the workflow passes those variables explicitly. --- .github/workflows/behat.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/behat.yml b/.github/workflows/behat.yml index 45079fa..dabc09c 100644 --- a/.github/workflows/behat.yml +++ b/.github/workflows/behat.yml @@ -38,7 +38,8 @@ env: jobs: behat: name: Behat ${{ matrix.lane }} (PHP ${{ matrix.php }}) - runs-on: ubuntu-latest + # ubuntu-latest is now 26.04, whose sudo-rs ignores `sudo -E`, so the job's env (Behat guards, COMPOSE_INTERACTIVE_NO_CLI) never reaches commands run under sudo. + runs-on: ubuntu-24.04 timeout-minutes: 150 strategy: fail-fast: false