Page MenuHomePhabricator

DAlangi_WMF
Senior Software Engineer

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Friday

  • Clear sailing ahead.

User Details

User Since
Jan 7 2020, 11:30 AM (280 w, 1 d)
Availability
Available
IRC Nick
xSavitar
LDAP User
Unknown
MediaWiki User
DAlangi (WMF) [ Global Accounts ]

Official WMF Phabricator work account. @xSavitar is my volunteer account. Use that for non-WMF related things.

Recent Activity

Mon, May 19

DAlangi_WMF claimed T393473: Most authentication providers are disabled during autocreation on local domain (SUL3 mode).
Mon, May 19, 2:33 PM · Patch-For-Review, SUL3, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth
DAlangi_WMF added a comment to T394402: Reduce noisy auth logs.

No, that's the logging happenin in the logPersistenceChange() method.

Mon, May 19, 11:28 AM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), Patch-For-Review, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team, MediaWiki-Core-AuthManager

Thu, May 15

DAlangi_WMF added a comment to T394402: Reduce noisy auth logs.

The Persisting... stuff was added for {T309943} & co, I don't think we need it anymore

Thu, May 15, 7:58 PM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), Patch-For-Review, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team, MediaWiki-Core-AuthManager
DAlangi_WMF added a comment to T394402: Reduce noisy auth logs.

I've added a few more sub-tasks which are about removing some of these logs:

Thu, May 15, 7:29 PM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), Patch-For-Review, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team, MediaWiki-Core-AuthManager
DAlangi_WMF added a parent task for T391646: Analyze "temporary logging for T372702" data and then stop logging it: T394402: Reduce noisy auth logs.
Thu, May 15, 7:28 PM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth
DAlangi_WMF added a subtask for T394402: Reduce noisy auth logs: T391646: Analyze "temporary logging for T372702" data and then stop logging it.
Thu, May 15, 7:28 PM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), Patch-For-Review, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team, MediaWiki-Core-AuthManager
DAlangi_WMF added a subtask for T394402: Reduce noisy auth logs: T379505: "Expected key {key} not found due to timeout" CentralAuth error is spammy.
Thu, May 15, 7:27 PM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), Patch-For-Review, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team, MediaWiki-Core-AuthManager
DAlangi_WMF added a parent task for T379505: "Expected key {key} not found due to timeout" CentralAuth error is spammy: T394402: Reduce noisy auth logs.
Thu, May 15, 7:27 PM · MW-1.44-notes (1.44.0-wmf.12; 2025-01-14), MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth
DAlangi_WMF moved T394402: Reduce noisy auth logs from Inbox, needs triage to In progress on the MediaWiki-Platform-Team board.
Thu, May 15, 7:24 PM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), Patch-For-Review, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team, MediaWiki-Core-AuthManager
DAlangi_WMF claimed T394402: Reduce noisy auth logs.
Thu, May 15, 7:24 PM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), Patch-For-Review, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team, MediaWiki-Core-AuthManager

Tue, May 13

DAlangi_WMF added a comment to T393899: Sticky search query in Gerrit search form.
Tue, May 13, 10:58 AM · Upstream, Gerrit
DAlangi_WMF added a comment to T393976: Move CentralAuth hooks out of MobileFrontend into CentralAuth.

Visiting https://office.wikimedia.org/wiki/Homepage (as an anonymous user) and (hovering or) clicking on "Mobile view" at the bottom of the page (to switch to mobile view), results in me landing on a Special:Badtitle page.

Tue, May 13, 9:51 AM · Technical-Debt, MobileFrontend, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth
DAlangi_WMF added a comment to T390751: SUL3 broke the ability to send new user's password via email.

Sorry it took us a while to get to this. The fix would be deployed next week per the usual schedule. I wonder if we should backport it earlier?

Tue, May 13, 8:07 AM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), SUL3, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team, Education-Program-Dashboard

Mon, May 12

