Page MenuHomePhabricator

NetworkSessionComponent
ActivePublic

Members

  • This project does not have any members.
  • View All

Watchers

  • This project does not have any watchers.
  • View All

Details

Description

NetworkSession is a MediaWiki extension that provides a SessionProvider for api requests based on configured ip address and a secret token. It is intended for use cases such as having a system user in a wikifarm for a supporting application.

Recent Activity

Jun 15 2026

Tgr closed T406566: BadMethodCallException: MediaWiki\Session\SessionProvider::preventSessionsForUser must be implemented when canChangeUser() is false as Resolved.
Jun 15 2026, 7:47 AM · Discovery-Search (2026.06.01 - 2026.07.03), MW-1.46-notes (1.46.0-wmf.4; 2025-11-25), MediaWiki-Core-Platform-Team (Radar), NetworkSession, MW-1.45-notes (1.45.0-wmf.22; 2025-10-07), MediaWiki-Core-AuthManager, Wikimedia-production-error

Jun 8 2026

pfischer edited projects for T406566: BadMethodCallException: MediaWiki\Session\SessionProvider::preventSessionsForUser must be implemented when canChangeUser() is false, added: Discovery-Search (2026.06.01 - 2026.07.03); removed Discovery-Search (2026.05.04 - 2026.05.29).
Jun 8 2026, 2:36 PM · Discovery-Search (2026.06.01 - 2026.07.03), MW-1.46-notes (1.46.0-wmf.4; 2025-11-25), MediaWiki-Core-Platform-Team (Radar), NetworkSession, MW-1.45-notes (1.45.0-wmf.22; 2025-10-07), MediaWiki-Core-AuthManager, Wikimedia-production-error

May 18 2026

pfischer edited projects for T406566: BadMethodCallException: MediaWiki\Session\SessionProvider::preventSessionsForUser must be implemented when canChangeUser() is false, added: Discovery-Search (2026.05.04 - 2026.05.29); removed Discovery-Search (2026.04.06 - 2026.05.01).
May 18 2026, 1:41 PM · Discovery-Search (2026.06.01 - 2026.07.03), MW-1.46-notes (1.46.0-wmf.4; 2025-11-25), MediaWiki-Core-Platform-Team (Radar), NetworkSession, MW-1.45-notes (1.45.0-wmf.22; 2025-10-07), MediaWiki-Core-AuthManager, Wikimedia-production-error

Apr 13 2026

pfischer edited projects for T406566: BadMethodCallException: MediaWiki\Session\SessionProvider::preventSessionsForUser must be implemented when canChangeUser() is false, added: Discovery-Search (2026.04.06 - 2026.05.01); removed Discovery-Search (2026.03.03 - 2026.04.03).
Apr 13 2026, 1:56 PM · Discovery-Search (2026.06.01 - 2026.07.03), MW-1.46-notes (1.46.0-wmf.4; 2025-11-25), MediaWiki-Core-Platform-Team (Radar), NetworkSession, MW-1.45-notes (1.45.0-wmf.22; 2025-10-07), MediaWiki-Core-AuthManager, Wikimedia-production-error

Mar 9 2026

pfischer edited projects for T406566: BadMethodCallException: MediaWiki\Session\SessionProvider::preventSessionsForUser must be implemented when canChangeUser() is false, added: Discovery-Search (2026.03.03 - 2026.04.03); removed Discovery-Search (2026.02.02 - 2026.02.27).
Mar 9 2026, 11:15 AM · Discovery-Search (2026.06.01 - 2026.07.03), MW-1.46-notes (1.46.0-wmf.4; 2025-11-25), MediaWiki-Core-Platform-Team (Radar), NetworkSession, MW-1.45-notes (1.45.0-wmf.22; 2025-10-07), MediaWiki-Core-AuthManager, Wikimedia-production-error

Feb 9 2026

pfischer edited projects for T406566: BadMethodCallException: MediaWiki\Session\SessionProvider::preventSessionsForUser must be implemented when canChangeUser() is false, added: Discovery-Search (2026.02.02 - 2026.02.27); removed Discovery-Search (2026.01.05 - 2026.01.30).
Feb 9 2026, 12:47 PM · Discovery-Search (2026.06.01 - 2026.07.03), MW-1.46-notes (1.46.0-wmf.4; 2025-11-25), MediaWiki-Core-Platform-Team (Radar), NetworkSession, MW-1.45-notes (1.45.0-wmf.22; 2025-10-07), MediaWiki-Core-AuthManager, Wikimedia-production-error

