Page MenuHomePhabricator
Feed Search

Thu, Oct 8

pwangai added a comment to T439049: improve our PHPUnit splitter and results cache, or switch to upstream Paratest?.

Thanks both, that makes sense. My bad on the paratest version, I had assumed I would be using the latest release when testing locally.

Thu, Oct 8, 3:10 PM · Patch-For-Review, Test Platform (San Miguel de Allende 31), Spike

Wed, Oct 7

pwangai added a comment to T434024: CI build slow and timing out sometimes.

@Lars We are not limited to one db so we can have as many databases as we like. Paratest normally asigns a TEST_TOKEN to each worker, for example (1,2,3), and we can use that to point worker 1 at db1, worker 2 at db2 and so on. The only caveat I can see is we may need to slightly increase the size of tmpfs to something bigger than the current 1GB to accommodate the 6 workers. 2GB would be enough to cover that and have enough headroom for future data growth.

Wed, Oct 7, 3:12 AM · Patch-For-Review, Continuous-Integration-Infrastructure, Release-Engineering-Team, Fundraising Tech - Chaos Crew, Wikimedia-Fundraising-CiviCRM, Fundraising-Backlog

Mon, Sep 28

pwangai added a comment to T439049: improve our PHPUnit splitter and results cache, or switch to upstream Paratest?.

@ArthurTaylor In the original splitter logic, the last split group was reserved for ExtensionsParserTestSuite, which could not be listed because it generated its tests dynamically. Earlier this year that suite was removed in https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1287963 (T422866: Migrate parser tests to new phpunit:config mechanism), and the parser tests now run within the normal 7 groups together with the other tests. The reservation itself stayed, and that split is still set aside but is never used to run any tests as described in T439227: Consistent 'no tests executed' for quibble split_group_7 . This unutilized compute could easily help our tests run faster if we used it. Do you think a change to allow the tests to utilize all groups is acceptable at this point? If yes, I can upload a patch to fix this for you to review.

Mon, Sep 28, 6:13 PM · Patch-For-Review, Test Platform (San Miguel de Allende 31), Spike
pwangai added a comment to T439049: improve our PHPUnit splitter and results cache, or switch to upstream Paratest?.

Job quibble-with-gated-extensions-vendor-mysql-php83 run as Jenkins runs it, on agent integration-agent-docker-9998, 5 runs per cell, medians (min-max) in seconds. All 20 runs passed with 45,229 tests each.

Mon, Sep 28, 1:59 PM · Patch-For-Review, Test Platform (San Miguel de Allende 31), Spike

Fri, Sep 25

pwangai updated the task description for T439049: improve our PHPUnit splitter and results cache, or switch to upstream Paratest?.
Fri, Sep 25, 4:42 PM · Patch-For-Review, Test Platform (San Miguel de Allende 31), Spike

Wed, Sep 23

pwangai updated the task description for T439049: improve our PHPUnit splitter and results cache, or switch to upstream Paratest?.
Wed, Sep 23, 11:05 PM · Patch-For-Review, Test Platform (San Miguel de Allende 31), Spike
pwangai created T439049: improve our PHPUnit splitter and results cache, or switch to upstream Paratest?.
Wed, Sep 23, 10:58 PM · Patch-For-Review, Test Platform (San Miguel de Allende 31), Spike
pwangai added a comment to T438928: Investigate the slowdown in quibble-with-gated-extensions-vendor-mysql-php83.

My initial read, jenkins itself is not slower, the path to it is. The slowdown lines up with the services + traffic datacenter switchover on 2026-09-22 14:00 UTC.

Wed, Sep 23, 6:31 AM · MW-1.46-notes, MW-1.45-notes, Test Platform (San Miguel de Allende 31), MW-1.47-notes (1.47.0-wmf.22; 2026-09-29), Continuous-Integration-Infrastructure

Tue, Sep 22