DAlangi_WMF closed T358037: Migrate wikibase.repo.dispatchChangesJob* to statslib, a subtask of T350592: EPIC: migrate in use metrics and dashboards to statslib, as Resolved.
Mon, May 12, 7:41 PM · SRE Observability (FY2024/2025-Q4), MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Epic, MW-1.42-notes (1.42.0-wmf.15; 2024-01-23), MediaWiki-Platform-Team (Radar), Observability-Metrics
DAlangi_WMF closed T358037: Migrate wikibase.repo.dispatchChangesJob* to statslib as Resolved.
Mon, May 12, 7:41 PM · SRE Observability (FY2024/2025-Q3), MediaWiki-Platform-Team, Observability-Metrics
DAlangi_WMF created T393899: Sticky search query in Gerrit search form.
Mon, May 12, 1:49 PM · Upstream, Gerrit
DAlangi_WMF created T393897: /page/random & other standalone service endpoints sometimes missing in some swagger spec responses.
Mon, May 12, 1:29 PM · RESTBase, MW-Interfaces-Team
DAlangi_WMF updated images of M338: REST API with /page/random.
Mon, May 12, 12:37 PM
DAlangi_WMF changed the visibility for M338: REST API with /page/random.
Mon, May 12, 12:31 PM
DAlangi_WMF moved T393721: Migrate "emailuser" Notification to Core from Inbox, needs triage to In progress on the MediaWiki-Platform-Team board.
Mon, May 12, 12:24 PM · Patch-For-Review, MediaWiki-Platform-Team, MediaWiki-Notifications
DAlangi_WMF updated subscribers of T393880: Wikibase CI broken: WikibaseStatsTest: Failed asserting that 0 is identical to 5..

I assume this is due to MediaWikiEntryPoint: stop emitting legacy statsd metrics (T228380) which was just merged on the MediaWiki core master branch.

Can confirm, if I git revert b8146163eb locally then the test passes again.

Mon, May 12, 10:56 AM · Wikidata-Omega (Completed Tasks), MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), ci-test-error (WMF-deployed Build Failure), Wikidata

Tue, Apr 22

DAlangi_WMF added a comment to T392359: Visiting Special:UserLogin to switch accounts doesn't work in SUL3.

One question I have is which login page are we supposed to show to the user in the SUL3 case? I think it's going to be the login form on the shared domain right? Not the local one I assume?

Tue, Apr 22, 11:38 AM · MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team, SUL3

Apr 21 2025

DAlangi_WMF updated the task description for T377253: Add SUL3 flag to authentication-related event schemas.
Apr 21 2025, 1:31 PM · MW-1.44-notes (1.44.0-wmf.15; 2025-02-04), MediaWiki-Platform-Team, SUL3
DAlangi_WMF updated the task description for T392359: Visiting Special:UserLogin to switch accounts doesn't work in SUL3.
Apr 21 2025, 10:50 AM · MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team, SUL3
DAlangi_WMF added a comment to T392359: Visiting Special:UserLogin to switch accounts doesn't work in SUL3.

