Page MenuHomePhabricator
Feed Advanced Search

Tue, Apr 9

tstarling created T362133: Clean up block_target migration code.
Tue, Apr 9, 3:06 AM · Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling reopened T346293: ipblocks schema redesign for multiblocks, a subtask of T194697: Multiblocks — Allow for multiple, simultaneous blocks with different expiration dates., as Open.
Tue, Apr 9, 3:02 AM · Community-Tech, Multiblocks, Community-Wishlist-Survey-2023, MediaWiki-Blocks
tstarling reopened T346293: ipblocks schema redesign for multiblocks as "Open".

Reopening for 3rd party migration and MW core cleanup.

Tue, Apr 9, 3:01 AM · Patch-For-Review, MW-1.42-notes (1.42.0-wmf.14; 2024-01-16), Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling reopened T346293: ipblocks schema redesign for multiblocks, a subtask of T349689: Edit active blocks from Special:Block, as Open.
Tue, Apr 9, 3:01 AM · Community-Tech, Story, Multiblocks

Mon, Apr 8

tstarling updated the task description for T355034: Deploy new block_target schema.
Mon, Apr 8, 11:32 PM · MW-1.42-notes (1.42.0-wmf.21; 2024-03-05), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling added a comment to T355034: Deploy new block_target schema.

There were a few duplicate key errors while the change was half-deployed, the last at 23:23:00.

Mon, Apr 8, 11:32 PM · MW-1.42-notes (1.42.0-wmf.21; 2024-03-05), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks

Sun, Apr 7

tstarling added a comment to T361991: Regex search doesn't work with `/` delimiter in maintenance/grep.php .

Thanks for the report @labster. I can accept a Gerrit patch along these lines. It looks like you do have an account in Gerrit already.

Sun, Apr 7, 1:00 AM · MW-1.41-notes, MW-1.40-notes, MW-1.39-notes, MW-1.42-notes (1.42.0-wmf.26; 2024-04-09), Patch-For-Review, MediaWiki-Maintenance-system, MW-1.42-release, MW-1.41-release, MW-1.40-release, MW-1.39-release

Fri, Apr 5

tstarling added a comment to T361419: DatabaseTest::testCriticalSectionErrorSelect fails locally, yet passes with php-xdebug enabled.

I couldn't reproduce this, with PHP 8.2.15, xdebug disabled, and excimer locally compiled from the current git master.

Fri, Apr 5, 5:44 AM · MediaWiki-libs-RequestTimeout, MW-Interfaces-Team, MediaWiki-libs-Rdbms

Thu, Apr 4

tstarling added a comment to T361419: DatabaseTest::testCriticalSectionErrorSelect fails locally, yet passes with php-xdebug enabled.

CriticalSectionScope is not meant to be alive until the end of the process. That's the whole point of it, to have scope lifetime.

Thu, Apr 4, 10:50 PM · MediaWiki-libs-RequestTimeout, MW-Interfaces-Team, MediaWiki-libs-Rdbms
tstarling updated the task description for T355034: Deploy new block_target schema.
Thu, Apr 4, 2:57 AM · MW-1.42-notes (1.42.0-wmf.21; 2024-03-05), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling updated the task description for T355034: Deploy new block_target schema.
Thu, Apr 4, 2:56 AM · MW-1.42-notes (1.42.0-wmf.21; 2024-03-05), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks

Wed, Apr 3

tstarling added a comment to T358687: "New device" email sent if cookie has expired.

This should only happen if your IP address is in a /24 subnet (or /64 for IPv6) that hasn't been used for login in the past 80 days. Can you comment on whether that is likely to be the case?

Wed, Apr 3, 10:29 PM · Community-Tech, MediaWiki-extensions-LoginNotify

Tue, Apr 2

tstarling closed T285798: Stop extending core's ApiOptions as Declined.

Note that the other classes extended by GlobalPreferences (DefaultPreferencesFactory, PreferencesFormOOUI and SpecialPreferences) are also not marked stable to extend.