pwangai created T438906: Quibble runs npm ci twice in Mediawiki core for the api-testing stage.
Tue, Sep 22, 7:46 PM · Patch-For-Review, Test Platform (San Miguel de Allende 31)

Mon, Sep 21

pwangai moved T435977: Add p75 to the charts in the MediawikiCore dashboard from In Progress to Done on the Test Platform (Arusha 30) board.
Mon, Sep 21, 3:10 PM · Test Platform (Arusha 30)

Sep 17 2026

pwangai updated the task description for T438206: Castor publishes a corrupt npm cache when a save is interrupted, breaking every subsequent build in the namespace.
Sep 17 2026, 3:47 AM · Test Platform (San Miguel de Allende 31), Patch-For-Review

Sep 16 2026

pwangai created T438206: Castor publishes a corrupt npm cache when a save is interrupted, breaking every subsequent build in the namespace.
Sep 16 2026, 4:12 PM · Test Platform (San Miguel de Allende 31), Patch-For-Review
pwangai created T438110: quibble-for-mediawiki-core-vendor-postgres-php83 is ~3x slower since 2026-09-11.
Sep 16 2026, 4:40 AM · Test Platform (Arusha 30)

Sep 15 2026

pwangai added a comment to T437963: Investigate skipping QUnit in the quibble jobs when the change touches nothing QUnit can see.

I tested this on a ci agent, same image and arguments as the job, against current Quibble master.

Sep 15 2026, 12:44 AM · Test Platform (San Miguel de Allende 31), Patch-For-Review
pwangai updated subscribers of T437963: Investigate skipping QUnit in the quibble jobs when the change touches nothing QUnit can see.
Sep 15 2026, 12:43 AM · Test Platform (San Miguel de Allende 31), Patch-For-Review

Sep 14 2026

pwangai created T437963: Investigate skipping QUnit in the quibble jobs when the change touches nothing QUnit can see.
Sep 14 2026, 11:34 PM · Test Platform (San Miguel de Allende 31), Patch-For-Review

Sep 11 2026

pwangai added a parent task for T426684: Speed up the quibble-for-mediawiki-core-vendor-sqlite-php83 job: T437452: Get the gate-and-submit pipeline feedback loop p75 for core below 10 minute.
Sep 11 2026, 11:54 PM · MW-1.46-notes, Test Platform (San Miguel de Allende 31), MW-1.47-notes (1.47.0-wmf.19; 2026-09-08), Patch-For-Review
pwangai added a subtask for T437452: Get the gate-and-submit pipeline feedback loop p75 for core below 10 minute: T426684: Speed up the quibble-for-mediawiki-core-vendor-sqlite-php83 job.
Sep 11 2026, 11:54 PM · Patch-For-Review, Epic, Test Platform (Epics)
pwangai added a subtask for T437452: Get the gate-and-submit pipeline feedback loop p75 for core below 10 minute: T437726: Investigate overlapping QUnit with the parallel PHPUnit database run in the gated jobs.
Sep 11 2026, 4:10 PM · Patch-For-Review, Epic, Test Platform (Epics)
pwangai added a parent task for T437726: Investigate overlapping QUnit with the parallel PHPUnit database run in the gated jobs: T437452: Get the gate-and-submit pipeline feedback loop p75 for core below 10 minute.
Sep 11 2026, 4:10 PM · Test Platform (San Miguel de Allende 31)
pwangai created T437726: Investigate overlapping QUnit with the parallel PHPUnit database run in the gated jobs.
Sep 11 2026, 4:09 PM · Test Platform (San Miguel de Allende 31)

Sep 10 2026

pwangai changed the status of T426684: Speed up the quibble-for-mediawiki-core-vendor-sqlite-php83 job from Open to In Progress.
Sep 10 2026, 5:44 PM · MW-1.46-notes, Test Platform (San Miguel de Allende 31), MW-1.47-notes (1.47.0-wmf.19; 2026-09-08), Patch-For-Review
pwangai added a comment to T426684: Speed up the quibble-for-mediawiki-core-vendor-sqlite-php83 job.