I was able to reproduce the /wiki/Special:UserLogin?usesul3=1 part (which doesn't present the login form but just re-triggers a login chain) but couldn't reproduce /wiki/Special:UserLogin?usesul3=0. The later will present to me a login form that I can use locally to authenticate as a different user.

Apr 21 2025, 10:20 AM · MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team, SUL3

Apr 18 2025

DAlangi_WMF closed T390990: CannotCreateActorException: Cannot create an actor for a usable name that is not an existing user: user_name="{userName}" as Resolved.
Apr 18 2025, 4:26 PM · MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, MediaWiki-Page-rename, Wikimedia-production-error
DAlangi_WMF added a comment to T390990: CannotCreateActorException: Cannot create an actor for a usable name that is not an existing user: user_name="{userName}".

Just checked this today and we're having over 18K entries on logstash and over 1M entries in the last 30 days. Seems to be very frequent recently.

Apr 18 2025, 4:06 PM · MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, MediaWiki-Page-rename, Wikimedia-production-error
DAlangi_WMF added a comment to T391646: Analyze "temporary logging for T372702" data and then stop logging it.

I think this started off as part of T380500: CentralAuthUser returning outdated data after user creation when we were investigating the frequent logout issue. @Tgr already worked on fixing one leg of it and there are other things to fix but I doubt that it's related to the logging here.

Apr 18 2025, 3:22 PM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth

Apr 17 2025

DAlangi_WMF closed T392233: Wikimedia\NormalizedException\NormalizedException: Authentication failed because of inconsistent provider array as Resolved.
Apr 17 2025, 4:16 PM · MediaWiki-Core-AuthManager, MediaWiki-Platform-Team, Wikimedia-production-error
DAlangi_WMF added a comment to T392233: Wikimedia\NormalizedException\NormalizedException: Authentication failed because of inconsistent provider array.

Thanks for filing @thcipriani.

Apr 17 2025, 4:16 PM · MediaWiki-Core-AuthManager, MediaWiki-Platform-Team, Wikimedia-production-error
DAlangi_WMF closed T385311: MediaWiki\Extension\CentralAuth\Special\SpecialCentralAutoLogin::execute: Wrong user: expected {id}, got 0 as Resolved.

Let's reopen this if things go up on logstash. This is a warning and we've got 1 instance in the last 1 month.

Apr 17 2025, 2:25 PM · MW-1.44-notes (1.44.0-wmf.24; 2025-04-08), MediaWiki-Platform-Team (Roadmap), MediaWiki-extensions-CentralAuth, Wikimedia-production-error

Apr 16 2025

DAlangi_WMF moved T392017: SharedDomainHookHandlerTest::testOnSiteNoticeBefore variants are broken in some test environments from Inbox, needs triage to In progress on the MediaWiki-Platform-Team board.
Apr 16 2025, 12:49 PM · Patch-For-Review, MW-1.44-notes (1.44.0-wmf.27; 2025-04-29), MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth

Apr 10 2025

Restricted Application added a project to T70488: ResourceLoaderWikiModule::isKnownEmpty does not check whether the page is empty: MediaWiki-Platform-Team.
Apr 10 2025, 3:14 PM · MediaWiki-Platform-Team, Performance Issue, MediaWiki-ResourceLoader, MW-1.24-release

Apr 9 2025

DAlangi_WMF closed T375796: Synchronize SUL2 and SUL3 central browser state, a subtask of T362713: Implement the new login process which redirects to the central login wiki for showing the login/signup form, as Resolved.
Apr 9 2025, 10:20 PM · MW-1.43-notes (1.43.0-wmf.13; 2024-07-09), SUL3, MediaWiki-Core-AuthManager, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth
DAlangi_WMF closed T375796: Synchronize SUL2 and SUL3 central browser state, a subtask of T384153: SUL3 Phase 3: All existing user login on group 0 and group 1 wikis, as Resolved.
Apr 9 2025, 10:20 PM · MediaWiki-Platform-Team, SUL3
DAlangi_WMF closed T375796: Synchronize SUL2 and SUL3 central browser state as Resolved.
Apr 9 2025, 10:20 PM · MW-1.44-notes (1.44.0-wmf.25; 2025-04-15), Patch-For-Review, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team, SUL3
DAlangi_WMF closed T375796: Synchronize SUL2 and SUL3 central browser state, a subtask of T384220: SUL3 Phase 5: Staged rollout for all temporary accounts, as Resolved.
Apr 9 2025, 10:20 PM · MediaWiki-Platform-Team, SUL3
DAlangi_WMF added a comment to T390784: Error when logging-in on auth.wikimedia.org: "The provided authentication token is either expired or invalid.".

Microstash is cross-DC memcached, right? So in theory not the most reliable - could be evicting data because the slab is full. It does seem unlikely though.

Apr 9 2025, 10:14 PM · Voice & Tone, MW-1.44-notes (1.44.0-wmf.24; 2025-04-08), Patch-For-Review, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, SUL3

Apr 7 2025

DAlangi_WMF added a project to T391284: Swap order of central autologin lookup for loginwiki and shared domain: MediaWiki-Platform-Team.
Apr 7 2025, 7:16 PM · Patch-For-Review, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team, SUL3
DAlangi_WMF renamed T391284: Swap order of central autologin lookup for loginwiki and shared domain from Swap order of central autologin lookup of loginwiki and shared domain to Swap order of central autologin lookup for loginwiki and shared domain.
Apr 7 2025, 7:15 PM · Patch-For-Review, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team, SUL3
DAlangi_WMF added a comment to T375796: Synchronize SUL2 and SUL3 central browser state.

We might also want to swap the central autologin lookup order of loginwiki and auth.wikimedia.org at some point.

Apr 7 2025, 7:15 PM · MW-1.44-notes (1.44.0-wmf.25; 2025-04-15), Patch-For-Review, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team, SUL3
DAlangi_WMF created T391284: Swap order of central autologin lookup for loginwiki and shared domain.
Apr 7 2025, 7:14 PM · Patch-For-Review, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team, SUL3
DAlangi_WMF closed T388177: Wikimedia\NormalizedException\NormalizedException: User ID: {centralUserId} mismatch with {storedUserId} for user: {username} as Resolved.
Apr 7 2025, 2:55 PM · MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), Patch-For-Review, SUL3, MediaWiki-extensions-CentralAuth, Wikimedia-production-error, MediaWiki-Platform-Team