Jan 5 2026

pfischer edited projects for T406566: BadMethodCallException: MediaWiki\Session\SessionProvider::preventSessionsForUser must be implemented when canChangeUser() is false, added: Discovery-Search (2026.01.05 - 2026.01.30); removed Discovery-Search (2025.10.20 - 2025.12.31).
Jan 5 2026, 12:12 PM · Discovery-Search (2026.06.01 - 2026.07.03), MW-1.46-notes (1.46.0-wmf.4; 2025-11-25), MediaWiki-Core-Platform-Team (Radar), NetworkSession, MW-1.45-notes (1.45.0-wmf.22; 2025-10-07), MediaWiki-Core-AuthManager, Wikimedia-production-error

Nov 18 2025

Maintenance_bot removed a project from T406566: BadMethodCallException: MediaWiki\Session\SessionProvider::preventSessionsForUser must be implemented when canChangeUser() is false: Patch-For-Review.
Nov 18 2025, 4:32 PM · Discovery-Search (2026.06.01 - 2026.07.03), MW-1.46-notes (1.46.0-wmf.4; 2025-11-25), MediaWiki-Core-Platform-Team (Radar), NetworkSession, MW-1.45-notes (1.45.0-wmf.22; 2025-10-07), MediaWiki-Core-AuthManager, Wikimedia-production-error
ReleaseTaggerBot added a project to T406566: BadMethodCallException: MediaWiki\Session\SessionProvider::preventSessionsForUser must be implemented when canChangeUser() is false: MW-1.46-notes (1.46.0-wmf.4; 2025-11-25).
Nov 18 2025, 4:01 PM · Discovery-Search (2026.06.01 - 2026.07.03), MW-1.46-notes (1.46.0-wmf.4; 2025-11-25), MediaWiki-Core-Platform-Team (Radar), NetworkSession, MW-1.45-notes (1.45.0-wmf.22; 2025-10-07), MediaWiki-Core-AuthManager, Wikimedia-production-error
gerritbot added a comment to T406566: BadMethodCallException: MediaWiki\Session\SessionProvider::preventSessionsForUser must be implemented when canChangeUser() is false.

Change #1206384 merged by jenkins-bot:

[mediawiki/extensions/NetworkSession@master] NetworkSessionProvider: Implement no-op preventSessionsForUser()

https://gerrit.wikimedia.org/r/1206384

Nov 18 2025, 3:47 PM · Discovery-Search (2026.06.01 - 2026.07.03), MW-1.46-notes (1.46.0-wmf.4; 2025-11-25), MediaWiki-Core-Platform-Team (Radar), NetworkSession, MW-1.45-notes (1.45.0-wmf.22; 2025-10-07), MediaWiki-Core-AuthManager, Wikimedia-production-error
dcausse moved T406566: BadMethodCallException: MediaWiki\Session\SessionProvider::preventSessionsForUser must be implemented when canChangeUser() is false from Incoming to Blocked / Waiting on the Discovery-Search (2025.10.20 - 2025.12.31) board.
Nov 18 2025, 1:46 PM · Discovery-Search (2026.06.01 - 2026.07.03), MW-1.46-notes (1.46.0-wmf.4; 2025-11-25), MediaWiki-Core-Platform-Team (Radar), NetworkSession, MW-1.45-notes (1.45.0-wmf.22; 2025-10-07), MediaWiki-Core-AuthManager, Wikimedia-production-error

Nov 17 2025

pfischer edited projects for T406566: BadMethodCallException: MediaWiki\Session\SessionProvider::preventSessionsForUser must be implemented when canChangeUser() is false, added: Discovery-Search (2025.10.20 - 2025.12.31); removed Discovery-Search.
Nov 17 2025, 4:29 PM · Discovery-Search (2026.06.01 - 2026.07.03), MW-1.46-notes (1.46.0-wmf.4; 2025-11-25), MediaWiki-Core-Platform-Team (Radar), NetworkSession, MW-1.45-notes (1.45.0-wmf.22; 2025-10-07), MediaWiki-Core-AuthManager, Wikimedia-production-error
gerritbot added a project to T406566: BadMethodCallException: MediaWiki\Session\SessionProvider::preventSessionsForUser must be implemented when canChangeUser() is false: Patch-For-Review.
Nov 17 2025, 2:31 PM · Discovery-Search (2026.06.01 - 2026.07.03), MW-1.46-notes (1.46.0-wmf.4; 2025-11-25), MediaWiki-Core-Platform-Team (Radar), NetworkSession, MW-1.45-notes (1.45.0-wmf.22; 2025-10-07), MediaWiki-Core-AuthManager, Wikimedia-production-error
gerritbot added a comment to T406566: BadMethodCallException: MediaWiki\Session\SessionProvider::preventSessionsForUser must be implemented when canChangeUser() is false.