I benchmarked 1289330. I Measured on a dedicated CI agent (10 CPUs) running the real quibble-for-mediawiki-core-vendor-sqlite-php83 job the way Jenkins runs it,
same image (quibble-bookworm-php83:1.21.0), same arguments, same castor cache, with the patched Quibble package bind mounted over the one in the image.

Sep 10 2026, 5:44 PM · MW-1.46-notes, Test Platform (San Miguel de Allende 31), MW-1.47-notes (1.47.0-wmf.19; 2026-09-08), Patch-For-Review

Sep 3 2026

pwangai changed the status of T435977: Add p75 to the charts in the MediawikiCore dashboard from Open to In Progress.
Sep 3 2026, 12:39 AM · Test Platform (Arusha 30)

Aug 31 2026

pwangai moved T435977: Add p75 to the charts in the MediawikiCore dashboard from Backlog to In Progress on the Test Platform (Arusha 30) board.
Aug 31 2026, 2:24 PM · Test Platform (Arusha 30)

Aug 28 2026

pwangai closed T432886: Upgrade SonarQube / codehealth jobs to use Java 21 as Resolved.
Aug 28 2026, 6:47 PM · Continuous-Integration-Config, SonarQube Bot
pwangai closed T436032: Castor load reports the outcome twice and hides failed restores as Resolved.
Aug 28 2026, 6:26 PM · Test Platform (Arusha 30), Castor
pwangai updated the task description for T436032: Castor load reports the outcome twice and hides failed restores.
Aug 28 2026, 6:26 PM · Test Platform (Arusha 30), Castor

Aug 25 2026

pwangai moved T436032: Castor load reports the outcome twice and hides failed restores from In Progress to In Review on the Test Platform (Nairobi 29) board.
Aug 25 2026, 11:43 PM · Test Platform (Arusha 30), Castor
pwangai moved T436032: Castor load reports the outcome twice and hides failed restores from Backlog to In Progress on the Test Platform (Nairobi 29) board.
Aug 25 2026, 11:29 PM · Test Platform (Arusha 30), Castor
pwangai claimed T436032: Castor load reports the outcome twice and hides failed restores.
Aug 25 2026, 11:28 PM · Test Platform (Arusha 30), Castor
pwangai created T436032: Castor load reports the outcome twice and hides failed restores.
Aug 25 2026, 11:01 PM · Test Platform (Arusha 30), Castor

Aug 21 2026

pwangai closed T435275: Quibble dev docker image is based on bullseye and can no longer install MediaWiki as Resolved.
Aug 21 2026, 2:15 AM · Quibble, Test Platform (Nairobi 29)

Aug 19 2026

pwangai claimed T435275: Quibble dev docker image is based on bullseye and can no longer install MediaWiki.
Aug 19 2026, 4:56 AM · Quibble, Test Platform (Nairobi 29)
pwangai moved T435275: Quibble dev docker image is based on bullseye and can no longer install MediaWiki from Backlog to In Progress on the Test Platform (Nairobi 29) board.
Aug 19 2026, 4:56 AM · Quibble, Test Platform (Nairobi 29)
pwangai created T435275: Quibble dev docker image is based on bullseye and can no longer install MediaWiki.
Aug 19 2026, 4:37 AM · Quibble, Test Platform (Nairobi 29)

Aug 17 2026

pwangai moved T426684: Speed up the quibble-for-mediawiki-core-vendor-sqlite-php83 job from Backlog to In Progress on the Test Platform (Nairobi 29) board.
Aug 17 2026, 7:29 PM · MW-1.46-notes, Test Platform (San Miguel de Allende 31), MW-1.47-notes (1.47.0-wmf.19; 2026-09-08), Patch-For-Review
pwangai added a project to T426684: Speed up the quibble-for-mediawiki-core-vendor-sqlite-php83 job: Test Platform (Nairobi 29).
Aug 17 2026, 3:30 PM · MW-1.46-notes, Test Platform (San Miguel de Allende 31), MW-1.47-notes (1.47.0-wmf.19; 2026-09-08), Patch-For-Review
pwangai claimed T426684: Speed up the quibble-for-mediawiki-core-vendor-sqlite-php83 job.
Aug 17 2026, 3:03 PM · MW-1.46-notes, Test Platform (San Miguel de Allende 31), MW-1.47-notes (1.47.0-wmf.19; 2026-09-08), Patch-For-Review

