Closed (fixed)
Project:
Drupal core
Version:
main
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Mar 2026 at 19:07 UTC
Updated:
16 Apr 2026 at 10:25 UTC
Jump to comment: Most recent
#3578053: Remove spurious argument from session_manager service definition fixed an error in core.services.yml where a service had too many arguments; we can add test coverage for this by parsing all services and ensuring the argument count matches the constructor.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
longwaveThis isn't really autowiring related but the test is an easy place to insert this check.
Comment #4
longwaveTest by reverting #3578053: Remove spurious argument from session_manager service definition, it should fail.
Comment #5
smustgrave commentedThanks for rerunning that. The media javascript file I'm almost 100% positive a random failure.
I have nothing else to comment.
Comment #8
amateescu commentedTested this manually by adding a random argument to a core service, and it fails as expected.
Committed and pushed cf771503a9c to main and eb04bd5fad7 to 11.x. Thanks!