Change #1206384 had a related patch set uploaded (by D3r1ck01; author: Derick Alangi):

[mediawiki/extensions/NetworkSession@master] NetworkSessionProvider: Implement no-op preventSessionsForUser()

https://gerrit.wikimedia.org/r/1206384

Nov 17 2025, 2:31 PM · Discovery-Search (2026.06.01 - 2026.07.03), MW-1.46-notes (1.46.0-wmf.4; 2025-11-25), MediaWiki-Core-Platform-Team (Radar), NetworkSession, MW-1.45-notes (1.45.0-wmf.22; 2025-10-07), MediaWiki-Core-AuthManager, Wikimedia-production-error
Tgr edited projects for T406566: BadMethodCallException: MediaWiki\Session\SessionProvider::preventSessionsForUser must be implemented when canChangeUser() is false, added: Discovery-Search, MediaWiki-Core-Platform-Team (Radar); removed MediaWiki-Core-Platform-Team.

Logstash only retains data for 3 months (so mid-August). Anyway these errors happen when newSystemUser() is called, which is rare. But they are also trivial to fix - NetworkSession just needs to implement a noop preventSessionsForUser() method (since it's for system-ish users in the first place, it doesn't need to worry about preventing normal users from loggin into system user accounts).

Nov 17 2025, 1:56 PM · Discovery-Search (2026.06.01 - 2026.07.03), MW-1.46-notes (1.46.0-wmf.4; 2025-11-25), MediaWiki-Core-Platform-Team (Radar), NetworkSession, MW-1.45-notes (1.45.0-wmf.22; 2025-10-07), MediaWiki-Core-AuthManager, Wikimedia-production-error
DAlangi_WMF added a comment to T406566: BadMethodCallException: MediaWiki\Session\SessionProvider::preventSessionsForUser must be implemented when canChangeUser() is false.
Nov 17 2025, 10:50 AM · Discovery-Search (2026.06.01 - 2026.07.03), MW-1.46-notes (1.46.0-wmf.4; 2025-11-25), MediaWiki-Core-Platform-Team (Radar), NetworkSession, MW-1.45-notes (1.45.0-wmf.22; 2025-10-07), MediaWiki-Core-AuthManager, Wikimedia-production-error
Ammarpad added a project to T406566: BadMethodCallException: MediaWiki\Session\SessionProvider::preventSessionsForUser must be implemented when canChangeUser() is false: NetworkSession.
Nov 17 2025, 10:17 AM · Discovery-Search (2026.06.01 - 2026.07.03), MW-1.46-notes (1.46.0-wmf.4; 2025-11-25), MediaWiki-Core-Platform-Team (Radar), NetworkSession, MW-1.45-notes (1.45.0-wmf.22; 2025-10-07), MediaWiki-Core-AuthManager, Wikimedia-production-error

Oct 6 2025

dcausse added a comment to T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems.

T405633: Session data is authenticated, should not be an anonymous user

Unrelated to that, maybe NetworkSession should be limited to private wikis for now, to preserve resources? It's not causing any problems, but I don't think there is any benefit to being authenticated on public wikis, either? And limiting the extension to the private dblist is straightforward.

Oct 6 2025, 6:38 AM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession

Oct 5 2025

Tgr added a comment to T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems.

Unrelated to that, maybe NetworkSession should be limited to private wikis for now, to preserve resources? It's not causing any problems, but I don't think there is any benefit to being authenticated on public wikis, either? And limiting the extension to the private dblist is straightforward.

Oct 5 2025, 8:37 PM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession

Oct 3 2025

Gehel moved T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems from Done to Reported on the Discovery-Search (2025.09.26 - 2025.10.17) board.
Oct 3 2025, 8:15 AM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession

Oct 2 2025

Tgr added a comment to T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems.

I do see a some limited logspam with Session data is authenticated, should not be an anonymous user since sept 27.

Oct 2 2025, 2:25 PM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession
dcausse closed T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems as Resolved.

Tentatively closing, I no longer see this warning message since September 16.
I do see a some limited logspam with Session data is authenticated, should not be an anonymous user since sept 27.
Please feel free to re-open if this ticket is useful to track some work.