Aug 13 2026

pwangai closed T433915: Make castor more verbose as Invalid.

Duplicate of T432685

Aug 13 2026, 1:26 AM · Patch-For-Review, Test Platform (Nairobi 29)
pwangai closed T433915: Make castor more verbose, a subtask of T432684: Establishing the CI performance SLOs, as Invalid.
Aug 13 2026, 1:26 AM · Castor, Test Platform (Epics), Epic
pwangai updated the task description for T432685: Measure the castor sync time.
Aug 13 2026, 1:21 AM · Test Platform (Nairobi 29)

Aug 4 2026

pwangai added a comment to T433563: Requesting access to Jenkins server for PWangai-WMF.

@Dzahn This will not involve sudo, I will be running a few scripts under my username to summarize the log data we need.

Aug 4 2026, 3:17 PM · Release-Engineering-Team, SRE, SRE-Access-Requests
pwangai moved T433915: Make castor more verbose from Backlog to In Progress on the Test Platform (Nairobi 29) board.
Aug 4 2026, 4:18 AM · Patch-For-Review, Test Platform (Nairobi 29)
pwangai claimed T433915: Make castor more verbose.
Aug 4 2026, 4:12 AM · Patch-For-Review, Test Platform (Nairobi 29)
pwangai added a subtask for T432684: Establishing the CI performance SLOs: T433915: Make castor more verbose.
Aug 4 2026, 12:53 AM · Castor, Test Platform (Epics), Epic
pwangai added a parent task for T433915: Make castor more verbose: T432684: Establishing the CI performance SLOs.
Aug 4 2026, 12:53 AM · Patch-For-Review, Test Platform (Nairobi 29)
pwangai created T433915: Make castor more verbose.
Aug 4 2026, 12:51 AM · Patch-For-Review, Test Platform (Nairobi 29)

Jul 30 2026

pwangai added a comment to T433563: Requesting access to Jenkins server for PWangai-WMF.

I would say this may not be a temporary one-off. Right now as a team we are formulating a KR revolving around castor improvements, and based on the current work, a need to access generated XML log files is necessary. Moving forward, we will keep observing castor performance, so continued access will be needed. Last quarter we were working on CI improvements and had several patches that needed deployment. We had help from Antoine from release engineering to do deployments.

Jul 30 2026, 9:36 PM · Release-Engineering-Team, SRE, SRE-Access-Requests
pwangai updated the task description for T433563: Requesting access to Jenkins server for PWangai-WMF.
Jul 30 2026, 4:48 AM · Release-Engineering-Team, SRE, SRE-Access-Requests
pwangai added a comment to T433515: Add pwangai in acl*Project-Admins to create Milestones in Test Platform.

Noted with thanks :)

Jul 30 2026, 4:33 AM · Release-Engineering-Team (Doing 😎), Project-Admins
pwangai created T433563: Requesting access to Jenkins server for PWangai-WMF.
Jul 30 2026, 4:32 AM · Release-Engineering-Team, SRE, SRE-Access-Requests

Jul 29 2026

pwangai added a comment to T432889: Transfer the SonarCloud Admin milestone to Test Platform.

SonarCloud Admin tag is now archived in QTE board, and the new tag is now reflects in Test Platform https://phabricator.wikimedia.org/project/board/8912/

