#110877Extract the extension scanner into a service
Description
Why: The extension scanner is only reachable through the install tool. The scan loop sits inline in UpgradeController::extensionScannerScanFileAction(), and the 23 matchers are a hardcoded property of the same controller. No other caller, such as the planned upgrade:scan console command (#110859), can reuse them.
What: Move the matcher registry into its own class and the scan into an ExtensionScannerService that returns typed results (ScanResult, ScanMatch, Indicator enum). All classes are @internal; there is no public API change. The output of the “Scan Extension Files” card stays the same.
I will create a patch for this.
Reviews 2
History 27
-
Gerrit Code Review pushed patch set 3 for main to change 96215 status
NewUnder Review <span data-processor="relativetime" data-value="2026-10-01T21:11:02+00:00" > 10/01/26, 21:11 </span> -
Gerrit Code Review pushed patch set 4 for main to change 96215 <span data-processor="relativetime" data-value="2026-10-02T07:42:10+00:00" > 10/02/26, 07:42 </span>
-
Gerrit Code Review pushed patch set 5 for main to change 96215 <span data-processor="relativetime" data-value="2026-10-02T11:03:21+00:00" > 10/02/26, 11:03 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 96489 <span data-processor="relativetime" data-value="2026-10-07T15:32:17+00:00" > 10/07/26, 15:32 </span>
-
Olivier Dobberkau commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-10-07T15:35:08+00:00" > 10/07/26, 15:35 </span> -
Gerrit Code Review pushed patch set 2 for 14.3 to change 96489 status
ResolvedUnder Review <span data-processor="relativetime" data-value="2026-10-07T18:41:31+00:00" > 10/07/26, 18:41 </span> -
Olivier Dobberkau commented and changed status
Under ReviewResolved <span data-processor="relativetime" data-value="2026-10-07T19:15:10+00:00" > 10/07/26, 19:15 </span>Applied in changeset commit:f3b14506cb4b46d4b6429bb3483a682a1e93e44d.
Applied in changeset commit:8d601385b7abe36204529d27364d8ef7a271ac4d.