Tue, Apr 2, 10:06 PM · Community-Tech, MediaWiki-extensions-GlobalPreferences
tstarling closed T285798: Stop extending core's ApiOptions, a subtask of T259960: Inject services into API modules and special pages, as Declined.
Tue, Apr 2, 10:05 PM · MW-1.38-notes (1.38.0-wmf.23; 2022-02-21), MW-1.37-notes (1.37.0-wmf.23; 2021-09-13), MW-1.36-notes (1.36.0-wmf.38; 2021-04-06), User-DannyS712, Dependency injection, MediaWiki-Special-pages, MediaWiki-Action-API
tstarling added a comment to T285798: Stop extending core's ApiOptions.

MaxSem refactored ApiOptions to allow GlobalPreferences to extend it. He just didn't add @stable to extend because his work predated the introduction of those annotations.

Tue, Apr 2, 6:01 AM · Community-Tech, MediaWiki-extensions-GlobalPreferences
tstarling added a comment to T323076: GlobalPreferences blocks API changes to preference table (mediawiki.user saveOption function doesn't work).

As such, it seems to me that the apiwarn-globally-overridden warning should have been an error.

Tue, Apr 2, 4:32 AM · Community-Tech, MediaWiki-extensions-GlobalPreferences
tstarling added a comment to T323076: GlobalPreferences blocks API changes to preference table (mediawiki.user saveOption function doesn't work).

(unless we resort to hacky string indexOf checks on the warning).

Tue, Apr 2, 3:41 AM · Community-Tech, MediaWiki-extensions-GlobalPreferences
tstarling added a comment to T77151: Full Zoom Feature in Media Viewer.

Shortcuts for zoom will be provided to avoid clicking and repositioning: shift+scroll and "+" and "-" keys will increase/decrease the zoom level centering the zoom area to the current mouse position.

Tue, Apr 2, 2:23 AM · Multimedia, MediaViewer
tstarling updated subscribers of T323076: GlobalPreferences blocks API changes to preference table (mediawiki.user saveOption function doesn't work).

On T198913 we had multiple engineers arguing that users should be informed of global preference updates or overrides, so the default behaviour of action=options, where there is a non-overridden global preference and the extension has not suitably informed the user, should be to fail. As such, it seems to me that the apiwarn-globally-overridden warning should have been an error.

Tue, Apr 2, 12:17 AM · Community-Tech, MediaWiki-extensions-GlobalPreferences

Sat, Mar 30

tstarling added a comment to T190369: Big holes in the MediaWiki release archive.

I found 1.20.6 on a random website. I think the only one we're missing is 1.20.7.

Sat, Mar 30, 4:54 AM · MediaWiki-Releasing

Thu, Mar 28

tstarling updated subscribers of T190369: Big holes in the MediaWiki release archive.

It's unlikely the Internet Archive or any crawler would have files that were generated in September 2013 and reported missing in December 2013. Maybe community members would have them, but the right time to ask was December 2013.

Thu, Mar 28, 3:11 AM · MediaWiki-Releasing
tstarling closed T360865: Slow query in Special:LintErrors as Resolved.
Thu, Mar 28, 1:49 AM · MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), MediaWiki-extensions-Linter, Wikimedia-Slow-DB-Query, Patch-For-Review, Wikimedia-production-error
tstarling added a comment to T190369: Big holes in the MediaWiki release archive.

OK, well if they were already missing in 2014, I'm not going to find it in a 2018 archive.

Thu, Mar 28, 1:39 AM · MediaWiki-Releasing
tstarling closed T349462: Run Lua garbage collector prior to LuaSandbox OOM as Resolved.

Anything left to do here?

Thu, Mar 28, 1:31 AM · LuaSandbox
tstarling closed T349462: Run Lua garbage collector prior to LuaSandbox OOM, a subtask of T165935: "Lua error: not enough memory" on certain en.wiktionary pages, as Resolved.
Thu, Mar 28, 1:31 AM · Performance Issue, Scribunto, All-and-every-Wiktionary
tstarling added a comment to T190369: Big holes in the MediaWiki release archive.

Legoktm uploaded all MediaWiki tarballs from releases.wikimedia.org to the Internet Archive in 2018. I should be able to recover the remaining missing tarballs from there.

Thu, Mar 28, 12:00 AM · MediaWiki-Releasing

Wed, Mar 27

tstarling added a comment to T361064: Wikimedia OCR is not responding.

I can set up a wall time limit, but it seems abusive to queue unlimited Transkribus jobs without any plans to check their responses.

Wed, Mar 27, 11:54 PM · Community-Tech, Wikimedia OCR
tstarling added a comment to T190369: Big holes in the MediaWiki release archive.

I uploaded the following release tarballs from my personal archives, which mostly derive from a copy I made of the SourceForge files section in 2009. I retroactively designated the dated snapshots of 2003 as "1.0" for clarity when navigating the top-level directory. There was no other 1.0 and they immediately preceded 1.1 in the release notes. For files which already existed on releases.wikimedia.org, I confirmed that the MD5 hash was the same before removing them from the following list.

Wed, Mar 27, 11:20 PM · MediaWiki-Releasing
tstarling closed T361064: Wikimedia OCR is not responding as Resolved.

I investigated this, but the cause was not obvious from the logs. It wasn't out of memory. If it happens again, I would suggest getting the following information before restarting apache:

Wed, Mar 27, 3:31 AM · Community-Tech, Wikimedia OCR
tstarling added a comment to T360891: Wikibase Lua tracking sampling is broken.

We (Brad Jorsch and I) didn't want random numbers in Scribunto because it encourages an inefficient implementation of things like "spotlight" templates that show a random featured article from a list of such articles. We want to cache the output from Scribunto but then people will see the same random selection for months at a time, so users will inevitably try to defeat caching or incentivize purge requests.

Wed, Mar 27, 12:12 AM · MW-1.43-notes (1.43.0-wmf.3; 2024-04-30), Wikidata Dev Team (Wikidata.org Slice), Patch-For-Review, wmde-wikidata-tech, Wikibase-Lua, Wikidata

Mar 26 2024

tstarling added a comment to T360596: Figure out a plan to move forward with regarding Redis License changes.

PhpRedis is getting behind KeyDB with #2466 and I encouraged them along that path with a small PR of my own. I think all we need to do for now in MediaWiki is update our documentation to say that KeyDB is supported.

Mar 26 2024, 2:00 AM · GitLab (Infrastructure), Patch-For-Review, User-aborrero, serviceops, MediaWiki-Platform-Team (Radar), collaboration-services, Release-Engineering-Team (Radar), Quarry, Toolforge, Software-Licensing, Infrastructure-Foundations, netbox, Platform Team Initiatives (API Gateway), ChangeProp, MediaWiki-File-management, SRE

Mar 25 2024

tstarling updated the task description for T355034: Deploy new block_target schema.
Mar 25 2024, 11:45 PM · MW-1.42-notes (1.42.0-wmf.21; 2024-03-05), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling closed T360864: Slow query in Special:BlockList with new block schema as Resolved.
Mar 25 2024, 11:02 PM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), Wikimedia-production-error, MediaWiki-Blocks
tstarling closed T360864: Slow query in Special:BlockList with new block schema, a subtask of T355034: Deploy new block_target schema, as Resolved.
Mar 25 2024, 11:02 PM · MW-1.42-notes (1.42.0-wmf.21; 2024-03-05), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling added a comment to T360865: Slow query in Special:LintErrors.

Testing my fix for this, it's interesting that the case of searching for all namespaces with a specified title part is not reachable by submitting the form. The browser always submits an empty string for wpNamespaceRestrictions which is interpreted as namespace 0.

Mar 25 2024, 4:49 AM · MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), MediaWiki-extensions-Linter, Wikimedia-Slow-DB-Query, Patch-For-Review, Wikimedia-production-error
tstarling added a comment to T360865: Slow query in Special:LintErrors.