Jul 29 2026, 7:21 PM · Test Platform (Nairobi 29)
pwangai closed T432889: Transfer the SonarCloud Admin milestone to Test Platform as Resolved.
Jul 29 2026, 7:15 PM · Test Platform (Nairobi 29)
pwangai updated the task description for T432889: Transfer the SonarCloud Admin milestone to Test Platform.
Jul 29 2026, 7:15 PM · Test Platform (Nairobi 29)
pwangai archived Quality-and-Test-Engineering-Team (SonarCloud Admin).
Jul 29 2026, 7:11 PM
pwangai set the image for Test Platform (SonarCloud Admin) to F96414676: profile.
Jul 29 2026, 7:09 PM
pwangai edited projects for T263594: CI: Ensure SonarQubeBot code coverage metrics captures all test modes run during Parsoid CI tasks, added: Test Platform (SonarCloud Admin); removed Quality-and-Test-Engineering-Team (SonarCloud Admin).
Jul 29 2026, 7:07 PM · Test Platform (SonarCloud Admin), Parsoid
pwangai edited projects for T280194: Run codehealth pipeline/sonar qube for mediawiki/tools/codesniffer repo, added: Test Platform (SonarCloud Admin); removed Quality-and-Test-Engineering-Team (SonarCloud Admin).
Jul 29 2026, 7:07 PM · Test Platform (SonarCloud Admin), Code-Health, MediaWiki-Codesniffer
pwangai edited projects for T347548: SonarQube Gerrit changes should be under Pull Request rather than Short lived branch, added: Test Platform (SonarCloud Admin); removed Quality-and-Test-Engineering-Team (SonarCloud Admin).
Jul 29 2026, 7:07 PM · Test Platform (SonarCloud Admin)
pwangai edited projects for T382096: [Epic] Enable SonarQube on Test Platform repositories, added: Test Platform (SonarCloud Admin); removed Quality-and-Test-Engineering-Team (SonarCloud Admin), Test Platform (Essential Work).
Jul 29 2026, 7:06 PM · Test Platform (SonarCloud Admin), Epic
pwangai created Test Platform (SonarCloud Admin).
Jul 29 2026, 7:04 PM
pwangai renamed T433331: Experiment disabling castor cache saves for mwext-codehealth-master-non-voting for one week to measure castor queue impact from Experiment disabling castor cache saves for mwext-codehealth-master-non-voting for 1-2 days to measure castor queue impact to Experiment disabling castor cache saves for mwext-codehealth-master-non-voting for one week to measure castor queue impact.
Jul 29 2026, 4:43 PM · Test Platform (Nairobi 29), Spike
pwangai set the image for Test Platform (Nairobi 29) to F96403889: profile.
Jul 29 2026, 4:25 PM
pwangai created T433515: Add pwangai in acl*Project-Admins to create Milestones in Test Platform.
Jul 29 2026, 4:18 PM · Release-Engineering-Team (Doing 😎), Project-Admins
pwangai updated the task description for T433331: Experiment disabling castor cache saves for mwext-codehealth-master-non-voting for one week to measure castor queue impact.
Jul 29 2026, 2:30 AM · Test Platform (Nairobi 29), Spike

Jul 28 2026

pwangai added a subtask for T432684: Establishing the CI performance SLOs: T433331: Experiment disabling castor cache saves for mwext-codehealth-master-non-voting for one week to measure castor queue impact.
Jul 28 2026, 3:52 AM · Castor, Test Platform (Epics), Epic
pwangai added a parent task for T433331: Experiment disabling castor cache saves for mwext-codehealth-master-non-voting for one week to measure castor queue impact: T432684: Establishing the CI performance SLOs.
Jul 28 2026, 3:52 AM · Test Platform (Nairobi 29), Spike
pwangai created T433331: Experiment disabling castor cache saves for mwext-codehealth-master-non-voting for one week to measure castor queue impact.
Jul 28 2026, 3:51 AM · Test Platform (Nairobi 29), Spike

Jul 27 2026