Apr 4 2025

DAlangi_WMF added a comment to T388177: Wikimedia\NormalizedException\NormalizedException: User ID: {centralUserId} mismatch with {storedUserId} for user: {username}.

But we few more days is a better cadence for conclusion so let's wait till end of week and if we no longer see them, we can resolve the task. I'll check again tomorrow evening :)

Apr 4 2025, 12:21 PM · MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), Patch-For-Review, SUL3, MediaWiki-extensions-CentralAuth, Wikimedia-production-error, MediaWiki-Platform-Team

Apr 3 2025

DAlangi_WMF moved T390897: No-JS central autologin broken after SUL3 from Inbox, needs triage to Needs refinement on the MediaWiki-Platform-Team board.
Apr 3 2025, 4:45 PM · MW-1.44-notes (1.44.0-wmf.25; 2025-04-15), MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, SUL3
DAlangi_WMF added a comment to T390897: No-JS central autologin broken after SUL3.

Looking at https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CentralAuth/+/1078400/89/includes/Hooks/Handlers/PageDisplayHookHandler.php, we were already using /start here for non-JS clients.

Apr 3 2025, 4:36 PM · MW-1.44-notes (1.44.0-wmf.25; 2025-04-15), MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, SUL3
DAlangi_WMF added a comment to T385311: MediaWiki\Extension\CentralAuth\Special\SpecialCentralAutoLogin::execute: Wrong user: expected {id}, got 0.

@Tgr wrote:
Maybe the same as T380500: CentralAuthUser returning outdated data after user creation?

Apr 3 2025, 3:53 PM · MW-1.44-notes (1.44.0-wmf.24; 2025-04-08), MediaWiki-Platform-Team (Roadmap), MediaWiki-extensions-CentralAuth, Wikimedia-production-error
DAlangi_WMF created T390990: CannotCreateActorException: Cannot create an actor for a usable name that is not an existing user: user_name="{userName}".
Apr 3 2025, 3:35 PM · MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, MediaWiki-Page-rename, Wikimedia-production-error
DAlangi_WMF added a comment to T388177: Wikimedia\NormalizedException\NormalizedException: User ID: {centralUserId} mismatch with {storedUserId} for user: {username}.

We should wait a few days to see if that really resolves the errors: https://logstash.wikimedia.org/goto/69ae850bf878fc526f85273c8547494f

Apr 3 2025, 11:10 AM · MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), Patch-For-Review, SUL3, MediaWiki-extensions-CentralAuth, Wikimedia-production-error, MediaWiki-Platform-Team

Apr 2 2025

DAlangi_WMF claimed T375796: Synchronize SUL2 and SUL3 central browser state.
Apr 2 2025, 1:07 PM · MW-1.44-notes (1.44.0-wmf.25; 2025-04-15), Patch-For-Review, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team, SUL3
DAlangi_WMF added a comment to T390847: Unsuccessful central autologin is creating an anonymous session.