EXPLAIN says:

Mar 25 2024, 4:03 AM · MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), MediaWiki-extensions-Linter, Wikimedia-Slow-DB-Query, Patch-For-Review, Wikimedia-production-error
tstarling added a comment to T360865: Slow query in Special:LintErrors.

I gather that you're trying to show all linter rows, not all pages, in which case the join should not be a left join.

Mar 25 2024, 3:49 AM · MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), MediaWiki-extensions-Linter, Wikimedia-Slow-DB-Query, Patch-For-Review, Wikimedia-production-error
tstarling created T360865: Slow query in Special:LintErrors.
Mar 25 2024, 3:41 AM · MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), MediaWiki-extensions-Linter, Wikimedia-Slow-DB-Query, Patch-For-Review, Wikimedia-production-error
tstarling added a comment to T360864: Slow query in Special:BlockList with new block schema.

This is Special:BlockList with the "Hide single IP blocks" and "Hide range blocks" boxes both checked. In this case we only want user blocks. A simpler condition filtering for user blocks appears to solve the issue.

Mar 25 2024, 3:02 AM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), Wikimedia-production-error, MediaWiki-Blocks
tstarling added a comment to T355034: Deploy new block_target schema.

Another slow query: T360864.

Mar 25 2024, 2:57 AM · MW-1.42-notes (1.42.0-wmf.21; 2024-03-05), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling created T360864: Slow query in Special:BlockList with new block schema.
Mar 25 2024, 2:24 AM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), Wikimedia-production-error, MediaWiki-Blocks
tstarling closed T360088: Slow query in ApiQueryBlocks with new schema as Resolved.
Mar 25 2024, 1:46 AM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), Wikimedia-production-error, MediaWiki-Blocks
tstarling closed T360088: Slow query in ApiQueryBlocks with new schema, a subtask of T355034: Deploy new block_target schema, as Resolved.
Mar 25 2024, 1:46 AM · MW-1.42-notes (1.42.0-wmf.21; 2024-03-05), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling closed T360165: Slow query in DatabaseBlockStore::newLoad with new block schema, a subtask of T355034: Deploy new block_target schema, as Resolved.
Mar 25 2024, 12:53 AM · MW-1.42-notes (1.42.0-wmf.21; 2024-03-05), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling closed T360165: Slow query in DatabaseBlockStore::newLoad with new block schema as Resolved.
Mar 25 2024, 12:53 AM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling closed T360163: Slow query in ApiQueryAllUsers with new block schema, a subtask of T355034: Deploy new block_target schema, as Resolved.
Mar 25 2024, 12:52 AM · MW-1.42-notes (1.42.0-wmf.21; 2024-03-05), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling closed T360160: Slow query in Special:ListUsers with new block schema as Resolved.