pwangai moved T432671: investigate reducing the ~15GB castor cache of the codehealth jobs from Backlog to In Progress on the Test Platform (Aktau 28) board.
Jul 27 2026, 3:12 PM · Test Platform (Nairobi 29), Spike
pwangai moved T429547: Migrate sonar analysis from deprecated sonar.login to sonar.token from In Review to Done on the Test Platform (Aktau 28) board.
Jul 27 2026, 3:06 PM · Test Platform (Aktau 28), Patch-For-Review, Continuous-Integration-Config, Quality-and-Test-Engineering-Team (SonarCloud Admin)

Jul 23 2026

pwangai added a comment to T432671: investigate reducing the ~15GB castor cache of the codehealth jobs.

@Peter Let us give it a try and collect feedback for a few days. We can then use the metrics we collect to inform our direction forward.

Jul 23 2026, 3:09 AM · Test Platform (Nairobi 29), Spike

Jul 22 2026

pwangai added a comment to T432886: Upgrade SonarQube / codehealth jobs to use Java 21.

No worries @brennen . Thanks for your help so far. Once the jjb part is deployed, I will be around to test if the pipeline behaves as it should

Jul 22 2026, 5:58 PM · Continuous-Integration-Config, SonarQube Bot
pwangai created T432886: Upgrade SonarQube / codehealth jobs to use Java 21.
Jul 22 2026, 4:14 PM · Continuous-Integration-Config, SonarQube Bot
pwangai added a comment to T432671: investigate reducing the ~15GB castor cache of the codehealth jobs.

mwext-codehealth-master-non-voting has the biggest cache size. In May, the cache distribution in size was as follows:

Jul 22 2026, 3:02 AM · Test Platform (Nairobi 29), Spike

Jul 21 2026

pwangai claimed T432671: investigate reducing the ~15GB castor cache of the codehealth jobs.
Jul 21 2026, 1:00 AM · Test Platform (Nairobi 29), Spike
pwangai created T432671: investigate reducing the ~15GB castor cache of the codehealth jobs.
Jul 21 2026, 12:59 AM · Test Platform (Nairobi 29), Spike

Jul 20 2026

pwangai moved T429547: Migrate sonar analysis from deprecated sonar.login to sonar.token from Backlog to In Review on the Test Platform (Aktau 28) board.
Jul 20 2026, 3:08 PM · Test Platform (Aktau 28), Patch-For-Review, Continuous-Integration-Config, Quality-and-Test-Engineering-Team (SonarCloud Admin)

Jul 16 2026

pwangai edited projects for T429547: Migrate sonar analysis from deprecated sonar.login to sonar.token, added: Test Platform (Aktau 28); removed Test Platform.
Jul 16 2026, 2:22 PM · Test Platform (Aktau 28), Patch-For-Review, Continuous-Integration-Config, Quality-and-Test-Engineering-Team (SonarCloud Admin)

Jul 15 2026

pwangai closed T423059: Investigate if we can log more information with Quibble when running unit tests, a subtask of T420590: Decrease feedback loop for core tests to less than 10 minutes, as Invalid.
Jul 15 2026, 2:37 AM · Test Platform (Epics), Browser Test Platform, Epic
pwangai closed T423059: Investigate if we can log more information with Quibble when running unit tests as Invalid.

We are migrating to upstream parallelization, so I do not think we need to put much effort into this.

Jul 15 2026, 2:37 AM · Test Platform (Tallinn 27), Quibble, Spike

Jun 18 2026

pwangai lowered the priority of T429547: Migrate sonar analysis from deprecated sonar.login to sonar.token from High to Medium.
Jun 18 2026, 3:11 PM · Test Platform (Aktau 28), Patch-For-Review, Continuous-Integration-Config, Quality-and-Test-Engineering-Team (SonarCloud Admin)

Jun 17 2026