On enwiki (in prod), I can reproduce this by checking the dev tools and saw an anon session created but can't reproduce this locally.

Apr 2 2025, 12:16 PM · MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, SUL3
DAlangi_WMF added a comment to T388218: TypeError: Argument 1 passed to MediaWiki\Extension\CentralAuth\CentralDomainUtils::getWikiPageUrl() must be of the type string, null given.

Anything left to do here? Or can this be marked as resolved?

Apr 2 2025, 12:30 AM · MW-1.44-notes (1.44.0-wmf.20; 2025-03-11), MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, Wikimedia-production-error
DAlangi_WMF changed the status of T390751: SUL3 broke the ability to send new user's password via email from Open to In Progress.
Apr 2 2025, 12:28 AM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), SUL3, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team, Education-Program-Dashboard

Apr 1 2025

DAlangi_WMF added a comment to T388177: Wikimedia\NormalizedException\NormalizedException: User ID: {centralUserId} mismatch with {storedUserId} for user: {username}.

Reading the class level docblock of the ChronologyProtector, it states the following (extract):

Apr 1 2025, 1:30 PM · MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), Patch-For-Review, SUL3, MediaWiki-extensions-CentralAuth, Wikimedia-production-error, MediaWiki-Platform-Team
DAlangi_WMF added a comment to T388177: Wikimedia\NormalizedException\NormalizedException: User ID: {centralUserId} mismatch with {storedUserId} for user: {username}.

See (logs snippet) of the Special:UserLogin/return&wpLoginToken... request which is what triggers continue authentication on the local wiki - from debug log

Apr 1 2025, 12:22 PM · MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), Patch-For-Review, SUL3, MediaWiki-extensions-CentralAuth, Wikimedia-production-error, MediaWiki-Platform-Team
DAlangi_WMF added a comment to T388177: Wikimedia\NormalizedException\NormalizedException: User ID: {centralUserId} mismatch with {storedUserId} for user: {username}.

In theory that can't happen because of ChronologyProtector, which ensures that the replicas we use have caught up to our own previous writes, given that it will be the same browser that created the account and the same browser getting redirected to read the data.

If this turns out incorrect, we need to file an Rdbms bug and confirm whether there are any missing CP-cookies or CP-query params in this journey.

Apr 1 2025, 12:01 PM · MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), Patch-For-Review, SUL3, MediaWiki-extensions-CentralAuth, Wikimedia-production-error, MediaWiki-Platform-Team

Mar 31 2025

DAlangi_WMF added a comment to T388177: Wikimedia\NormalizedException\NormalizedException: User ID: {centralUserId} mismatch with {storedUserId} for user: {username}.

This always seems to be happening on the local continueAuthentication() call, presumably right after account creation.

Mar 31 2025, 12:17 PM · MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), Patch-For-Review, SUL3, MediaWiki-extensions-CentralAuth, Wikimedia-production-error, MediaWiki-Platform-Team

Mar 28 2025

DAlangi_WMF moved T390145: PHP Deprecated: Use of MediaWiki\Output\OutputPage::parserOptions was deprecated in MediaWiki 1.44. [Called from MediaWiki\Specials\SpecialUndelete::showRevision] from Inbox, needs triage to Radar on the MediaWiki-Platform-Team board.
Mar 28 2025, 10:47 AM · MediaWiki-Platform-Team (Radar), Content-Transform-Team (Work In Progress), MediaWiki-Page-deletion, Wikimedia-production-error

Mar 27 2025

DAlangi_WMF added a comment to T389941: Clicking on "Logout" on auth.wikimedia.org results in "The "logout" module has been disabled.".

Hm! What should be the expected behavior here, I have some 3 ideas that come to mind:

Mar 27 2025, 12:31 PM · MW-1.44-notes (1.44.0-wmf.25; 2025-04-15), MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team, SUL3

Mar 11 2025