Thanks @dom_walden. I ran those three queries in production on enwiki, and I got times of 149ms, 479ms and 7ms, the latter presumably being due to the warm cache. Running the third query on a different server took 73ms.

Mar 25 2024, 12:52 AM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling closed T360163: Slow query in ApiQueryAllUsers with new block schema as Resolved.
Mar 25 2024, 12:52 AM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Performance Issue, Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling closed T360160: Slow query in Special:ListUsers with new block schema, a subtask of T355034: Deploy new block_target schema, as Resolved.
Mar 25 2024, 12:51 AM · MW-1.42-notes (1.42.0-wmf.21; 2024-03-05), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling added a comment to T360088: Slow query in ApiQueryBlocks with new schema.

Thanks @dom_walden. Looks like performance should be acceptable. Let's deploy it again and see how it goes.

Mar 25 2024, 12:33 AM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), Wikimedia-production-error, MediaWiki-Blocks

Mar 24 2024

tstarling added a comment to T360717: HTMLForm hidden fields gone -- CAPTCHA failure rate at 100%.

I would just like an explicit, maximally integrated regression test for this bug. By maximally integrated, I mean testing as many layers as possible while still voting on MediaWiki core. Like this...

Mar 24 2024, 11:38 PM · MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), Wikimedia-Incident, Patch-For-Review, Regression, MediaWiki-HTMLForm, ConfirmEdit (CAPTCHA extension)