pwangai updated the task description for T429547: Migrate sonar analysis from deprecated sonar.login to sonar.token.
Jun 17 2026, 11:42 PM · Test Platform (Aktau 28), Patch-For-Review, Continuous-Integration-Config, Quality-and-Test-Engineering-Team (SonarCloud Admin)
pwangai updated the task description for T429547: Migrate sonar analysis from deprecated sonar.login to sonar.token.
Jun 17 2026, 10:08 PM · Test Platform (Aktau 28), Patch-For-Review, Continuous-Integration-Config, Quality-and-Test-Engineering-Team (SonarCloud Admin)
pwangai added a comment to T429547: Migrate sonar analysis from deprecated sonar.login to sonar.token.

I do not have access to https://gitlab.wikimedia.org/repos/maven/wmf-jvm-parent-pom, but I have sent an access request. Someone else might have to make the change.

Jun 17 2026, 9:57 PM · Test Platform (Aktau 28), Patch-For-Review, Continuous-Integration-Config, Quality-and-Test-Engineering-Team (SonarCloud Admin)
pwangai updated the task description for T429547: Migrate sonar analysis from deprecated sonar.login to sonar.token.
Jun 17 2026, 9:44 PM · Test Platform (Aktau 28), Patch-For-Review, Continuous-Integration-Config, Quality-and-Test-Engineering-Team (SonarCloud Admin)
pwangai triaged T429547: Migrate sonar analysis from deprecated sonar.login to sonar.token as High priority.
Jun 17 2026, 9:43 PM · Test Platform (Aktau 28), Patch-For-Review, Continuous-Integration-Config, Quality-and-Test-Engineering-Team (SonarCloud Admin)
pwangai updated the task description for T429547: Migrate sonar analysis from deprecated sonar.login to sonar.token.
Jun 17 2026, 9:27 PM · Test Platform (Aktau 28), Patch-For-Review, Continuous-Integration-Config, Quality-and-Test-Engineering-Team (SonarCloud Admin)
pwangai created T429547: Migrate sonar analysis from deprecated sonar.login to sonar.token.
Jun 17 2026, 9:01 PM · Test Platform (Aktau 28), Patch-For-Review, Continuous-Integration-Config, Quality-and-Test-Engineering-Team (SonarCloud Admin)

Jun 15 2026

pwangai closed T424462: Investigate if we can speed up PHPUnit ResourcesTest (Apr 2026) as Resolved.

Much appreciated, @Krinkle. The latest gated extensions run (F88553062) brings the class down to ~200 sec from the previous >450 sec, a big improvement! Marking this as resolved.

Jun 15 2026, 12:34 AM · MediaWiki-Core-Platform-Team (Kanban), MW-1.47-notes (1.47.0-wmf.8; 2026-06-23), MW-1.43-notes, MW-1.46-notes, MW-1.44-notes, MW-1.45-notes, MediaWiki-ResourceLoader, Test Platform (Tallinn 27), Spike
pwangai closed T424462: Investigate if we can speed up PHPUnit ResourcesTest (Apr 2026), a subtask of T420879: Speed up quibble-with-gated-extensions-vendor-mysql-php83, as Resolved.
Jun 15 2026, 12:34 AM · Test Platform (Epics), Epic

Jun 2 2026

pwangai added a project to T424462: Investigate if we can speed up PHPUnit ResourcesTest (Apr 2026): MediaWiki-ResourceLoader.
Jun 2 2026, 10:45 PM · MediaWiki-Core-Platform-Team (Kanban), MW-1.47-notes (1.47.0-wmf.8; 2026-06-23), MW-1.43-notes, MW-1.46-notes, MW-1.44-notes, MW-1.45-notes, MediaWiki-ResourceLoader, Test Platform (Tallinn 27), Spike

Jun 1 2026

pwangai closed T422096: Investigate if we can speed up core phpunit default suite (with database), a subtask of T420880: Speed up quibble-for-mediawiki-core-vendor-mysql-php83, as Resolved.
Jun 1 2026, 2:38 PM · Test Platform (Epics), Epic
pwangai closed T422096: Investigate if we can speed up core phpunit default suite (with database) as Resolved.
Jun 1 2026, 2:38 PM · Test Platform (Basel 26), Spike

May 29 2026

