ci: pin symfony/console to ^7 — Infection mutation gate broken by Symfony Console 8#29
Open
Goosterhof wants to merge 1 commit into
Open
ci: pin symfony/console to ^7 — Infection mutation gate broken by Symfony Console 8#29Goosterhof wants to merge 1 commit into
Goosterhof wants to merge 1 commit into
Conversation
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>
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Pins
symfony/consoleto^7.2inrequire-dev.Why — repo-wide CI breakage, no source change
symfony/consolev8.1.0 (released 2026-05-29) crashes Infection 0.33.x's mutation runner:Infection's DI container references
QuestionHelperas a service Symfony Console 8 no longer registers that way, socomposer mutation:ciaborts and exits 1 — failing thecheckjob.The package's
composer.lockis 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.2resolves 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