Mar 22 2024

tstarling added a comment to T314020: LoadMonitor connection weighting reimagined.

EventSimulator output -- PS14 of 1004792 plus 1013159.

Mar 22 2024, 3:34 AM · MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), MW-Interfaces-Team, MediaWiki-Platform-Team (Radar), MW-1.41-notes (1.41.0-wmf.27; 2023-09-19), Patch-For-Review, Sustainability (Incident Followup), MediaWiki-libs-Rdbms
tstarling closed T359032: mediawiki_job_generatecaptcha maintenance job fails to run as Resolved.

The logs show that there have been no more instances of "Failed opening required '...FormatJson.php'. Other ConfirmEdit-related issues can be discussed elsewhere.

Mar 22 2024, 12:46 AM · MediaWiki-Engineering, serviceops-radar, Wikimedia-production-error, ConfirmEdit (CAPTCHA extension)

Mar 21 2024

tstarling updated subscribers of T360717: HTMLForm hidden fields gone -- CAPTCHA failure rate at 100%.
Mar 21 2024, 11:57 PM · MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), Wikimedia-Incident, Patch-For-Review, Regression, MediaWiki-HTMLForm, ConfirmEdit (CAPTCHA extension)
tstarling updated subscribers of T360717: HTMLForm hidden fields gone -- CAPTCHA failure rate at 100%.

I think the likely cause is https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1008569 . Hidden form fields are weird -- getInputHTML() returns an empty string, and instead getDiv() or getTableRow() adds an item to the form's mHiddenFields. The patch added HTMLFormField::getCodex() which calls getInputCodex() which calls getInputHTML(), and none of this does the special hidden field side-effect.

Mar 21 2024, 11:53 PM · MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), Wikimedia-Incident, Patch-For-Review, Regression, MediaWiki-HTMLForm, ConfirmEdit (CAPTCHA extension)
tstarling renamed T360717: HTMLForm hidden fields gone -- CAPTCHA failure rate at 100% from CAPTCHA failure rate at 100% to HTMLForm hidden fields gone -- CAPTCHA failure rate at 100%.
Mar 21 2024, 11:39 PM · MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), Wikimedia-Incident, Patch-For-Review, Regression, MediaWiki-HTMLForm, ConfirmEdit (CAPTCHA extension)
tstarling added a comment to T360717: HTMLForm hidden fields gone -- CAPTCHA failure rate at 100%.

I can reproduce this locally so I suggest rolling back the train. We're not gaining anything by having this be deployed.

Mar 21 2024, 11:29 PM · MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), Wikimedia-Incident, Patch-For-Review, Regression, MediaWiki-HTMLForm, ConfirmEdit (CAPTCHA extension)
tstarling added a comment to T360717: HTMLForm hidden fields gone -- CAPTCHA failure rate at 100%.

There was no captchaId field in the HTML of the form. There's meant to be a hidden field identifying the captcha, but it was missing.

Mar 21 2024, 11:17 PM · MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), Wikimedia-Incident, Patch-For-Review, Regression, MediaWiki-HTMLForm, ConfirmEdit (CAPTCHA extension)
tstarling added a comment to T360717: HTMLForm hidden fields gone -- CAPTCHA failure rate at 100%.

I loaded the account creation page on testwiki, got the captcha ID, dumped the stored info with eval.php, then submitted the form with XWD verbose logging. In the post request debug log, the ID it used in the memcached fetch did not match what I saw on the form.