DAlangi_WMF updated the task description for T388087: CentralAuthIdLookup::lookupUserNames: invalid username: {name}.
Mar 11 2025, 12:57 PM · MediaWiki-Platform-Team, Wikimedia-production-error, MediaWiki-extensions-CentralAuth
DAlangi_WMF merged T388473: Wikimedia\NormalizedException\NormalizedException: Invalid username: {username} into T377588: InvalidArgumentException: Invalid username: <username_with_colon>.
Mar 11 2025, 12:56 PM · Wikimedia-production-error, MediaWiki-Platform-Team (Roadmap), MediaWiki-extensions-CentralAuth
DAlangi_WMF merged task T388473: Wikimedia\NormalizedException\NormalizedException: Invalid username: {username} into T377588: InvalidArgumentException: Invalid username: <username_with_colon>.
Mar 11 2025, 12:56 PM · GlobalBlocking, Trust and Safety Product Team, MediaWiki-extensions-CentralAuth, Wikimedia-production-error, MediaWiki-Platform-Team

Mar 10 2025

DAlangi_WMF awarded T388411: libcurl 7.85+ breaks DNS in mwcli a Like token.
Mar 10 2025, 3:19 PM · Patch-For-Review, mwcli
DAlangi_WMF added a comment to T388250: LogicException: CentralAuthReturnRequest not found.

This seems really weird, vaguely following the Special:ConfirmEmail code, I see that it sometimes call Special:UserLogin as a GET request. I think maybe this is when we some weird behavior when cookies on shared domain are set but not on local domain (when continueAuthentication is called) - maybe some timeout(?). Then that throws the logic error but I wonder why/when that should ever happen.

Mar 10 2025, 11:50 AM · MW-1.44-notes (1.44.0-wmf.21; 2025-03-18), MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, Wikimedia-production-error

Mar 9 2025

DAlangi_WMF added a comment to T388177: Wikimedia\NormalizedException\NormalizedException: User ID: {centralUserId} mismatch with {storedUserId} for user: {username}.

Thanks @Reedy, we've added some logging, let's see if we can get more info about this as the patch goes out.

Mar 9 2025, 9:04 PM · MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), Patch-For-Review, SUL3, MediaWiki-extensions-CentralAuth, Wikimedia-production-error, MediaWiki-Platform-Team
DAlangi_WMF claimed T388177: Wikimedia\NormalizedException\NormalizedException: User ID: {centralUserId} mismatch with {storedUserId} for user: {username}.
Mar 9 2025, 11:03 AM · MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), Patch-For-Review, SUL3, MediaWiki-extensions-CentralAuth, Wikimedia-production-error, MediaWiki-Platform-Team

Mar 7 2025

DAlangi_WMF claimed T388218: TypeError: Argument 1 passed to MediaWiki\Extension\CentralAuth\CentralDomainUtils::getWikiPageUrl() must be of the type string, null given.
Mar 7 2025, 5:57 PM · MW-1.44-notes (1.44.0-wmf.20; 2025-03-11), MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, Wikimedia-production-error
DAlangi_WMF claimed T388252: PHP Deprecated: str_ends_with(): Passing null to parameter #1 ($haystack) of type string is deprecated.
Mar 7 2025, 5:35 PM · MW-1.44-notes (1.44.0-wmf.19; 2025-03-04), MediaWiki-extensions-CentralAuth, Wikimedia-production-error, MediaWiki-Platform-Team
DAlangi_WMF added a comment to T388252: PHP Deprecated: str_ends_with(): Passing null to parameter #1 ($haystack) of type string is deprecated.

rECAU9f8ff1156fed: Special: Add support for central autologin in SUL3 mode made assertLocalWikiIsValid accept a nullable string, but WikiMap::getWiki isn't defined to take a null(able string)...

Mar 7 2025, 5:34 PM · MW-1.44-notes (1.44.0-wmf.19; 2025-03-04), MediaWiki-extensions-CentralAuth, Wikimedia-production-error, MediaWiki-Platform-Team
DAlangi_WMF added a comment to T385520: Deploy DAL files for seamless credential sharing in Chrome.

We had some issues today, filed T388222: Remove(?) Office wiki from DAL as it's not an SUL wiki

