Skip to content

ci: unblock Composer 2.11 with named advisory ignores - #10

Closed
roncodes wants to merge 2 commits into
mainfrom
chore/composer-advisory-stopgap
Closed

roncodes wants to merge 2 commits into
mainfrom
chore/composer-advisory-stopgap

Conversation

@roncodes

@roncodes roncodes commented Nov 5, 2026

Copy link
Copy Markdown
Member

Summary

Composer 2.11 refuses Laravel 10 in repos without a lock file, which fails CI here on the next run.

  • Adds PKSA-zwc5-qtrz-zm1n, the only one this illuminate/* tree hits to config.policy.advisories.ignore-id with on-audit: false: they stop blocking, and composer audit still reports them. Each reason names the Laravel 12.69+ upgrade as the point to remove it.
  • Widens symfony/var-dumper to ^5.4.29|^6.2. The advisory published on 2026-11-04 leaves symfony/http-kernel 6.4.50 as the first patched 6.4 release, and it conflicts with var-dumper below 6.3.

This setting only applies when this repo is the Composer root, so it doesn't change what consumers install.

Test plan

  • Composer 2.11.1 resolve passes on the CI PHP version and picks the expected Laravel 10 tree.
  • CI on this PR runs the real install, lint and any tests. They were not run locally.

Composer 2.11 no longer exempts versioned dev branches from advisory
blocking, so a lockless install fails on Laravel 10, or quietly falls back
to a much older fleetbase/core-api where the constraint allows it. Ignore
only the advisories this dependency tree hits. on-audit false keeps them in
composer audit. Remove at the Laravel 12.69+ upgrade.
The advisory published on 2026-11-04 leaves symfony/http-kernel 6.4.50 as the
first patched 6.4 release, and it conflicts with var-dumper below 6.3. Without
this, install fails or falls back to an old fleetbase/core-api.
@codecov

codecov Bot commented Nov 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 26.49%. Comparing base (4a726da) to head (ed21fd1).

Additional details and impacted files
@@            Coverage Diff            @@
##               main      #10   +/-   ##
=========================================
  Coverage     26.49%   26.49%           
  Complexity      643      643           
=========================================
  Files            19       19           
  Lines          2265     2265           
=========================================
  Hits            600      600           
  Misses         1665     1665           
Flag Coverage Δ
backend 26.49% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@roncodes

roncodes commented Nov 6, 2026

Copy link
Copy Markdown
Member Author

Closing without merging. Laravel 12 replaces this stopgap: each repo's Laravel 12 release resolves Composer 2.11 with no advisory ignores, and the goal is zero exceptions. The branch is kept.

@roncodes roncodes closed this Nov 6, 2026
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