Mar 21 2024, 11:05 PM · MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), Wikimedia-Incident, Patch-For-Review, Regression, MediaWiki-HTMLForm, ConfirmEdit (CAPTCHA extension)
tstarling added a comment to T360717: HTMLForm hidden fields gone -- CAPTCHA failure rate at 100%.

Were there any user reports? What happened when you tried to do a captcha-protected action? Did the image load? Or was the answer supposedly incorrect?

Mar 21 2024, 10:20 PM · MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), Wikimedia-Incident, Patch-For-Review, Regression, MediaWiki-HTMLForm, ConfirmEdit (CAPTCHA extension)

Mar 19 2024

tstarling added a comment to T358738: Commons thumbnails are broken for certain large sizes of thumbnail images.

I thought there was no cross-DC replication of thumbnails. T299125#8221206 seems to support that. So it's expected that a bad file created by T344233 would only affect one swift DC.

Mar 19 2024, 10:31 PM · SRE-swift-storage, serviceops, Commons
tstarling added a watcher for wikidiff2: tstarling.
Mar 19 2024, 4:07 AM
tstarling added a watcher for LuaSandbox: tstarling.
Mar 19 2024, 4:07 AM
tstarling added a watcher for Excimer: tstarling.
Mar 19 2024, 4:06 AM

Mar 17 2024

Aklapper awarded T355619: Request MediaWiki +2 for Paladox a Like token.
Mar 17 2024, 3:23 PM · MediaWiki-Gerrit-Group-Requests

Mar 15 2024

TheDJ awarded T358830: Uploads fail due to 401 error from swift on wednesdays a Stroopwafel token.
Mar 15 2024, 10:07 PM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), MediaWiki-Engineering, Commons, MediaWiki-File-management, SRE-swift-storage
aaron awarded T358830: Uploads fail due to 401 error from swift on wednesdays a Yellow Medal token.
Mar 15 2024, 9:38 PM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), MediaWiki-Engineering, Commons, MediaWiki-File-management, SRE-swift-storage
tstarling moved T360165: Slow query in DatabaseBlockStore::newLoad with new block schema from Ready 🎬 to Review/Feedback 💬 on the Community-Tech (CommTech-Kanban) board.
Mar 15 2024, 3:48 AM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling added a comment to T360088: Slow query in ApiQueryBlocks with new schema.

I think the only other potentially affected query is the one in DatabaseBlockStore::newLoad().

Mar 15 2024, 3:48 AM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), Wikimedia-production-error, MediaWiki-Blocks
tstarling moved T360088: Slow query in ApiQueryBlocks with new schema from Ready 🎬 to Review/Feedback 💬 on the Community-Tech (CommTech-Kanban) board.
Mar 15 2024, 2:53 AM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), Wikimedia-production-error, MediaWiki-Blocks
tstarling moved T360160: Slow query in Special:ListUsers with new block schema from Ready 🎬 to Review/Feedback 💬 on the Community-Tech (CommTech-Kanban) board.
Mar 15 2024, 2:53 AM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling moved T360163: Slow query in ApiQueryAllUsers with new block schema from Ready 🎬 to Review/Feedback 💬 on the Community-Tech (CommTech-Kanban) board.
Mar 15 2024, 2:52 AM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Performance Issue, Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling added a comment to T360163: Slow query in ApiQueryAllUsers with new block schema.

We used that subquery in 9 different places, so ideally I'd like to save it.

