Skip to content

ci(symfony): move the line 8 floor from 8.0 to 8.1 - #1099

Open
gplanchat wants to merge 1 commit into
mainfrom
ci/symfony-81-lowest-floor
Open

gplanchat wants to merge 1 commit into
mainfrom
ci/symfony-81-lowest-floor

Conversation

@gplanchat

Copy link
Copy Markdown
Owner

What changes

The "Symfony · package" lane that pinned 8.0.* with --prefer-lowest now pins 8.1.* and is named "8.1 lowest". One line of .github/workflows/ci.yml, plus the comment that says why.

Why

Every 8.0.x release of symfony/http-foundation carries a security advisory (PKSA-xmwy-rmx5-m7h4 and PKSA-y6py-qpv1-h52p, among others). Composer blocks advisory-affected versions, so the lane fails in 14 seconds at composer update, before any test runs:

symfony/framework-bundle[v8.0.0, ..., v8.0.15] require symfony/http-foundation ^7.4|^8.0
-> found symfony/http-foundation[...] but these were not loaded, because they are affected by security advisories

ci-ok depends on that lane, so it is red on every open pull request (#1097 and #1098 fail the same way), and no pull request can merge. The comment above the 7.4 lane already records the same thing for 7.0 to 7.3: a floor that cannot be installed tests nothing.

8.1 is the oldest release of line 8 that Composer still resolves, which makes it the line's installable floor, as 7.4 is for line 7. The ^8.0 constraints in composer.json are unchanged: they still admit 8.0 for applications that choose to stay on it.

Checked

In a scratch copy of the branch, with Flex and --prefer-lowest on symfony/*:

  • SYMFONY_REQUIRE=8.0.*: no solution, with the advisory message above.
  • SYMFONY_REQUIRE=8.1.*: resolves, symfony/http-foundation v8.1.7.

The lane's own PHPUnit run is the CI result on this pull request. The "Symfony · bench" jobs on 8.0 are not touched: they pass today.

Merge order

This pull request goes in before #1098 and #1097, which then need main merged in to pick up the lane.

Every 8.0.x of symfony/http-foundation carries a security advisory, so
Composer refuses to resolve the 8.0 lowest lane and ci-ok stays red on
every pull request. 8.1 is the oldest installable release of the line,
as 7.4 is for line 7.
@gplanchat gplanchat added this to the 0.1.0-beta2 milestone Oct 21, 2026

This branch has not been deployed

No deployments
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.

1 participant