Mar 7 2025, 11:46 AM · User-notice-archive, MediaWiki-Platform-Team, SUL3
DAlangi_WMF created T388222: Remove(?) Office wiki from DAL as it's not an SUL wiki .
Mar 7 2025, 11:46 AM · MediaWiki-Platform-Team, SUL3
DAlangi_WMF added a comment to T388172: MediaWiki\Session\SessionOverflowException: Multiple sessions for this request tied for top priority: [100]MediaWiki\Extension\OAuth\SessionProvider<anon>h5cshtuck442udqpv2lsupnhp2u8buao, [50]CentralAuthSessionProvider<anon>rsp.

Seems like a SessionManager bug - those sessions clearly don't have the same priority:

[b2fa3a34-b31a-4584-9900-06adcb3bde76] /w/rest.php/wikibase/v0/entities/lexemes/L1041834/senses   MediaWiki\Session\SessionOverflowException: Multiple sessions for this request tied for top priority: [100]MediaWiki\Extension\OAuth\SessionProvider<anon>h5cshtuck442udqpv2lsupnhp2u8buao, [50]CentralAuthSessionProvider<anon>rspba02td80u2kaju3teghvqm0tf11qi

But also, the priority of CentralAuthSessionProvider should be 11, not 50 (it's hardcoded). What's going on?

Mar 7 2025, 10:35 AM · MediaWiki-Core-AuthManager, MediaWiki-Platform-Team, MediaWiki-extensions-CentralAuth, MediaWiki-extensions-OAuth, Wikimedia-production-error
DAlangi_WMF added a comment to T388177: Wikimedia\NormalizedException\NormalizedException: User ID: {centralUserId} mismatch with {storedUserId} for user: {username}.

Maybe one of the ids is zero and this is some version of T380500: CentralAuthUser returning outdated data after user creation.

Mar 7 2025, 10:27 AM · MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), Patch-For-Review, SUL3, MediaWiki-extensions-CentralAuth, Wikimedia-production-error, MediaWiki-Platform-Team
DAlangi_WMF added a comment to T388177: Wikimedia\NormalizedException\NormalizedException: User ID: {centralUserId} mismatch with {storedUserId} for user: {username}.

Only a single instance (logstash). Do we seriously not log the user name/ID when this happens? Ugh.
It's very much not supposed to happen, but without any specifics, can't really investigate.

Mar 7 2025, 10:22 AM · MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), Patch-For-Review, SUL3, MediaWiki-extensions-CentralAuth, Wikimedia-production-error, MediaWiki-Platform-Team

Mar 6 2025

DAlangi_WMF added a comment to T384232: QA for SUL3 on testwikis.

@Tgr, do you want to sign this off or is there something else you want me to have a look?

Mar 6 2025, 3:48 PM · MediaWiki-Platform-Team, SUL3
DAlangi_WMF claimed T362715: Move credentials change to central domain.
Mar 6 2025, 1:07 PM · MW-1.44-notes (1.44.0-wmf.27; 2025-04-29), Patch-For-Review, SUL3, MediaWiki-extensions-OATHAuth, MediaWiki-Core-AuthManager, MediaWiki-extensions-CentralAuth, MediaWiki-Platform-Team

Mar 5 2025

DAlangi_WMF updated the task description for T384232: QA for SUL3 on testwikis.
Mar 5 2025, 10:20 PM · MediaWiki-Platform-Team, SUL3

Mar 4 2025

DAlangi_WMF updated the task description for T384232: QA for SUL3 on testwikis.
Mar 4 2025, 12:07 PM · MediaWiki-Platform-Team, SUL3
DAlangi_WMF closed T387789: Unblock stuck global rename of JamesVilla44 as Resolved.