Mar 15 2024, 1:24 AM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Performance Issue, Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling added a comment to T360163: Slow query in ApiQueryAllUsers with new block schema.
MariaDB [enwiki]> explain SELECT  1=0 AS `hu_deleted`,user_name,user_id  FROM `user`    WHERE (user_name LIKE 'M%' ESCAPE '`' ) AND (NOT EXISTS (SELECT  1  FROM `block_target` `hu_block_target` JOIN `block` ON ((bl_target=hu_block_target.bt_id))   WHERE (hu_block_target.bt_user=user_id) AND bl_deleted = 1  ))  ORDER BY user_name LIMIT 11;
+------+--------------+-----------------+-------+-----------------+-----------+---------+------------------------------+---------+--------------------------+
| id   | select_type  | table           | type  | possible_keys   | key       | key_len | ref                          | rows    | Extra                    |
+------+--------------+-----------------+-------+-----------------+-----------+---------+------------------------------+---------+--------------------------+
|    1 | PRIMARY      | user            | range | user_name       | user_name | 257     | NULL                         | 7763136 | Using where; Using index |
|    2 | MATERIALIZED | hu_block_target | range | PRIMARY,bt_user | bt_user   | 5       | NULL                         | 810518  | Using where; Using index |
|    2 | MATERIALIZED | block           | ref   | bl_target       | bl_target | 4       | enwiki.hu_block_target.bt_id | 1       | Using where              |
+------+--------------+-----------------+-------+-----------------+-----------+---------+------------------------------+---------+--------------------------+
3 rows in set (0.004 sec)
Mar 15 2024, 12:26 AM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Performance Issue, Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling updated the task description for T360160: Slow query in Special:ListUsers with new block schema.
Mar 15 2024, 12:09 AM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks

Mar 14 2024

tstarling added a comment to T355034: Deploy new block_target schema.

I reverted the deployment of read-new mode due to slow queries. I analysed the slow query logs and found four categories of slow query errors, and I filed tasks for each: T360088, T360160, T360163, T360165. I will fix those bugs, and when the fixes reach production, we can continue with the deployment.

Mar 14 2024, 11:23 PM · MW-1.42-notes (1.42.0-wmf.21; 2024-03-05), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling created T360165: Slow query in DatabaseBlockStore::newLoad with new block schema.
Mar 14 2024, 11:03 PM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling claimed T360088: Slow query in ApiQueryBlocks with new schema.
Mar 14 2024, 10:57 PM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), Wikimedia-production-error, MediaWiki-Blocks
tstarling created T360163: Slow query in ApiQueryAllUsers with new block schema.
Mar 14 2024, 10:56 PM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Performance Issue, Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling created T360160: Slow query in Special:ListUsers with new block schema.
Mar 14 2024, 10:39 PM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling committed rODIT565b4c620cae: Fix broken vim modelines.
Fix broken vim modelines
Mar 14 2024, 1:23 PM
tstarling added a comment to T360088: Slow query in ApiQueryBlocks with new schema.

I reviewed all the patches linked from T346293, and I think the only other potentially affected query is the one in DatabaseBlockStore::newLoad().

Mar 14 2024, 6:03 AM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), Wikimedia-production-error, MediaWiki-Blocks
tstarling added a comment to T360088: Slow query in ApiQueryBlocks with new schema.

At first glance, looking at the row counts, I thought it was the subquery. But in fact the problem is the OR. You can take the subquery out, and it's still slow, and note the choice of bl_timestamp when it's just trying to find a few targets. If you take out the OR, then it's fast. I tried forcing bl_target instead of bl_timestamp but it was still slow.

Mar 14 2024, 4:43 AM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), Wikimedia-production-error, MediaWiki-Blocks
tstarling created T360088: Slow query in ApiQueryBlocks with new schema.
Mar 14 2024, 4:35 AM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), Wikimedia-production-error, MediaWiki-Blocks
tstarling added a comment to T359032: mediawiki_job_generatecaptcha maintenance job fails to run.

As I just wrote on T307816, it's not an opcache bug. The file handle limit is exceeded, then it tries to report an error without closing any of the file handles, so error reporting also fails.

Mar 14 2024, 3:38 AM · MediaWiki-Engineering, serviceops-radar, Wikimedia-production-error, ConfirmEdit (CAPTCHA extension)
tstarling added a comment to T307816: Installing MediaWiki: Error: Class "FormatJson" not found.