Oct 2 2025, 12:35 PM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession
pfischer edited projects for T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems, added: Discovery-Search (2025.09.26 - 2025.10.17); removed Discovery-Search (2025.09.05 - 2025.09.26).
Oct 2 2025, 9:55 AM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession

Sep 11 2025

Gehel added a project to T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems: Essential-Work.
Sep 11 2025, 12:19 PM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession

Sep 5 2025

Gehel edited projects for T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems, added: Discovery-Search (2025.09.05 - 2025.09.26); removed Discovery-Search (2025.08.15 - 2025.09.05).
Sep 5 2025, 8:23 AM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession

Sep 1 2025

Gehel moved T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems from Incoming to In Progress on the Discovery-Search (2025.08.15 - 2025.09.05) board.
Sep 1 2025, 3:19 PM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession

Aug 27 2025

Tgr added a comment to T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems.

I am not sure why that error is happening in the first place. If there is an existing user account, in theory NetworkSession should just provide access to it. Maybe it's some kind of race condition, with multiple NetworkSession requests trying to autocreate a non-existent account at the same time? In theory autocreation handles race conditions but CentralAuth might mess that up. If so, then this error will go away once the account exists everywhere. (The blacklist is short-lived, five minutes IIRC.)

Aug 27 2025, 9:10 AM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession
dcausse added a comment to T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems.

Thanks for all the context on this!
Regarding the the session store entry is for an anonymous user, but the session metadata indicates a non-anonynmous user, I checked a few sessions from the store and they indeed mention AuthManager::AutoCreateBlacklist with an error message centralauth-account-exists. So I suspect that once this session is gone the auto-creation will fail again for the same reason?

Aug 27 2025, 6:47 AM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession

Aug 26 2025

Tgr added a comment to T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems.

I guess the design assumption here is that an extension like NetworkSession can't know what kind of requests will be authenticated with the mechanism it provides, and certain kinds of requests need to store session data. So it doesn't make sense for a session provider to have a "will never need to store session data" flag.

Aug 26 2025, 7:16 PM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession
Tgr added a comment to T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems.

Wrt the various flags, persistsSessionId() means that the session provider is able to update the client on what session ID to use, so that's irrelvant here. persist => false isn't very well defined for immutable session providers; conceptually, you could read it as "the session hasn't been stored anywhere", except, how would the session provider tell whether the session is persisted or not? Immutable providers like NetworkSession can't access any stateful information on their own and have to rely on the session store for that.

Aug 26 2025, 7:10 PM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession
Eevans added a comment to T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems.

Specifically, it looks like GET rate has increased by ~33%. Is this...expected?

