Page MenuHomePhabricator

hashar (Antoine Musso)
LogisticsAdministrator

Today

  • No visible events.

Tomorrow

  • No visible events.

Sunday

  • No visible events.

User Details

User Since
Oct 3 2014, 2:31 PM (583 w, 6 d)
Roles
Administrator
Availability
Available
IRC Nick
hashar
LDAP User
Hashar
MediaWiki User
Unknown

https://www.mediawiki.org/wiki/User:Hashar

I am based in France CET/CEST (UTC+1, UTC+2). I have been a volunteer since ~ 2002 and employed at the Wikimedia Foundation since 2011.

My team is Release-Engineering-Team in which I notably maintain Jenkins Zuul Gerrit Continuous-Integration-Infrastructure Continuous-Integration-Config and various other things such as running the weekly MediaWiki deployment.

The preferred ways to reach me are:

IRC Libera.Chat

  • #wikimedia-releng
  • #wikimedia-operations
  • Direct message /query hashar

File a task in Phabricator and subscribe me to it (@hashar).

Email, Slack etc are read on an inconsistent best effort basis

Recent Activity

Wed, Dec 10

hashar closed T404939: CommunityConfiguration unconditionally requires CommunityConfigurationExample as Resolved.
Wed, Dec 10, 12:58 PM · MW-1.46-notes (1.46.0-wmf.7; 2025-12-16), Essential-Work, Release-Engineering-Team (Doing 😎), MW-1.45-notes (1.45.0-wmf.20; 2025-09-23), Growth-Team, MediaWiki-extensions-CommunityConfiguration

Tue, Dec 9

hashar added a comment to T404939: CommunityConfiguration unconditionally requires CommunityConfigurationExample.

I have tried to have the tests skipped from the before hook using:

describe( 'Community Configuration Example Page', () => {
Tue, Dec 9, 9:05 AM · MW-1.46-notes (1.46.0-wmf.7; 2025-12-16), Essential-Work, Release-Engineering-Team (Doing 😎), MW-1.45-notes (1.45.0-wmf.20; 2025-09-23), Growth-Team, MediaWiki-extensions-CommunityConfiguration
hashar renamed T404939: CommunityConfiguration unconditionally requires CommunityConfigurationExample from CommunityConfiguration uconditionally requires CommunityConfigurationExample to CommunityConfiguration unconditionally requires CommunityConfigurationExample.
Tue, Dec 9, 8:26 AM · MW-1.46-notes (1.46.0-wmf.7; 2025-12-16), Essential-Work, Release-Engineering-Team (Doing 😎), MW-1.45-notes (1.45.0-wmf.20; 2025-09-23), Growth-Team, MediaWiki-extensions-CommunityConfiguration
hashar added a comment to T405241: Investigate why Jenkins CI installs Vector when running core tests.

Quibble clones Vector unconditionally, that is hardwired in the code, similar to how we always clone mediawiki/vendor when Quibble is invoked with --packages-source=vendor: https://gerrit.wikimedia.org/g/integration/quibble/+/refs/heads/master/quibble/cmd.py#131

quibble/cmd.py
def _repos_to_clone(self, projects, zuul_project, clone_vendor):
    """
    Find repos to clone basedon passed arguments and environment
    """
    dependencies = set()
    dependencies.add('mediawiki/skins/Vector')  # <---------[ HERE ]-----------
    if clone_vendor:
        log.info('Adding mediawiki/vendor')
        dependencies.add('mediawiki/vendor')

That was done early on via, https://gerrit.wikimedia.org/r/c/integration/quibble/+/422553 because Selenium tests require a skin, other tests require or expect it as well.

Tue, Dec 9, 8:04 AM · Test-Platform (Bashkent Two (Current Sprint)), User-zeljkofilipin, Browser Test Platform, Spike

Mon, Dec 8

hashar added a comment to T404939: CommunityConfiguration unconditionally requires CommunityConfigurationExample.

I have tried to have the tests to be skipped in the before hook without using @cypress/skip-test since it is deprecated. I could not figure it out :-\ Thus I guess I should just add @cypress/skip-test. That will be for tomorrow.

Mon, Dec 8, 5:16 PM · MW-1.46-notes (1.46.0-wmf.7; 2025-12-16), Essential-Work, Release-Engineering-Team (Doing 😎), MW-1.45-notes (1.45.0-wmf.20; 2025-09-23), Growth-Team, MediaWiki-extensions-CommunityConfiguration
hashar reopened T404939: CommunityConfiguration unconditionally requires CommunityConfigurationExample as "Open".

In my original run I did not take in account browser tests. The Cypress testsuite in CommunitConfiguration requires ConfigurationExample, they should be skipped when it is not present.

Mon, Dec 8, 3:32 PM · MW-1.46-notes (1.46.0-wmf.7; 2025-12-16), Essential-Work, Release-Engineering-Team (Doing 😎), MW-1.45-notes (1.45.0-wmf.20; 2025-09-23), Growth-Team, MediaWiki-extensions-CommunityConfiguration

Fri, Dec 5

hashar updated the task description for T411339: CI fails in REL1_43 due to CI infrastructure change to not recursively expand dependencies.
Fri, Dec 5, 10:25 AM · MW-1.43-release, Patch-For-Review, Continuous-Integration-Infrastructure, ci-test-error, Cite, DiscussionTools
hashar closed T408275: 1.46.0-wmf.5 deployment blockers as Resolved.

Success!

Fri, Dec 5, 9:31 AM · Release-Engineering-Team (Priority Backlog 📥), Essential-Work, Release, Train Deployments
hashar created T411855: Wikimedia\NormalizedException\NormalizedException: No tone suggestions found from API.
Fri, Dec 5, 9:25 AM · Growth-Team, GrowthExperiments, Wikimedia-production-error
hashar created T411854: LogicException: Domain 'mowiktionary' is not recognized..
Fri, Dec 5, 9:22 AM · Wikidata, Cognate, Wikimedia-production-error
hashar created T411852: Wikimedia\Assert\ParameterTypeException: Bad value for parameter $node: must be a Wikimedia\Parsoid\DOM\Element|Wikimedia\Parsoid\DOM\CharacterData|DOMElement|DOMCharacterData.
Fri, Dec 5, 9:11 AM · Editing-team, Content-Transform-Team, Parsoid, Cite, Wikimedia-production-error

Thu, Dec 4

hashar added a comment to T411585: PHP Warning: Stats: (action_api_modules_hit_total): Stats: (action_api_modules_hit_total) Cannot associate label keys with label values - Not all initialized labels have an assigned value..

Thanks @Lucas_Werkmeister_WMDE and @Reedy , it turns out on my copy of MediaWiki New Errors ECS had some extra filters which hiding the spam of logs :(

Thu, Dec 4, 4:41 PM · MW-1.46-notes (1.46.0-wmf.5; 2025-12-02), MW-Interfaces-Team (MWI-Sprint-24 (2025-12-02 to 2025-12-24)), MediaWiki-libs-Stats, MediaWiki-General, Wikimedia-production-error
hashar added a comment to T408275: 1.46.0-wmf.5 deployment blockers.

It is mostly quiet. I have left a comment as follow up to T411585 since another warning has surfaced: T411585#11431939

Thu, Dec 4, 10:33 AM · Release-Engineering-Team (Priority Backlog 📥), Essential-Work, Release, Train Deployments
hashar added a comment to T411585: PHP Warning: Stats: (action_api_modules_hit_total): Stats: (action_api_modules_hit_total) Cannot associate label keys with label values - Not all initialized labels have an assigned value..

After deploying the patch there is another issue surfacing, I am adding it on the same task rather than filing one cause that sounds more or less related or at least under the same context. That is only appearing on ruwiki and we got only 160 of them over 90 minutes:

Thu, Dec 4, 10:20 AM · MW-1.46-notes (1.46.0-wmf.5; 2025-12-02), MW-Interfaces-Team (MWI-Sprint-24 (2025-12-02 to 2025-12-24)), MediaWiki-libs-Stats, MediaWiki-General, Wikimedia-production-error
hashar closed T411580: SitemapFileHandler: PHP Deprecated: Implicit conversion from float 33333.333333333336 to int loses precision as Resolved.

Thank you for the fix, I have deployed the backport before running the train.

Thu, Dec 4, 9:43 AM · MW-1.46-notes (1.46.0-wmf.5; 2025-12-02), MW-1.45-notes, MW-1.45-release, MediaWiki-General, PHP 8.1 support, Wikimedia-production-error
hashar updated subscribers of T411585: PHP Warning: Stats: (action_api_modules_hit_total): Stats: (action_api_modules_hit_total) Cannot associate label keys with label values - Not all initialized labels have an assigned value..

As to not loose a couple of remarks that were made on the change and its backport, I am pasting them here:

Thu, Dec 4, 9:38 AM · MW-1.46-notes (1.46.0-wmf.5; 2025-12-02), MW-Interfaces-Team (MWI-Sprint-24 (2025-12-02 to 2025-12-24)), MediaWiki-libs-Stats, MediaWiki-General, Wikimedia-production-error

Wed, Dec 3

hashar added a subtask for T389998: Allow control over which extra extensions are installed (Math REL1_43 jobs exceed 60min timeout): T411660: UploadWizard structure tests fail when EventLogging is not loaded.
Wed, Dec 3, 6:23 PM · MW-1.46-notes (1.46.0-wmf.7; 2025-12-16), MW-1.45-notes (1.45.0-wmf.24; 2025-10-21), MW-1.44-notes (1.44.0-wmf.27; 2025-04-29), Patch-For-Review, MediaWiki-Platform-Team (Radar), Continuous-Integration-Config
hashar added a subtask for T407797: Create a CI job to enforce tests to pass with solely required extensions: T411660: UploadWizard structure tests fail when EventLogging is not loaded.
Wed, Dec 3, 6:23 PM · Patch-For-Review, Continuous-Integration-Config
hashar added parent tasks for T411660: UploadWizard structure tests fail when EventLogging is not loaded: T407797: Create a CI job to enforce tests to pass with solely required extensions, T389998: Allow control over which extra extensions are installed (Math REL1_43 jobs exceed 60min timeout).
Wed, Dec 3, 6:23 PM · Patch-For-Review, Continuous-Integration-Config, UploadWizard
hashar created T411660: UploadWizard structure tests fail when EventLogging is not loaded.
Wed, Dec 3, 6:23 PM · Patch-For-Review, Continuous-Integration-Config, UploadWizard
hashar added a comment to T411644: UploadWizard QUnit tests failing mw.uploadWizard.controller.Deed: Died on test #1: can't access property "top", offset is undefined.

When doing the backport to REL1_39 I noticed it had this.sandbox.stub( step.ui, 'load' ); which sidestep load.

Wed, Dec 3, 5:55 PM · MW-1.46-notes (1.46.0-wmf.7; 2025-12-16), Patch-For-Review, UploadWizard, Continuous-Integration-Config
hashar added a comment to T411644: UploadWizard QUnit tests failing mw.uploadWizard.controller.Deed: Died on test #1: can't access property "top", offset is undefined.

There is a single line of code matching offset.top:

resources/ui/uw.ui.Step.js
/**
 * Initialize this step.
 *
 * @param {mw.UploadWizardUpload[]} uploads
 */
uw.ui.Step.prototype.load = function ( uploads ) {
    // eslint-disable-next-line no-jquery/no-global-selector
    const offset = $( 'h1' ).first().offset();
Wed, Dec 3, 4:58 PM · MW-1.46-notes (1.46.0-wmf.7; 2025-12-16), Patch-For-Review, UploadWizard, Continuous-Integration-Config
hashar updated the task description for T411644: UploadWizard QUnit tests failing mw.uploadWizard.controller.Deed: Died on test #1: can't access property "top", offset is undefined.
Wed, Dec 3, 4:49 PM · MW-1.46-notes (1.46.0-wmf.7; 2025-12-16), Patch-For-Review, UploadWizard, Continuous-Integration-Config
hashar updated the task description for T411644: UploadWizard QUnit tests failing mw.uploadWizard.controller.Deed: Died on test #1: can't access property "top", offset is undefined.
Wed, Dec 3, 4:38 PM · MW-1.46-notes (1.46.0-wmf.7; 2025-12-16), Patch-For-Review, UploadWizard, Continuous-Integration-Config
hashar updated the task description for T411644: UploadWizard QUnit tests failing mw.uploadWizard.controller.Deed: Died on test #1: can't access property "top", offset is undefined.
Wed, Dec 3, 4:34 PM · MW-1.46-notes (1.46.0-wmf.7; 2025-12-16), Patch-For-Review, UploadWizard, Continuous-Integration-Config
hashar created T411644: UploadWizard QUnit tests failing mw.uploadWizard.controller.Deed: Died on test #1: can't access property "top", offset is undefined.
Wed, Dec 3, 4:07 PM · MW-1.46-notes (1.46.0-wmf.7; 2025-12-16), Patch-For-Review, UploadWizard, Continuous-Integration-Config
hashar added a subtask for T411339: CI fails in REL1_43 due to CI infrastructure change to not recursively expand dependencies: T406323: Make it possible to run Cite tests without VisualEditor or WikiEditor.
Wed, Dec 3, 3:58 PM · MW-1.43-release, Patch-For-Review, Continuous-Integration-Infrastructure, ci-test-error, Cite, DiscussionTools
hashar added a parent task for T406323: Make it possible to run Cite tests without VisualEditor or WikiEditor: T411339: CI fails in REL1_43 due to CI infrastructure change to not recursively expand dependencies.
Wed, Dec 3, 3:58 PM · Patch-For-Review, MW-1.46-notes (1.46.0-wmf.7; 2025-12-16), MW-1.45-notes (1.45.0-wmf.23; 2025-10-14), Cite
hashar updated subscribers of T411585: PHP Warning: Stats: (action_api_modules_hit_total): Stats: (action_api_modules_hit_total) Cannot associate label keys with label values - Not all initialized labels have an assigned value..

If I look at https://ru.wikinews.org/wiki/Special:RecentChanges , at 13:56 @Ladsgroup has deleted a bunch of pages with the reason: Deleting obsolete stat pages ( https://ru.wikinews.org/w/index.php?title=%D0%92%D0%B8%D0%BA%D0%B8%D0%BD%D0%BE%D0%B2%D0%BE%D1%81%D1%82%D0%B8:%D0%A4%D0%BE%D1%80%D1%83%D0%BC/%D0%9E%D0%B1%D1%89%D0%B8%D0%B9&oldid=16808456#Are_these_pages_needed? )

Wed, Dec 3, 3:48 PM · MW-1.46-notes (1.46.0-wmf.5; 2025-12-02), MW-Interfaces-Team (MWI-Sprint-24 (2025-12-02 to 2025-12-24)), MediaWiki-libs-Stats, MediaWiki-General, Wikimedia-production-error
hashar added a comment to T411585: PHP Warning: Stats: (action_api_modules_hit_total): Stats: (action_api_modules_hit_total) Cannot associate label keys with label values - Not all initialized labels have an assigned value..

The error has vanished from ruwikinews at 13:56 UTC:

deprecated_warnings.png (231×555 px, 17 KB)

Wed, Dec 3, 3:42 PM · MW-1.46-notes (1.46.0-wmf.5; 2025-12-02), MW-Interfaces-Team (MWI-Sprint-24 (2025-12-02 to 2025-12-24)), MediaWiki-libs-Stats, MediaWiki-General, Wikimedia-production-error
hashar added a comment to T408275: 1.46.0-wmf.5 deployment blockers.

I have filed:
T411580: SitemapFileHandler: PHP Deprecated: Implicit conversion from float 33333.333333333336 to int loses precision
T411585: PHP Warning: Stats: (action_api_modules_hit_total): Stats: (action_api_modules_hit_total) Cannot associate label keys with label values - Not all initialized labels have an assigned value.
Those do not seem to be worth blocking the train. I triaged them with Daniel this morning and he routed those tasks to the appropriate MediaWiki teams.

Wed, Dec 3, 9:53 AM · Release-Engineering-Team (Priority Backlog 📥), Essential-Work, Release, Train Deployments
hashar updated subscribers of T411580: SitemapFileHandler: PHP Deprecated: Implicit conversion from float 33333.333333333336 to int loses precision.

The Page::SitemapGenerator() requires int and it passed a float by SitemapGenerator which get a float on construction:

$this->sitemapSize = ( $apiConf['pagesPerSitemap'] ?? 10_000 ) / ( count( $variants ) + 1 );
Wed, Dec 3, 9:52 AM · MW-1.46-notes (1.46.0-wmf.5; 2025-12-02), MW-1.45-notes, MW-1.45-release, MediaWiki-General, PHP 8.1 support, Wikimedia-production-error
hashar created T411585: PHP Warning: Stats: (action_api_modules_hit_total): Stats: (action_api_modules_hit_total) Cannot associate label keys with label values - Not all initialized labels have an assigned value..
Wed, Dec 3, 9:30 AM · MW-1.46-notes (1.46.0-wmf.5; 2025-12-02), MW-Interfaces-Team (MWI-Sprint-24 (2025-12-02 to 2025-12-24)), MediaWiki-libs-Stats, MediaWiki-General, Wikimedia-production-error
hashar created T411580: SitemapFileHandler: PHP Deprecated: Implicit conversion from float 33333.333333333336 to int loses precision.
Wed, Dec 3, 9:11 AM · MW-1.46-notes (1.46.0-wmf.5; 2025-12-02), MW-1.45-notes, MW-1.45-release, MediaWiki-General, PHP 8.1 support, Wikimedia-production-error
hashar archived P86356 This is a title.
Wed, Dec 3, 8:44 AM
hashar created P86356 This is a title.
Wed, Dec 3, 8:39 AM

Tue, Dec 2

hashar added a comment to T404868: composer merge plugin does not fail when dependency is not satisfied (was: Error: Class "Pimple\Container" not found).

I have dig into last week but missed updating this task. The reason is the composer-merge-plugin silently ignore the error, reset the state of ./vendor and let composer continue the execution.

Tue, Dec 2, 8:07 PM · MW-1.39-release, ci-test-error, MW-1.44-release, MW-1.43-release, MediaWiki-extensions-OATHAuth
hashar added a comment to T411474: Grafana "MW deploy" "Train deployments" annotations broken on some dashboards.

Note from @colewhite, the scap logs are available at (requires NDA login) https://grafana.wikimedia.org/goto/XO75YxZDR?orgId=1

Tue, Dec 2, 7:03 PM · Scap, Release-Engineering-Team (Radar), Grafana
hashar edited projects for T411474: Grafana "MW deploy" "Train deployments" annotations broken on some dashboards, added: Scap; removed Deployments.

Scap has:

scap/main.py
def increment_stat(self, stat, all_stat=True, value=1):
    """Increment a stat in deploy.*
Tue, Dec 2, 6:54 PM · Scap, Release-Engineering-Team (Radar), Grafana
hashar closed T406762: gerrit2003 is trying to backup incrementally 3.5 million files every hour, clogging backus and filling in available disk space as Resolved.

These are the top files by size:

cumin2024@db1213.eqiad.wmnet[bacula9]> select Name, lstat_size(LStat) FROM File JOIN Filename USING(FilenameId) where JobId=666670 ORDER BY lstat_size(LStat) DESC LIMIT 15;
+-----------------------------+-------------------+
| Name                        | lstat_size(LStat) |
+-----------------------------+-------------------+
| git_file_diff.h2.db         |        2925682688 |
| comment_context.h2.db       |        1925754880 |
| account_patch_reviews.h2.db |        1427044352 |
| gerrit_file_diff.h2.db      |        1319897088 |
...
Tue, Dec 2, 3:47 PM · Patch-For-Review, collaboration-services, Gerrit
hashar closed T406762: gerrit2003 is trying to backup incrementally 3.5 million files every hour, clogging backus and filling in available disk space, a subtask of T387833: Gerrit failover process, as Resolved.
Tue, Dec 2, 3:47 PM · Patch-For-Review, collaboration-services
hashar added a project to T411339: CI fails in REL1_43 due to CI infrastructure change to not recursively expand dependencies: MW-1.43-release.
Tue, Dec 2, 12:02 PM · MW-1.43-release, Patch-For-Review, Continuous-Integration-Infrastructure, ci-test-error, Cite, DiscussionTools
hashar added a project to T411408: Deploy extension:WP25EasterEggs to beta cluster: Continuous-Integration-Config.
Tue, Dec 2, 11:54 AM · Continuous-Integration-Config, Patch-For-Review, MediaWiki-extensions-WP25EasterEggs, PES1.3.3 WP25 Easter Eggs
hashar added a comment to T411408: Deploy extension:WP25EasterEggs to beta cluster.

I have deployed the CI configuration which enabled phan static analysis for the repository. I have send an empty change and surely it failed to pass Phan:

src/CommunityConfigurationSchema.php:7 PhanUndeclaredExtendedClass Class extends undeclared class \MediaWiki\Extension\CommunityConfiguration\Schema\JsonSchema
src/CommunityConfigurationSchema.php:9 PhanUndeclaredConstantOfClass Reference to undeclared class constant \MediaWiki\Extension\WP25EasterEggs\CommunityConfigurationSchema::TYPE
src/CommunityConfigurationSchema.php:9 PhanUndeclaredConstantOfClass Reference to undeclared class constant \MediaWiki\Extension\WP25EasterEggs\CommunityConfigurationSchema::TYPE_STRING
src/CommunityConfigurationSchema.php:10 PhanUndeclaredConstantOfClass Reference to undeclared class constant \MediaWiki\Extension\WP25EasterEggs\CommunityConfigurationSchema::ENUM
src/CommunityConfigurationSchema.php:11 PhanUndeclaredConstantOfClass Reference to undeclared class constant \MediaWiki\Extension\WP25EasterEggs\CommunityConfigurationSchema::DEFAULT
src/Hooks.php:58 PhanTypeMismatchReturn Returning ['key'=>$key,'value'=>$value,'isEnabled'=>$isEnabled] of type array{key:'wp25eastereggs-enable',value:mixed|null,isEnabled:'0'|'1'} but getUserPrefEnabled() is declared to return array{key:string,value:mixed,isEnabled:bool}
src/Hooks.php:85 PhanTypeSuspiciousStringExpression Suspicious type bool of a variable or expression $userPrefEnabled['isEnabled'] used to build a string. (Expected type to be able to cast to a string)
Tue, Dec 2, 11:45 AM · Continuous-Integration-Config, Patch-For-Review, MediaWiki-extensions-WP25EasterEggs, PES1.3.3 WP25 Easter Eggs
hashar created T411474: Grafana "MW deploy" "Train deployments" annotations broken on some dashboards.
Tue, Dec 2, 10:45 AM · Scap, Release-Engineering-Team (Radar), Grafana

Mon, Dec 1

hashar added a subtask for T389998: Allow control over which extra extensions are installed (Math REL1_43 jobs exceed 60min timeout): T411339: CI fails in REL1_43 due to CI infrastructure change to not recursively expand dependencies.
Mon, Dec 1, 2:05 PM · MW-1.46-notes (1.46.0-wmf.7; 2025-12-16), MW-1.45-notes (1.45.0-wmf.24; 2025-10-21), MW-1.44-notes (1.44.0-wmf.27; 2025-04-29), Patch-For-Review, MediaWiki-Platform-Team (Radar), Continuous-Integration-Config
hashar added a parent task for T411339: CI fails in REL1_43 due to CI infrastructure change to not recursively expand dependencies: T389998: Allow control over which extra extensions are installed (Math REL1_43 jobs exceed 60min timeout).
Mon, Dec 1, 2:05 PM · MW-1.43-release, Patch-For-Review, Continuous-Integration-Infrastructure, ci-test-error, Cite, DiscussionTools
hashar added a comment to T411339: CI fails in REL1_43 due to CI infrastructure change to not recursively expand dependencies.

@hashar: Did you plan to back-port your fixes for release branches?

Mon, Dec 1, 2:01 PM · MW-1.43-release, Patch-For-Review, Continuous-Integration-Infrastructure, ci-test-error, Cite, DiscussionTools
hashar renamed T411346: [wm-checks-api]: Gerrit “checks” plugin leaves unthreaded “recheck” comments when clicking “run” button from Gerrit “checks” plugin leaves unthreaded “recheck” comments when clicking “run” button to [wm-checks-api]: Gerrit “checks” plugin leaves unthreaded “recheck” comments when clicking “run” button.
Mon, Dec 1, 2:00 PM · Gerrit
hashar moved T411346: [wm-checks-api]: Gerrit “checks” plugin leaves unthreaded “recheck” comments when clicking “run” button from Bugs & stuff to WMF customizations on the Gerrit board.

The Run buttons triggers a callback named recheckActionCallback() and defined at https://gerrit.wikimedia.org/g/operations/software/gerrit/+/refs/heads/deploy/wmf/stable-3.10/plugins/wm-checks-api.js#790

Mon, Dec 1, 1:59 PM · Gerrit
hashar created T411353: scap lint under php 8.3 should pass multiple files.
Mon, Dec 1, 11:11 AM · Patch-For-Review, PHP 8.3 support, Scap
hashar updated the task description for T406323: Make it possible to run Cite tests without VisualEditor or WikiEditor.
Mon, Dec 1, 9:35 AM · Patch-For-Review, MW-1.46-notes (1.46.0-wmf.7; 2025-12-16), MW-1.45-notes (1.45.0-wmf.23; 2025-10-14), Cite
hashar added a comment to T411340: Call to undefined method MediaWikiIntegrationTestCase::suite() in extensions/JsonConfig/tests/phpunit/JCLuaLibraryTest.php:48.

Found it! The JsonConfig extension has LUA integration tests which require Scribunto. To avoid failing when Scribunto is not loaded, the php class has an early return:

tests/phpunit/JCLuaLibraryTest.php
Mon, Dec 1, 9:11 AM · ci-test-error, JsonConfig
hashar updated the task description for T411340: Call to undefined method MediaWikiIntegrationTestCase::suite() in extensions/JsonConfig/tests/phpunit/JCLuaLibraryTest.php:48.
Mon, Dec 1, 8:47 AM · ci-test-error, JsonConfig
hashar removed a project from T389998: Allow control over which extra extensions are installed (Math REL1_43 jobs exceed 60min timeout): Math.

I am removing Math from the list of projects since that is a general issue.

Mon, Dec 1, 8:30 AM · MW-1.46-notes (1.46.0-wmf.7; 2025-12-16), MW-1.45-notes (1.45.0-wmf.24; 2025-10-21), MW-1.44-notes (1.44.0-wmf.27; 2025-04-29), Patch-For-Review, MediaWiki-Platform-Team (Radar), Continuous-Integration-Config
hashar added a subtask for T389998: Allow control over which extra extensions are installed (Math REL1_43 jobs exceed 60min timeout): T411340: Call to undefined method MediaWikiIntegrationTestCase::suite() in extensions/JsonConfig/tests/phpunit/JCLuaLibraryTest.php:48.
Mon, Dec 1, 8:29 AM · MW-1.46-notes (1.46.0-wmf.7; 2025-12-16), MW-1.45-notes (1.45.0-wmf.24; 2025-10-21), MW-1.44-notes (1.44.0-wmf.27; 2025-04-29), Patch-For-Review, MediaWiki-Platform-Team (Radar), Continuous-Integration-Config
hashar added a parent task for T411340: Call to undefined method MediaWikiIntegrationTestCase::suite() in extensions/JsonConfig/tests/phpunit/JCLuaLibraryTest.php:48: T389998: Allow control over which extra extensions are installed (Math REL1_43 jobs exceed 60min timeout).
Mon, Dec 1, 8:29 AM · ci-test-error, JsonConfig
hashar created T411340: Call to undefined method MediaWikiIntegrationTestCase::suite() in extensions/JsonConfig/tests/phpunit/JCLuaLibraryTest.php:48.
Mon, Dec 1, 8:29 AM · ci-test-error, JsonConfig

Fri, Nov 28

hashar closed T411246: ProofreadPages CI breaks without VE integration, a subtask of T389998: Allow control over which extra extensions are installed (Math REL1_43 jobs exceed 60min timeout), as Resolved.
Fri, Nov 28, 3:52 PM · MW-1.46-notes (1.46.0-wmf.7; 2025-12-16), MW-1.45-notes (1.45.0-wmf.24; 2025-10-21), MW-1.44-notes (1.44.0-wmf.27; 2025-04-29), Patch-For-Review, MediaWiki-Platform-Team (Radar), Continuous-Integration-Config
hashar closed T411246: ProofreadPages CI breaks without VE integration as Resolved.

Fixed by adding ParserFunctions as an explicit dependency of ProofreadPage. Thanks for the report!

Fri, Nov 28, 3:52 PM · ProofreadPage, ci-test-error (WMF-deployed Build Failure), Continuous-Integration-Config
hashar added a comment to T411246: ProofreadPages CI breaks without VE integration.

Indeed I broke it when I disabled recursion on VisualEditor ( https://gerrit.wikimedia.org/r/c/integration/config/+/1211189 ) which removed a lot of dependencies. Previously the long list included ParserFunctions and was:

AbuseFilter
AntiSpoof
BetaFeatures
CentralAuth
CheckUser
CirrusSearch
Cite
cldr
CodeEditor
CommunityConfiguration
CommunityConfigurationExample
ConfirmEdit
DiscussionTools
Echo
Elastica
EmailAuth
EventBus
EventLogging
EventStreamConfig
FlaggedRevs
Flow
Gadgets
GeoData
GlobalBlocking
GlobalPreferences
GrowthExperiments
GuidedTour
IPInfo
IPReputation
LabeledSectionTransclusion
Linter
LoginNotify
MetricsPlatform
MobileApp
MobileFrontend
OATHAuth
PageImages
PageViewInfo
ParserFunctions
PdfHandler
Popups
Renameuser
Scribunto
SecurePoll
SiteMatrix
TemplateData
TextExtracts
Thanks
TimedMediaHandler
TorBlock
VisualEditor
WebAuthn
WikiEditor
WikimediaEvents
WikimediaMessages
Fri, Nov 28, 3:39 PM · ProofreadPage, ci-test-error (WMF-deployed Build Failure), Continuous-Integration-Config
hashar updated the task description for T411246: ProofreadPages CI breaks without VE integration.
Fri, Nov 28, 3:29 PM · ProofreadPage, ci-test-error (WMF-deployed Build Failure), Continuous-Integration-Config
hashar added a comment to T410975: Upgrade Envoy to v1.35.7.

I have updated the helm-lint jenkins job.

Fri, Nov 28, 2:31 PM · Patch-For-Review, SRE, serviceops, envoy

Thu, Nov 27

hashar added a comment to T409318: AbuseFilter PHPUnit tests fail without CheckUser.

Thank you very much for your assistance @Dreamy_Jazz 🎉

Thu, Nov 27, 3:52 PM · MW-1.46-notes (1.46.0-wmf.5; 2025-12-02), Product Safety and Integrity (Crepes au Chocolat (Sprint Nov 10 - Nov 28)), Essential-Work, CheckUser, AbuseFilter
hashar added a comment to T409318: AbuseFilter PHPUnit tests fail without CheckUser.

AFAICS they should be skipped when CheckUser is not installed

Thu, Nov 27, 11:58 AM · MW-1.46-notes (1.46.0-wmf.5; 2025-12-02), Product Safety and Integrity (Crepes au Chocolat (Sprint Nov 10 - Nov 28)), Essential-Work, CheckUser, AbuseFilter

Wed, Nov 26

hashar added a comment to T406762: gerrit2003 is trying to backup incrementally 3.5 million files every hour, clogging backus and filling in available disk space.

This task was for gerrit2003 which had a 55GB backup because, as part of a migration, the git repositories have been entirely rewritten. That specific cause has been resolved for now (but will trigger again next time the repos are wiped and regenerated via parent T387833).

Wed, Nov 26, 3:44 PM · Patch-For-Review, collaboration-services, Gerrit
hashar added a comment to T147864: Use IDP for authentication in Gerrit.

It is stalled because that is merely a which list and it is definitely not a priority.

Wed, Nov 26, 3:25 PM · Infrastructure-Foundations, CAS-SSO, Gerrit
hashar updated the task description for T389998: Allow control over which extra extensions are installed (Math REL1_43 jobs exceed 60min timeout).
Wed, Nov 26, 1:25 PM · MW-1.46-notes (1.46.0-wmf.7; 2025-12-16), MW-1.45-notes (1.45.0-wmf.24; 2025-10-21), MW-1.44-notes (1.44.0-wmf.27; 2025-04-29), Patch-For-Review, MediaWiki-Platform-Team (Radar), Continuous-Integration-Config
hashar created T411080: AchievementBadges test AchieveTest::testAchieveEditPages fails on CI.
Wed, Nov 26, 10:22 AM · MediaWiki-extensions-Other
hashar updated the task description for T389998: Allow control over which extra extensions are installed (Math REL1_43 jobs exceed 60min timeout).
Wed, Nov 26, 9:50 AM · MW-1.46-notes (1.46.0-wmf.7; 2025-12-16), MW-1.45-notes (1.45.0-wmf.24; 2025-10-21), MW-1.44-notes (1.44.0-wmf.27; 2025-04-29), Patch-For-Review, MediaWiki-Platform-Team (Radar), Continuous-Integration-Config

Tue, Nov 25

hashar renamed T404868: composer merge plugin does not fail when dependency is not satisfied (was: Error: Class "Pimple\Container" not found) from Error: Class "Pimple\Container" not found to composer merge plugin does not fail when dependency is not satisfed (was: Error: Class "Pimple\Container" not found).
Tue, Nov 25, 2:42 PM · MW-1.39-release, ci-test-error, MW-1.44-release, MW-1.43-release, MediaWiki-extensions-OATHAuth
hashar reopened T404868: composer merge plugin does not fail when dependency is not satisfied (was: Error: Class "Pimple\Container" not found) as "Open".

I am reopening this in order to address the root cause: the composer merge plugin does not abort / fail when it fails to install, continues execution which eventually leads to class not being found

Update to apply merge settings failed, reverting ./composer.lock to its original content.
Tue, Nov 25, 2:40 PM · MW-1.39-release, ci-test-error, MW-1.44-release, MW-1.43-release, MediaWiki-extensions-OATHAuth
hashar added a comment to T335288: CVE-2021-46743: firebase/php-jwt Key/algorithm type confusion.

CheckUser did not receive the update in REL1_39 which eventually led to Composer to refuse to install firebase/php-jwt due to the security issue.T411006

Tue, Nov 25, 2:37 PM · Vuln-VulnComponent, SecTeam-Processed, MediaWiki-Vendor, Security, Security-Team
hashar added a comment to T411006: Composer 2.9 blocks LibUp js-yaml upgrade on release branch due to vulnerability in firebase/php-jwt.

I have encountered that issue with ProofreadPage on https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ProofreadPage/+/1193873 and ended up pushing the change.

Tue, Nov 25, 2:36 PM · Composer, LibUp

Mon, Nov 24

hashar added a comment to T404868: composer merge plugin does not fail when dependency is not satisfied (was: Error: Class "Pimple\Container" not found).

Same issue on REL1_39 of ProofreadPage and spotted on https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ProofreadPage/+/1193873

Mon, Nov 24, 3:43 PM · MW-1.39-release, ci-test-error, MW-1.44-release, MW-1.43-release, MediaWiki-extensions-OATHAuth

Fri, Nov 21

hashar added a comment to T389998: Allow control over which extra extensions are installed (Math REL1_43 jobs exceed 60min timeout).

For the migration I think I will do it in small steps:

Fri, Nov 21, 10:17 AM · MW-1.46-notes (1.46.0-wmf.7; 2025-12-16), MW-1.45-notes (1.45.0-wmf.24; 2025-10-21), MW-1.44-notes (1.44.0-wmf.27; 2025-04-29), Patch-For-Review, MediaWiki-Platform-Team (Radar), Continuous-Integration-Config

Thu, Nov 20

hashar closed T410651: Add word diff utility to CI as Resolved.

With word diff, the added BlueSpiceSocialTopics dependency stands out in green:

Thu, Nov 20, 4:11 PM · Release-Engineering-Team (Doing 😎), Essential-Work, Continuous-Integration-Config
hashar added a comment to T410651: Add word diff utility to CI.

I think git diff --unified=0 --color-words will do

Thu, Nov 20, 3:41 PM · Release-Engineering-Team (Doing 😎), Essential-Work, Continuous-Integration-Config
hashar created T410651: Add word diff utility to CI.
Thu, Nov 20, 3:27 PM · Release-Engineering-Team (Doing 😎), Essential-Work, Continuous-Integration-Config

Fri, Nov 14

hashar added a comment to T410119: WikimediaBadges tests fail when WikibaseClient is not loaded.

I have added a mapping for the MediaWiki installer with https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1205175 , made my WikimediaBadges patch to depend on it and we will see what happens. I will then follow up on T258822. My use case is to have install.php --with-extensions to work :-]

Fri, Nov 14, 2:59 PM · Wikidata, Patch-For-Review, MediaWiki-extensions-WikimediaBadges
hashar added a comment to T410119: WikimediaBadges tests fail when WikibaseClient is not loaded.

And CI failed! Even though Wikibase has been successfully cloned, the installer can't find WikibaseClient or WikibaseRepository:

$ php maintenance/install.php --with-extensions
Error: A dependency error was encountered while installing the extension "WikimediaBadges": Could not find the registration file for the extension "WikibaseClient"
Fri, Nov 14, 2:43 PM · Wikidata, Patch-For-Review, MediaWiki-extensions-WikimediaBadges
hashar added a parent task for T407355: EntitySchema has an unexpected hard dependency on Wikibase in various places: T258822: Wikibase extensions do not declare extension.json dependency on Wikibase.
Fri, Nov 14, 2:27 PM · Wikidata-Omega, Wikidata, EntitySchema
hashar added a parent task for T410053: ArticlePlaceholder tests fail when Wikibase is not present: T258822: Wikibase extensions do not declare extension.json dependency on Wikibase.
Fri, Nov 14, 2:27 PM · Wikidata, ArticlePlaceholder
hashar added a parent task for T410119: WikimediaBadges tests fail when WikibaseClient is not loaded: T258822: Wikibase extensions do not declare extension.json dependency on Wikibase.
Fri, Nov 14, 2:27 PM · Wikidata, Patch-For-Review, MediaWiki-extensions-WikimediaBadges
hashar added subtasks for T258822: Wikibase extensions do not declare extension.json dependency on Wikibase: T407355: EntitySchema has an unexpected hard dependency on Wikibase in various places, T410119: WikimediaBadges tests fail when WikibaseClient is not loaded, T410053: ArticlePlaceholder tests fail when Wikibase is not present.
Fri, Nov 14, 2:27 PM · Patch-For-Review, [DEPRECATED] wdwb-tech, Wikidata, ArticlePlaceholder
hashar updated the task description for T410132: IPInfo tests are failing when no other extension is loaded.
Fri, Nov 14, 11:49 AM · Product Safety and Integrity (Essential Work Sprint (Dec 15th - Jan 9th)), Essential-Work, MW-1.46-notes (1.46.0-wmf.3; 2025-11-19), IP Info
hashar added a comment to T410119: WikimediaBadges tests fail when WikibaseClient is not loaded.

Thanks! Then I guess we can make WikibaseClient a requirement in extension.json. And indeed when I look at mediawiki-config:

wmf-config/Wikibase.php
// Load Client extensions
if ( !empty( $wmgUseWikibaseClient ) ) {
    if ( !empty( $wmgUseWikibaseWikimediaBadges ) ) {
        wfLoadExtension( 'WikimediaBadges' );
    }
Fri, Nov 14, 11:33 AM · Wikidata, Patch-For-Review, MediaWiki-extensions-WikimediaBadges
hashar created T410132: IPInfo tests are failing when no other extension is loaded.
Fri, Nov 14, 11:26 AM · Product Safety and Integrity (Essential Work Sprint (Dec 15th - Jan 9th)), Essential-Work, MW-1.46-notes (1.46.0-wmf.3; 2025-11-19), IP Info
hashar created T410129: OAuth tests are failing when no other extension is loaded.
Fri, Nov 14, 11:12 AM · MW-1.46-notes (1.46.0-wmf.4; 2025-11-25), MediaWiki-Platform-Team, MediaWiki-extensions-OAuth
hashar created T410126: WikimediaEvents tests fail when ConfirmEdit is not loaded.
Fri, Nov 14, 10:48 AM · MW-1.46-notes (1.46.0-wmf.4; 2025-11-25), WE4.2 Bot detection (WE4.2 hCaptcha editing trial), Product Safety and Integrity (Crepes au Chocolat (Sprint Nov 10 - Nov 28)), ConfirmEdit (CAPTCHA extension), MediaWiki-extensions-WikimediaEvents
hashar created T410122: Tests depending on EventBus fail when EventStreamConfig is not loaded.
Fri, Nov 14, 10:31 AM · MW-1.46-notes (1.46.0-wmf.4; 2025-11-25), MediaWiki-extensions-WikimediaEvents, Data-Engineering, Event-Platform
hashar created T410119: WikimediaBadges tests fail when WikibaseClient is not loaded.
Fri, Nov 14, 10:05 AM · Wikidata, Patch-For-Review, MediaWiki-extensions-WikimediaBadges
hashar claimed T410118: TheWikipediaLibrary extension tests fail when Echo is not present.
Fri, Nov 14, 9:43 AM · Moderator-Tools-Team (Kanban), MW-1.46-notes (1.46.0-wmf.3; 2025-11-19), Patch-For-Review, The-Wikipedia-Library
hashar created T410118: TheWikipediaLibrary extension tests fail when Echo is not present.
Fri, Nov 14, 9:37 AM · Moderator-Tools-Team (Kanban), MW-1.46-notes (1.46.0-wmf.3; 2025-11-19), Patch-For-Review, The-Wikipedia-Library
hashar updated the task description for T410051: Babel tests fail when CommunityConfiguration is not present.
Fri, Nov 14, 9:33 AM · CommunityConfiguration-Adoption, Growth-Team, MediaWiki-extensions-Babel
hashar created T410117: ReportIncident PHPUnit tests fail when CommunityConfiguration is not present.
Fri, Nov 14, 9:33 AM · CommunityConfiguration-Adoption, Growth-Team, Incident-Reporting-System, Product Safety and Integrity

Thu, Nov 13

hashar added a comment to T407797: Create a CI job to enforce tests to pass with solely required extensions.

For the projects that are on WMF production, 44 projects failing so far. I have filed some as subtasks, some others are due to Resource Loader dependencies hard wiring VisualEditor even when it is optional, I need to file another task for that 😊

Thu, Nov 13, 4:21 PM · Patch-For-Review, Continuous-Integration-Config
hashar created T410057: Newsletter tests fail without Echo extension.
Thu, Nov 13, 4:10 PM · Notifications (Echo), MediaWiki-extensions-Newsletter
hashar added a project to T410056: EventBus tests fail without EventStreamConfig: Data-Engineering.
Thu, Nov 13, 4:00 PM · Data-Engineering, Event-Platform
hashar created T410056: EventBus tests fail without EventStreamConfig.
Thu, Nov 13, 3:59 PM · Data-Engineering, Event-Platform