I tried to reproduce this bug by following the procedure in the task description. I made a source tree with MW 1.35.14 and copied 1.37.2 over the top of it, producing a mix of 1.35 and 1.37 files. I compiled PHP 8.1.2 from source and tried to reproduce or model the error in a few different ways. But I didn't get anything particularly close to what is described.

Mar 14 2024, 2:23 AM · PHP 8.1 support, MediaWiki-Installer

Mar 13 2024

tstarling added a comment to T359032: mediawiki_job_generatecaptcha maintenance job fails to run.

As I just wrote on T307816, it's not an opcache bug. The file handle limit is exceeded, then it tries to report an error without closing any of the file handles, so error reporting also fails.

Mar 13 2024, 10:29 PM · MediaWiki-Engineering, serviceops-radar, Wikimedia-production-error, ConfirmEdit (CAPTCHA extension)
tstarling added a comment to T307816: Installing MediaWiki: Error: Class "FormatJson" not found.

[edit -- remove wrong comment]

Mar 13 2024, 10:18 PM · PHP 8.1 support, MediaWiki-Installer
tstarling added a comment to T355034: Deploy new block_target schema.

I ran migrateBlocks.php again. Now the only mismatches are:

Mar 13 2024, 3:22 AM · MW-1.42-notes (1.42.0-wmf.21; 2024-03-05), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling updated the task description for T355034: Deploy new block_target schema.
Mar 13 2024, 2:27 AM · MW-1.42-notes (1.42.0-wmf.21; 2024-03-05), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks

Mar 12 2024

tstarling closed T345566: error.log is not rotated in beta, a subtask of T352734: Translation pages are not being created on Beta Meta-Wiki, as Resolved.
Mar 12 2024, 4:17 AM · MediaWiki-extensions-Translate, Beta-Cluster-reproducible
tstarling closed T345566: error.log is not rotated in beta as Resolved.

The issue with logs not being rotated is apparently fixed. If there are some remaining issues with mwlog02, they should probably be discussed on a task that is not "UBN" priority.

Mar 12 2024, 4:17 AM · Beta-Cluster-Infrastructure

Mar 11 2024

tstarling claimed T358830: Uploads fail due to 401 error from swift on wednesdays.
Mar 11 2024, 4:07 AM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), MediaWiki-Engineering, Commons, MediaWiki-File-management, SRE-swift-storage
tstarling added a comment to T355034: Deploy new block_target schema.

I ran @dom_walden's SQL script P58700. It's apparent from the results that the script failed to complete on 34 wikis, exiting with a duplicate key error, which I missed because I didn't capture stderr from the script. The errors can be found in logstash.

Mar 11 2024, 1:11 AM · MW-1.42-notes (1.42.0-wmf.21; 2024-03-05), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling updated the task description for T355034: Deploy new block_target schema.
Mar 11 2024, 1:09 AM · MW-1.42-notes (1.42.0-wmf.21; 2024-03-05), Patch-For-Review, Multiblocks, Community-Tech (CommTech-Kanban), MediaWiki-Blocks
tstarling reopened T56458: Accounts with ipb_user = 0 as "Open".

We're not declining it, we're fixing it as part of the schema change migration script. It didn't magically fix itself, we had to add a special case to the migration script in order to fix it.

Mar 11 2024, 12:27 AM · MediaWiki-Blocks
tstarling created P58700 Monitor ipblocks/block divergence T355034.
Mar 11 2024, 12:17 AM

Mar 10 2024

tstarling added a comment to P58699 addwiki.php.

From my personal archives, dated 2004-07-15.

Mar 10 2024, 10:56 PM
tstarling created P58699 addwiki.php.
Mar 10 2024, 10:53 PM
HouseBlaster awarded T354234: AttentionPlease -- audio CAPTCHA a Love token.
Mar 10 2024, 2:29 AM · ConfirmEdit (CAPTCHA extension)