Yeah, it happened the last time the updater was enabled, and nothing changed since then. The AbuseFilter issue we fixed was causing bogus writes, and those are mostly gone (we still have a few thousand, not sure why, but that's a drop in the bucket); it didn't affect reads.

SessionManager does a session store read at the beginning of every authenticated session, these are authenticated sessions; the same would happen if CirrusSearch did API requests in any other way, using OAuth or cookies or whatever. There isn't any way for a session provider to indicate that it doesn't need session store lookups (conceptually, session providers are responsible for session tokens in the web request and response, not for communication with the store; that is uniform across all session types).

It's also strictly speaking not true that the session store is never used meaningfully; there are some very fringe situations in which we store data there and read it back when using NetworkSession. User autocreation errors are cached in the session to avoid repeating potentially expensive user creation attempts on every request.

If we wanted to avoid reads (which, per above, isn't necessarily a good idea), once multi-session backends land, a hacky but simple solution would be to direct all session store reads/writes with a NetworkSession provider to a fake session store (HashBagOStuff). Or maybe a real but very cheap, non-replicated cache like APC.

Aug 26 2025, 7:02 PM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession
Tgr added a comment to T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems.

Specifically, it looks like GET rate has increased by ~33%. Is this...expected?

Aug 26 2025, 6:55 PM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession
dcausse added a comment to T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems.

Out of curiosity, how were these requests being satisfied before NetworkSession was re-enabled?

Aug 26 2025, 4:06 PM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession
Eevans added a comment to T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems.

After deploying: the session write dashboard remains almost empty, sessionstore rps increased but unless I'm not reading the dashboard properly latencies appear to be fine, only the buckets "<1m" and "1-2.5ms" increased.

Specifically, it looks like GET rate has increased by ~33%. Is this...expected?

The user using the NetworkSession auth mechanism can make a lot of requests, see T373826#10141552,

Aug 26 2025, 3:43 PM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession
dcausse added a comment to T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems.

After deploying: the session write dashboard remains almost empty, sessionstore rps increased but unless I'm not reading the dashboard properly latencies appear to be fine, only the buckets "<1m" and "1-2.5ms" increased.

Specifically, it looks like GET rate has increased by ~33%. Is this...expected?

Aug 26 2025, 3:17 PM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession
Eevans added a comment to T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems.

After deploying: the session write dashboard remains almost empty, sessionstore rps increased but unless I'm not reading the dashboard properly latencies appear to be fine, only the buckets "<1m" and "1-2.5ms" increased.

Aug 26 2025, 3:09 PM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession
dcausse added a comment to T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems.

Unfortunately the the session store entry is for an anonymous user, but the session metadata indicates a non-anonymous user are back, it's not from all the wikis, e.g. I don't see such warnings from enwiki.

Aug 26 2025, 2:45 PM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession
Maintenance_bot removed a project from T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems: Patch-For-Review.
Aug 26 2025, 2:31 PM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession
dcausse added a comment to T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems.

After deploying: the session write dashboard remains almost empty, sessionstore rps increased but unless I'm not reading the dashboard properly latencies appear to be fine, only the buckets "<1m" and "1-2.5ms" increased.

Aug 26 2025, 2:05 PM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession
Stashbot added a comment to T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems.

Mentioned in SAL (#wikimedia-operations) [2025-08-26T13:57:02Z] <dcausse@deploy1003> Finished scap sync-world: Backport for [[gerrit:1182088|Revert "NetworkSession: Only enable for private wikis" (T373826)]] (duration: 13m 49s)

Aug 26 2025, 1:57 PM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession
Stashbot added a comment to T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems.

Mentioned in SAL (#wikimedia-operations) [2025-08-26T13:48:42Z] <dcausse@deploy1003> dcausse: Backport for [[gerrit:1182088|Revert "NetworkSession: Only enable for private wikis" (T373826)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Aug 26 2025, 1:48 PM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession
Stashbot added a comment to T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems.

Mentioned in SAL (#wikimedia-operations) [2025-08-26T13:42:46Z] <dcausse@deploy1003> Started scap sync-world: Backport for [[gerrit:1182088|Revert "NetworkSession: Only enable for private wikis" (T373826)]]

Aug 26 2025, 1:42 PM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession
gerritbot added a comment to T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems.

Change #1182088 merged by jenkins-bot:

[operations/mediawiki-config@master] Revert "NetworkSession: Only enable for private wikis"

https://gerrit.wikimedia.org/r/1182088

Aug 26 2025, 1:42 PM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession
Tgr added a comment to T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems.

The AbuseFilter issue should have been fixed by rEABF65c10f5fa06f: Skip auth checks when autocreate is allowed by provider and we now have a session writes dashboard with reliable stats, so IMO good to go.

Aug 26 2025, 10:17 AM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession
dcausse added a comment to T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems.

I have a use-case for which I would need this extension enabled everywhere, @Tgr @Eevans would you have objections trying to enable it again to see if the impact on kask is acceptable?

Aug 26 2025, 8:46 AM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession
gerritbot added a project to T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems: Patch-For-Review.
Aug 26 2025, 8:44 AM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession
gerritbot added a comment to T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems.

Change #1182088 had a related patch set uploaded (by DCausse; author: DCausse):

[operations/mediawiki-config@master] Revert "NetworkSession: Only enable for private wikis"

https://gerrit.wikimedia.org/r/1182088

Aug 26 2025, 8:44 AM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession
dcausse edited projects for T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems, added: Discovery-Search (2025.08.15 - 2025.09.05); removed Discovery-Search.
Aug 26 2025, 8:31 AM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession

Oct 10 2024

Krinkle moved T373826: NetworkSessionProvider / CirrusSearch Streaming Updater causing 'session' log spam and possibly Sessionstore (Kask) problems from Untriaged to Sep 2024 on the Wikimedia-production-error board.
Oct 10 2024, 4:09 PM · Discovery-Search (2025.09.26 - 2025.10.17), Essential-Work, MediaWiki-Core-Platform-Team (Radar), Wikimedia-production-error, CirrusSearch, NetworkSession

Oct 4 2024

Gehel closed T374987: "Account autocreation denied for CirrusSearch Streaming Updater by ClosedWikiProvider" as Resolved.
Oct 4 2024, 7:40 AM · Discovery-Search (Current work), NetworkSession, CirrusSearch