pwangai added a comment to T424462: Investigate if we can speed up PHPUnit ResourcesTest (Apr 2026).

I dug further into ResourcesTest::provideRespond() from the above data. Right now testRespond runs every ResourceLoader module against every installed skin. In the above job, the breakdown of the total 445 seconds taken by the ResourcesTest::testRespond is as follows:

vector-2022             80.654s
vector                  79.389s
minerva                 77.315s
contenttranslation      46.133s
json                    42.407s
authentication-popup    40.885s
apioutput               39.521s
fallback                39.206s

I guess my question would be if test coverage for all of these is important, or could we get away with limiting coverage to [ 'minerva', 'vector', 'vector-2022' ], or maybe what we could exempt?

May 29 2026, 5:38 PM · MediaWiki-Core-Platform-Team (Kanban), MW-1.47-notes (1.47.0-wmf.8; 2026-06-23), MW-1.43-notes, MW-1.46-notes, MW-1.44-notes, MW-1.45-notes, MediaWiki-ResourceLoader, Test Platform (Tallinn 27), Spike
pwangai added a comment to T424462: Investigate if we can speed up PHPUnit ResourcesTest (Apr 2026).

Another idea we had tried was making ResourcesTest run its own split group. I took a sample gated-extensions job run, and went digging into the saved artifacts. I do not think we have a lot to gain by putting the ResourcesTest class in its own split group. For this particular run in the database section, the split group timings are like this:

split_group_5  505.297s
split_group_1  215.208s
split_group_0  211.558s
split_group_2  200.622s
split_group_3  193.049s
split_group_4  141.554s
split_group_6   17.441s
split_group_7    1.395s

The ResourcesTest class is assigned to split group 5, together with 6 other classes. The below timings indicate how long the classes took:

ResourcesTest                 470.568s
ApiStructureTest               20.383s
ContentHandlerFunctionalTest    4.149s
PerformanceBudgetTest           2.336s
ApiPrefixUniquenessTest         0.231s
DatabaseIntegrationTest         0.046s
DumpableObjectsTest             0.032s

ResourcesTest share is:

ResourcesTest time:  470.568 / 497.745s summed timed
Other class time:     27.177s

And the time ratios are consistent with other runs. Putting the class in it's own split group will save us ~30 seconds at most. This would not be a big diff, but 30 seconds is not enough to pursue this idea IMO, considering the job would still remain >10min mark.

May 29 2026, 5:20 PM · MediaWiki-Core-Platform-Team (Kanban), MW-1.47-notes (1.47.0-wmf.8; 2026-06-23), MW-1.43-notes, MW-1.46-notes, MW-1.44-notes, MW-1.45-notes, MediaWiki-ResourceLoader, Test Platform (Tallinn 27), Spike

May 28 2026

pwangai placed T424462: Investigate if we can speed up PHPUnit ResourcesTest (Apr 2026) up for grabs.
May 28 2026, 3:12 AM · MediaWiki-Core-Platform-Team (Kanban), MW-1.47-notes (1.47.0-wmf.8; 2026-06-23), MW-1.43-notes, MW-1.46-notes, MW-1.44-notes, MW-1.45-notes, MediaWiki-ResourceLoader, Test Platform (Tallinn 27), Spike

May 20 2026

pwangai reassigned T423060: Investigate the posibility of running QUnit tests in pararell from pwangai to Mhurd.
May 20 2026, 8:52 PM · Test Platform (Aktau 28), Spike
pwangai closed T422108: Enable parallel phpunit tests for all jobs, not only gated extensions job, a subtask of T420590: Decrease feedback loop for core tests to less than 10 minutes, as Resolved.
May 20 2026, 1:12 AM · Test Platform (Epics), Browser Test Platform, Epic
pwangai closed T422108: Enable parallel phpunit tests for all jobs, not only gated extensions job, a subtask of T422104: Decrease gate pipeline times, as Resolved.
May 20 2026, 1:12 AM · Epic, Test Platform