Mentioned in SAL (#wikimedia-operations) [2025-03-04T10:35:39Z] <xSavitar> T387789 Ran mwscript-k8s --comment="T387789" -f -- extensions/CentralAuth/maintenance/fixStuckGlobalRename.php --wiki=enwiki --logwiki=metawiki 'JamesVilla44' 'DartsF4' --ignorestatus

Mar 4 2025, 10:36 AM · MediaWiki-Platform-Team, Wikimedia-maintenance-script-run

Mar 3 2025

DAlangi_WMF updated the task description for T384232: QA for SUL3 on testwikis.
Mar 3 2025, 2:25 PM · MediaWiki-Platform-Team, SUL3
DAlangi_WMF updated the task description for T384232: QA for SUL3 on testwikis.
Mar 3 2025, 2:24 PM · MediaWiki-Platform-Team, SUL3
DAlangi_WMF updated the task description for T384232: QA for SUL3 on testwikis.
Mar 3 2025, 1:31 PM · MediaWiki-Platform-Team, SUL3
DAlangi_WMF updated the task description for T384232: QA for SUL3 on testwikis.
Mar 3 2025, 1:30 PM · MediaWiki-Platform-Team, SUL3
DAlangi_WMF updated the task description for T384232: QA for SUL3 on testwikis.
Mar 3 2025, 12:50 PM · MediaWiki-Platform-Team, SUL3
DAlangi_WMF updated the task description for T384232: QA for SUL3 on testwikis.
Mar 3 2025, 12:25 PM · MediaWiki-Platform-Team, SUL3
DAlangi_WMF updated the task description for T384232: QA for SUL3 on testwikis.
Mar 3 2025, 12:14 PM · MediaWiki-Platform-Team, SUL3

Feb 28 2025

DAlangi_WMF updated the task description for T384232: QA for SUL3 on testwikis.
Feb 28 2025, 10:00 PM · MediaWiki-Platform-Team, SUL3
DAlangi_WMF updated the task description for T381338: Special:Book uses Codex markup without appropriate style pack.
Feb 28 2025, 8:34 PM · MW-1.44-notes (1.44.0-wmf.19; 2025-03-04), Collection
DAlangi_WMF updated the task description for T384232: QA for SUL3 on testwikis.
Feb 28 2025, 1:46 PM · MediaWiki-Platform-Team, SUL3
DAlangi_WMF updated the task description for T384232: QA for SUL3 on testwikis.
Feb 28 2025, 1:43 PM · MediaWiki-Platform-Team, SUL3
DAlangi_WMF updated the task description for T384232: QA for SUL3 on testwikis.
Feb 28 2025, 8:55 AM · MediaWiki-Platform-Team, SUL3

Feb 27 2025

DAlangi_WMF updated the task description for T384232: QA for SUL3 on testwikis.
Feb 27 2025, 5:37 PM · MediaWiki-Platform-Team, SUL3
DAlangi_WMF updated the task description for T384232: QA for SUL3 on testwikis.
Feb 27 2025, 5:04 PM · MediaWiki-Platform-Team, SUL3
DAlangi_WMF updated the task description for T384232: QA for SUL3 on testwikis.
Feb 27 2025, 4:55 PM · MediaWiki-Platform-Team, SUL3

Feb 26 2025

DAlangi_WMF added a comment to T384007: SUL3 Phase 1: All new account creation on group 0 and group 1 wikis.

In one of my tests I ended up logged out after a successful registration (but then top-level autologin worked). Not sure if that's a SUL3 bug that happens infrequently, or just generic authentication fragility. I thought I saw a log message about session metadata conflict, but now I can't find it.

Feb 26 2025, 10:42 PM · MediaWiki-Platform-Team, SUL3
DAlangi_WMF updated the task description for T384232: QA for SUL3 on testwikis.
Feb 26 2025, 5:38 PM · MediaWiki-Platform-Team, SUL3

Feb 25 2025

DAlangi_WMF updated the task description for T384232: QA for SUL3 on testwikis.
Feb 25 2025, 11:00 AM · MediaWiki-Platform-Team, SUL3
DAlangi_WMF updated the task description for T384232: QA for SUL3 on testwikis.
Feb 25 2025, 10:59 AM · MediaWiki-Platform-Team, SUL3
DAlangi_WMF updated the task description for T384232: QA for SUL3 on testwikis.
Feb 25 2025, 10:48 AM · MediaWiki-Platform-Team, SUL3
DAlangi_WMF updated the task description for T384232: QA for SUL3 on testwikis.
Feb 25 2025, 10:44 AM · MediaWiki-Platform-Team, SUL3