Skip to content

ci: pin symfony/console to ^7 — Infection mutation gate broken by Symfony Console 8#29

Open
Goosterhof wants to merge 1 commit into
mainfrom
ci/pin-symfony-console-7
Open

ci: pin symfony/console to ^7 — Infection mutation gate broken by Symfony Console 8#29
Goosterhof wants to merge 1 commit into
mainfrom
ci/pin-symfony-console-7

Conversation

@Goosterhof
Copy link
Copy Markdown
Contributor

What

Pins symfony/console to ^7.2 in require-dev.

Why — repo-wide CI breakage, no source change

symfony/console v8.1.0 (released 2026-05-29) crashes Infection 0.33.x's mutation runner:

In Container.php line 194:
  Unknown service "Symfony\Component\Console\Helper\QuestionHelper"

Infection's DI container references QuestionHelper as a service Symfony Console 8 no longer registers that way, so composer mutation:ci aborts and exits 1 — failing the check job.

The package's composer.lock is gitignored, so CI resolves dependencies fresh on every run. illuminate/* v13 permits Symfony 8, so the resolver started pulling v8.1.0. Result: every fresh CI run went red on the mutation step fleet-wide — PRs green on 2026-05-28 turned red on 2026-05-29 with zero source change (this branch, main, and the three open rule PRs #26/#27/#28 all affected).

Fix + verification

Pinning symfony/console: ^7.2 resolves the dev toolchain down to v7.4.13 (illuminate v13 accepts it). Verified locally:

  • composer mutation:ci → 419 mutants, 340 killed, Covered Code MSI 81% ≥ 75, exit 0.
  • composer phpstan / composer test (90) / composer format:check / composer coverage:check (87.56%) all green.

Lifespan

Temporary. Remove or widen the constraint once Infection ships Symfony Console 8 support.

🤖 Generated with Claude Code

symfony/console v8.1.0 (2026-05-29) crashes Infection 0.33.x's mutation
runner with 'Unknown service Symfony\Component\Console\Helper\QuestionHelper',
failing composer mutation:ci on every fresh resolve. The lockfile is
gitignored so CI always resolves latest; illuminate v13 permits Symfony 8.

Pin holds the dev toolchain at symfony/console v7.4.x. Verified mutation
gate green (Covered Code MSI 81% >= 75). Revisit when Infection supports
Symfony Console 8.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Goosterhof Goosterhof added the Agent Review Requested Requesting review of specialized AI review agents. label May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Agent Review Requested Requesting review of specialized AI review agents.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant