Page MenuHomePhabricator
Feed Advanced Search

Jul 10 2019

EvanProdromou updated the task description for T227696: OAuth extension uses session object store directly.
Jul 10 2019, 6:45 PM · Platform Team Initiatives (Mainstash Multi-DC), MW-1.34-notes (1.34.0-wmf.14; 2019-07-16), Patch-For-Review, User-Clarakosi, User-Eevans
EvanProdromou created T227696: OAuth extension uses session object store directly.
Jul 10 2019, 6:02 PM · Platform Team Initiatives (Mainstash Multi-DC), MW-1.34-notes (1.34.0-wmf.14; 2019-07-16), Patch-For-Review, User-Clarakosi, User-Eevans
EvanProdromou added a comment to T212129: Move MainStash out of Redis to a simpler multi-dc aware solution.

@Krinkle Also, it sounds like we'd be changing the contract as loosely defined in the source code from 'Callers should be prepared for: Writes to be slower in non-"primary" (e.g. HTTP GET/HEAD only) DCs' to 'No writes on GET/HEAD'.

Jul 10 2019, 4:11 PM · Performance-Team, Sustainability (MediaWiki-MultiDC), MediaWiki-General, serviceops-radar, User-mobrovac, User-jijiki, SRE
EvanProdromou added a comment to T212129: Move MainStash out of Redis to a simpler multi-dc aware solution.

I'd assume there would be a lot of counters and so on that might need to be written to even on a GET request.

I'm not aware of any counters using the Stash.

Jul 10 2019, 4:09 PM · Performance-Team, Sustainability (MediaWiki-MultiDC), MediaWiki-General, serviceops-radar, User-mobrovac, User-jijiki, SRE

Jul 9 2019

EvanProdromou added a comment to T227097: Make sure that we're taking CentralAuth into consideration for staging release.

So, per our discussion this morning, the rollout plan will be:

Jul 9 2019, 2:00 PM · SRE, Platform Team Initiatives (Session Management Service (CDP2)), MW-1.34-notes (1.34.0-wmf.13; 2019-07-09), Patch-For-Review, Platform Team Workboards (Team 2), User-Clarakosi, User-Eevans

Jul 3 2019

EvanProdromou added a comment to T212129: Move MainStash out of Redis to a simpler multi-dc aware solution.
Jul 3 2019, 6:59 PM · Performance-Team, Sustainability (MediaWiki-MultiDC), MediaWiki-General, serviceops-radar, User-mobrovac, User-jijiki, SRE
EvanProdromou added a comment to T222851: Improve Echo seentime code for multi-DC access.

Yes, I think no TTL is the way to go. We don't want to lose this info.

Jul 3 2019, 6:47 PM · MW-1.35-notes (1.35.0-wmf.15; 2020-01-14), Platform Team Initiatives (Multi-DC Echo Notification Storage), User-Eevans, Growth-Team, Notifications

Jul 2 2019

EvanProdromou added a comment to T227097: Make sure that we're taking CentralAuth into consideration for staging release.

All of this is a wee bit complicated by the fact that CentralAuthCookieProvider sets the session cookie expiration to null (expire at end of browser sesssion):

Jul 2 2019, 3:54 PM · SRE, Platform Team Initiatives (Session Management Service (CDP2)), MW-1.34-notes (1.34.0-wmf.13; 2019-07-09), Patch-For-Review, Platform Team Workboards (Team 2), User-Clarakosi, User-Eevans
EvanProdromou added a comment to T227097: Make sure that we're taking CentralAuth into consideration for staging release.

OK, I'm not sure if I'm reading this right, but it seems like CentralAuth session store uses the same backend as the per-wiki session storage, but will throw an in-memory cache around it if it's not already caching. See here:

Jul 2 2019, 3:13 PM · SRE, Platform Team Initiatives (Session Management Service (CDP2)), MW-1.34-notes (1.34.0-wmf.13; 2019-07-09), Patch-For-Review, Platform Team Workboards (Team 2), User-Clarakosi, User-Eevans
Restricted Application removed a project from T227097: Make sure that we're taking CentralAuth into consideration for staging release: Patch-For-Review.
Jul 2 2019, 2:53 PM · SRE, Platform Team Initiatives (Session Management Service (CDP2)), MW-1.34-notes (1.34.0-wmf.13; 2019-07-09), Patch-For-Review, Platform Team Workboards (Team 2), User-Clarakosi, User-Eevans
EvanProdromou reassigned T227096: Test migration process for session storage from EvanProdromou to BPirkle.

Tagging Bill on this one, since he'll probably be most in control of the timing. Happy to help with the testing, though.

Jul 2 2019, 2:51 PM · Platform Team Workboards (Green), Platform Team Initiatives (Session Management Service (CDP2))
EvanProdromou created T227096: Test migration process for session storage.
Jul 2 2019, 2:51 PM · Platform Team Workboards (Green), Platform Team Initiatives (Session Management Service (CDP2))
EvanProdromou added a comment to T221987: Performance testing of RESTBagOStuff.

@aaron OK. I'm going to maybe just hit a page or run through a script on test wiki with siege or httperf or something similar and see if it starts throwing errors anywhere.

Jul 2 2019, 2:46 PM · Performance-Team (Radar), Platform Team Initiatives (Session Management Service (CDP2))
EvanProdromou added a comment to T221986: Security Review of RESTBagOStuff.

@Eevans Sweet. I'm going to use some 10% time to get smarter about Cassandra. Seems fascinating!

Jul 2 2019, 2:10 PM · Platform Team Workboards (Team 2), Platform Engineering (Session Management Service (CDP2))
EvanProdromou closed T221986: Security Review of RESTBagOStuff, a subtask of T215533: Enable use of session storage service in MediaWiki, as Resolved.
Jul 2 2019, 2:07 PM · Platform Team Workboards (Epics), Epic, Platform Team Initiatives (Session Management Service (CDP2)), MW-1.34-notes (1.34.0-wmf.7; 2019-05-28), Patch-For-Review, User-Clarakosi, User-Eevans
EvanProdromou closed T221986: Security Review of RESTBagOStuff as Resolved.

@sbassett I'm going to close this ticket. Is there a good way to bring Security into the loop as we roll this code out? As in, "We are rolling login-related code out, so keep alert."

Jul 2 2019, 2:07 PM · Platform Team Workboards (Team 2), Platform Engineering (Session Management Service (CDP2))

Jun 27 2019

EvanProdromou added a comment to T221986: Security Review of RESTBagOStuff.
Jun 27 2019, 4:00 PM · Platform Team Workboards (Team 2), Platform Engineering (Session Management Service (CDP2))
EvanProdromou added a comment to T221986: Security Review of RESTBagOStuff.

@Eevans and @BPirkle I feel pretty satisfied. I'm not a security professional, but I'm having a hard time thinking up other attacks than those listed. I have three questions left for you, and then I think we can close this ticket.

Jun 27 2019, 3:48 PM · Platform Team Workboards (Team 2), Platform Engineering (Session Management Service (CDP2))

Jun 13 2019

EvanProdromou added a comment to T222099: Staging release of RESTBagOStuff using Kask.

So, would the best way to do this be to configure test.wikipedia.org to use RESTBagOStuff and the production Kask service?

Jun 13 2019, 7:55 PM · Patch-For-Review, Platform Team Workboards (Green), Platform Team Initiatives (Session Management Service (CDP2)), User-Clarakosi, User-Eevans
EvanProdromou updated subscribers of T221987: Performance testing of RESTBagOStuff.

So, one way we could do this is with siege or something similar, hitting a Web page or API endpoint with a session cookie set. We could do a baseline comparison against production (?) and then get similar data for a staging service we set up for T222099.

Jun 13 2019, 7:53 PM · Performance-Team (Radar), Platform Team Initiatives (Session Management Service (CDP2))
EvanProdromou added a comment to T221986: Security Review of RESTBagOStuff.

This is an uninformed and inexpert analysis of potential security concerns with our upcoming session stack. I haven't looked at the code to see if any of these potential problems are mitigated. I hope that most or all of them are!

Jun 13 2019, 3:31 PM · Platform Team Workboards (Team 2), Platform Engineering (Session Management Service (CDP2))
EvanProdromou updated subscribers of T221986: Security Review of RESTBagOStuff.

We had an email conversation with @sbassett about security review of this component. He reviewed @BPirkle 's patches on gerrit, and thinks that since the RESTBagOStuff code has been in master for a few years, we don't have to do a review.

Jun 13 2019, 2:07 PM · Platform Team Workboards (Team 2), Platform Engineering (Session Management Service (CDP2))

Jun 11 2019

mmodell awarded T221177: REST route handler extension interface RFC a Like token.
Jun 11 2019, 3:31 PM · Platform Team Workboards (Team 1), TechCom-RFC (TechCom-RFC-Closed), Patch-For-Review, MediaWiki-REST-API, Platform Engineering (Parsoid REST API in PHP (CDP2))
EvanProdromou assigned T224375: REST API Developer declares JSON validation parameters to Tgr.
Jun 11 2019, 11:38 AM · Story, MediaWiki-REST-API
EvanProdromou added projects to T224375: REST API Developer declares JSON validation parameters: Platform Engineering (Parsoid REST API in PHP (CDP2)), Platform Team Workboards (Doing).
Jun 11 2019, 11:36 AM · Story, MediaWiki-REST-API
EvanProdromou added a parent task for T224375: REST API Developer declares JSON validation parameters: T221737: REST API Infrastructure in MediaWiki.
Jun 11 2019, 11:34 AM · Story, MediaWiki-REST-API
EvanProdromou added a subtask for T221737: REST API Infrastructure in MediaWiki: T224375: REST API Developer declares JSON validation parameters.
Jun 11 2019, 11:34 AM · Platform Team Initiatives (Parsoid REST API in PHP (CDP2)), MediaWiki-REST-API, Services (watching)

Jun 10 2019

EvanProdromou removed a project from T219525: respect $exptime in RESTBagOStuff::set(): Platform Engineering (Session Management Service (CDP2)).

We don't need this for using RESTBagOStuff with Kask for session storage, so I'm removing the parent task and untagging for this project.

Jun 10 2019, 7:13 PM · MediaWiki-Cache, User-Clarakosi
EvanProdromou removed a subtask for T215533: Enable use of session storage service in MediaWiki: T219525: respect $exptime in RESTBagOStuff::set().
Jun 10 2019, 7:13 PM · Platform Team Workboards (Epics), Epic, Platform Team Initiatives (Session Management Service (CDP2)), MW-1.34-notes (1.34.0-wmf.7; 2019-05-28), Patch-For-Review, User-Clarakosi, User-Eevans
EvanProdromou removed a parent task for T219525: respect $exptime in RESTBagOStuff::set(): T215533: Enable use of session storage service in MediaWiki.
Jun 10 2019, 7:13 PM · MediaWiki-Cache, User-Clarakosi
EvanProdromou removed a project from T219527: respect WRITE_SYNC (e.g. EACH_QUORUM) in RESTBagOStuff::delete(): Platform Engineering (Session Management Service (CDP2)).

We don't need this for using RESTBagOStuff with Kask for session storage, so I'm removing the parent task and untagging for this project.

Jun 10 2019, 7:12 PM · MediaWiki-Cache, User-Clarakosi
EvanProdromou removed a subtask for T215533: Enable use of session storage service in MediaWiki: T219527: respect WRITE_SYNC (e.g. EACH_QUORUM) in RESTBagOStuff::delete().
Jun 10 2019, 7:12 PM · Platform Team Workboards (Epics), Epic, Platform Team Initiatives (Session Management Service (CDP2)), MW-1.34-notes (1.34.0-wmf.7; 2019-05-28), Patch-For-Review, User-Clarakosi, User-Eevans
EvanProdromou removed a parent task for T219527: respect WRITE_SYNC (e.g. EACH_QUORUM) in RESTBagOStuff::delete(): T215533: Enable use of session storage service in MediaWiki.
Jun 10 2019, 7:12 PM · MediaWiki-Cache, User-Clarakosi
EvanProdromou removed a parent task for T219526: Make RESTBagOStuff::add() atomic: T215533: Enable use of session storage service in MediaWiki.
Jun 10 2019, 3:57 PM · Platform Engineering (Icebox)
EvanProdromou removed a subtask for T215533: Enable use of session storage service in MediaWiki: T219526: Make RESTBagOStuff::add() atomic.
Jun 10 2019, 3:57 PM · Platform Team Workboards (Epics), Epic, Platform Team Initiatives (Session Management Service (CDP2)), MW-1.34-notes (1.34.0-wmf.7; 2019-05-28), Patch-For-Review, User-Clarakosi, User-Eevans
EvanProdromou added a comment to T221986: Security Review of RESTBagOStuff.

@Eevans brought up the valid point that if this code is already in MediaWiki, and has only been altered somewhat to support Kask, that it may not need a security review.

Jun 10 2019, 3:13 PM · Platform Team Workboards (Team 2), Platform Engineering (Session Management Service (CDP2))
EvanProdromou removed a parent task for T219524: respect WRITE_SYNC (e.g. EACH_QUORUM) in RESTBagOStuff::set(): T215533: Enable use of session storage service in MediaWiki.
Jun 10 2019, 3:09 PM · MediaWiki-Cache, User-Clarakosi
EvanProdromou removed a subtask for T215533: Enable use of session storage service in MediaWiki: T219524: respect WRITE_SYNC (e.g. EACH_QUORUM) in RESTBagOStuff::set().
Jun 10 2019, 3:09 PM · Platform Team Workboards (Epics), Epic, Platform Team Initiatives (Session Management Service (CDP2)), MW-1.34-notes (1.34.0-wmf.7; 2019-05-28), Patch-For-Review, User-Clarakosi, User-Eevans
EvanProdromou removed a project from T219524: respect WRITE_SYNC (e.g. EACH_QUORUM) in RESTBagOStuff::set(): Platform Engineering (Session Management Service (CDP2)).

We don't need this for Session storage so I'm removing the parent task and de-tagging.

Jun 10 2019, 3:09 PM · MediaWiki-Cache, User-Clarakosi
EvanProdromou removed a project from T219529: respect $exptime in RESTBagOStuff::incr(): Platform Engineering (Session Management Service (CDP2)).

We don't need this for using RESTBagOStuff with Kask for sessions, so I'm taking it out of the epic and removing the session tag.

Jun 10 2019, 2:24 PM · MediaWiki-Cache, User-Clarakosi
EvanProdromou removed a parent task for T219529: respect $exptime in RESTBagOStuff::incr(): T215533: Enable use of session storage service in MediaWiki.
Jun 10 2019, 2:23 PM · MediaWiki-Cache, User-Clarakosi
EvanProdromou removed a subtask for T215533: Enable use of session storage service in MediaWiki: T219529: respect $exptime in RESTBagOStuff::incr().
Jun 10 2019, 2:23 PM · Platform Team Workboards (Epics), Epic, Platform Team Initiatives (Session Management Service (CDP2)), MW-1.34-notes (1.34.0-wmf.7; 2019-05-28), Patch-For-Review, User-Clarakosi, User-Eevans
EvanProdromou renamed T221983: QA Plan for RESTBagOStuff from QA Plan for KaskBagOStuff to QA Plan for RESTBagOStuff.
Jun 10 2019, 2:19 PM · Platform Team Workboards (Green), Platform Team Initiatives (Session Management Service (CDP2))
EvanProdromou renamed T221987: Performance testing of RESTBagOStuff from Performance testing of KaskBagOStuff to Performance testing of RESTBagOStuff.
Jun 10 2019, 2:18 PM · Performance-Team (Radar), Platform Team Initiatives (Session Management Service (CDP2))
EvanProdromou renamed T222099: Staging release of RESTBagOStuff using Kask from Staging release of KaskBagOStuff using Kask to Staging release of RESTBagOStuff using Kask.
Jun 10 2019, 2:18 PM · Patch-For-Review, Platform Team Workboards (Green), Platform Team Initiatives (Session Management Service (CDP2)), User-Clarakosi, User-Eevans
EvanProdromou renamed T221986: Security Review of RESTBagOStuff from Security Review of KaskBagOStuff to Security Review of RESTBagOStuff.
Jun 10 2019, 2:18 PM · Platform Team Workboards (Team 2), Platform Engineering (Session Management Service (CDP2))

Jun 6 2019

Xinbenlv awarded T223247: Unit or integration test for Sample REST API Handler a Like token.
Jun 6 2019, 8:13 PM · Platform Team Initiatives (Parsoid REST API in PHP (CDP2)), Patch-For-Review, MediaWiki-REST-API
Xinbenlv awarded T223247: Unit or integration test for Sample REST API Handler a Like token.
Jun 6 2019, 8:13 PM · Platform Team Initiatives (Parsoid REST API in PHP (CDP2)), Patch-For-Review, MediaWiki-REST-API

Jun 5 2019

EvanProdromou updated subscribers of T205361: Make an HTML dump of the output of the CodeReview extension on MediaWiki.org.

Also checking in with @CCicalese_WMF to see if we can rebalance some resources.

Jun 5 2019, 3:44 PM · Platform Engineering, SRE, MW-1.33-notes (1.33.0-wmf.25; 2019-04-09), MediaWiki-extensions-CodeReview
EvanProdromou added a comment to T205361: Make an HTML dump of the output of the CodeReview extension on MediaWiki.org.

I guess this task is stalled? I'll check with @Legoktm to see if we can move it forward.

Jun 5 2019, 3:44 PM · Platform Engineering, SRE, MW-1.33-notes (1.33.0-wmf.25; 2019-04-09), MediaWiki-extensions-CodeReview

Jun 4 2019

EvanProdromou closed T222907: Determine if per-request TTLs are needed as Resolved.

So, it sounds like any additional code here would be to deal with a misconfiguration problem, where the configured TTL for MediaWiki and Kask are grossly mismatched.

Jun 4 2019, 2:56 PM · Platform Team Workboards (Done with CPT), Platform Engineering (Session Management Service (CDP2))
EvanProdromou closed T222907: Determine if per-request TTLs are needed, a subtask of T206016: Create a service for session storage, as Resolved.
Jun 4 2019, 2:56 PM · Platform Team Initiatives (Session Management Service (CDP2)), Platform Team Workboards (Initiatives), User-Clarakosi
EvanProdromou created T224995: Document that session TTL mismatch between Kask and MediaWiki (or other applications) will be silently ignored.
Jun 4 2019, 2:52 PM · Platform Team Workboards (Green), Platform Team Initiatives (Multi-DC (TEC1))
EvanProdromou closed T222742: MigrationBagOStuff as Resolved.
Jun 4 2019, 2:34 PM · User-Clarakosi, Platform Team Legacy (Next), Platform Engineering (Session Management Service (CDP2)), User-Eevans
EvanProdromou closed T222742: MigrationBagOStuff, a subtask of T215533: Enable use of session storage service in MediaWiki, as Resolved.
Jun 4 2019, 2:34 PM · Platform Team Workboards (Epics), Epic, Platform Team Initiatives (Session Management Service (CDP2)), MW-1.34-notes (1.34.0-wmf.7; 2019-05-28), Patch-For-Review, User-Clarakosi, User-Eevans
EvanProdromou added a comment to T222742: MigrationBagOStuff.

I've created a ticket for doing the configuration options for RESTBagOStuff at T224993, so I'm closing this down.

Jun 4 2019, 2:34 PM · User-Clarakosi, Platform Team Legacy (Next), Platform Engineering (Session Management Service (CDP2)), User-Eevans
EvanProdromou created T224993: Example configuration clauses for using RESTBagOStuff with Kask.
Jun 4 2019, 2:30 PM · Platform Team Workboards (Green), Platform Team Initiatives (Session Management Service (CDP2))
EvanProdromou edited projects for T223315: Make it possible to mass-clear via Special:EditWatchlist without job queue, added: Platform Team Legacy (Next), Platform Engineering (Needs Cleaning - Security, stability, performance, and scalability (TEC1)); removed Platform Engineering.

So, we on CPT think that it's essential to use the job queue for large watchlists, because older code that did the deletion directly would time out.

Jun 4 2019, 1:31 PM · Growth-Team-Filtering, Platform Engineering (Icebox), Growth-Team, Performance Issue, MediaWiki-Watchlist
EvanProdromou added a comment to T222533: Add message to Special:Watchlist /raw and /clear to indicate slower speed.

So, it sounds like we've got a good split on this task. IMHO, the right way to do this is:

Jun 4 2019, 1:14 PM · Growth-Team-Filtering, Platform Engineering, Growth-Team, MediaWiki-Watchlist
EvanProdromou renamed T47133: Add talk namespace option to Special:NewPages from add associated namespace option to Special:NewPages to Add talk namespace option to Special:NewPages.
Jun 4 2019, 1:05 PM · MW-1.34-notes (1.34.0-wmf.20; 2019-08-27), Platform Team Workboards (Clinic Duty Team), User-DannyS712, MediaWiki-Special-pages
EvanProdromou edited projects for T47133: Add talk namespace option to Special:NewPages, added: Platform Team Legacy (Later); removed Platform Engineering.

So, this doesn't seem to be a high-priority feature request, and we don't have a project this wedges into too well. I've put this into our Backlog, so if someone gets to it we'll pick it up.

Jun 4 2019, 12:59 PM · MW-1.34-notes (1.34.0-wmf.20; 2019-08-27), Platform Team Workboards (Clinic Duty Team), User-DannyS712, MediaWiki-Special-pages
EvanProdromou reassigned T224979: Parsoid REST Routes Extension from EvanProdromou to Tgr.
Jun 4 2019, 11:41 AM · MediaWiki-REST-API, Platform Engineering (Parsoid REST API in PHP (CDP2)), Parsoid-PHP
EvanProdromou created T224979: Parsoid REST Routes Extension.
Jun 4 2019, 11:40 AM · MediaWiki-REST-API, Platform Engineering (Parsoid REST API in PHP (CDP2)), Parsoid-PHP

May 30 2019

EvanProdromou added a comment to T224471: Development strategy for collaborating on Parsoid REST API routes as Parsoid-PHP is being developed.

@Anomie Somehow I managed to not read #5 very well. I think we're on the same page.

May 30 2019, 6:22 PM · StructuredDiscussions, Growth-Team, MediaWiki-REST-API, Platform Engineering (Parsoid REST API in PHP (CDP2)), Parsoid-PHP, Services (watching), MediaWiki-Parser

May 29 2019

EvanProdromou added a comment to T224471: Development strategy for collaborating on Parsoid REST API routes as Parsoid-PHP is being developed.

@Anomie One option neither of us brought up was developing the Parsoid routes as part of a MediaWiki extension. That would not only exercise the ability of the REST API Router to be useful for extensions, but it would allow us to manage the Parsoid interface without committing to master.

May 29 2019, 6:15 PM · StructuredDiscussions, Growth-Team, MediaWiki-REST-API, Platform Engineering (Parsoid REST API in PHP (CDP2)), Parsoid-PHP, Services (watching), MediaWiki-Parser
EvanProdromou added a comment to T224471: Development strategy for collaborating on Parsoid REST API routes as Parsoid-PHP is being developed.

@Tgr yes, that's the plan.

May 29 2019, 6:07 PM · StructuredDiscussions, Growth-Team, MediaWiki-REST-API, Platform Engineering (Parsoid REST API in PHP (CDP2)), Parsoid-PHP, Services (watching), MediaWiki-Parser

May 28 2019

EvanProdromou edited parent tasks for T221166: Session authentication in Parsoid REST API, added: T221737: REST API Infrastructure in MediaWiki; removed: T221158: Parsoid REST API in PHP.
May 28 2019, 2:58 PM · MediaWiki-REST-API
EvanProdromou removed a subtask for T221158: Parsoid REST API in PHP: T221166: Session authentication in Parsoid REST API.
May 28 2019, 2:58 PM · Platform Team Workboards (Initiatives), Platform Team Initiatives (Parsoid REST API in PHP (CDP2)), StructuredDiscussions, Growth-Team, MediaWiki-REST-API, Parsoid-PHP, MediaWiki-Parser
EvanProdromou added a subtask for T221737: REST API Infrastructure in MediaWiki: T221166: Session authentication in Parsoid REST API.
May 28 2019, 2:58 PM · Platform Team Initiatives (Parsoid REST API in PHP (CDP2)), MediaWiki-REST-API, Services (watching)
EvanProdromou updated subscribers of T221173: Resolve domains in path of endpoints for Parsoid REST API.

@mobrovac and @Pchelolo it'd be helpful here to make sure we're doing this right.

May 28 2019, 2:56 PM · MediaWiki-REST-API
EvanProdromou added a comment to T221738: Parsoid REST API routes in MediaWiki.

We're dependent on T221988 for this.

May 28 2019, 1:46 PM · Platform Team Initiatives (Parsoid REST API in PHP (CDP2)), Growth-Team, StructuredDiscussions, MediaWiki-REST-API, Parsoid-PHP, Services (watching), MediaWiki-Parser
EvanProdromou updated subscribers of T224471: Development strategy for collaborating on Parsoid REST API routes as Parsoid-PHP is being developed.

This may be of interest to @daniel w/r/t strategies for decoupling

May 28 2019, 12:40 PM · StructuredDiscussions, Growth-Team, MediaWiki-REST-API, Platform Engineering (Parsoid REST API in PHP (CDP2)), Parsoid-PHP, Services (watching), MediaWiki-Parser
EvanProdromou updated subscribers of T224471: Development strategy for collaborating on Parsoid REST API routes as Parsoid-PHP is being developed.

@Tgr @tstarling @Anomie per our discussion in sprint meeting

May 28 2019, 12:40 PM · StructuredDiscussions, Growth-Team, MediaWiki-REST-API, Platform Engineering (Parsoid REST API in PHP (CDP2)), Parsoid-PHP, Services (watching), MediaWiki-Parser
EvanProdromou created T224471: Development strategy for collaborating on Parsoid REST API routes as Parsoid-PHP is being developed.
May 28 2019, 12:35 PM · StructuredDiscussions, Growth-Team, MediaWiki-REST-API, Platform Engineering (Parsoid REST API in PHP (CDP2)), Parsoid-PHP, Services (watching), MediaWiki-Parser
EvanProdromou reassigned T223247: Unit or integration test for Sample REST API Handler from tstarling to Tgr.
May 28 2019, 11:41 AM · Platform Team Initiatives (Parsoid REST API in PHP (CDP2)), Patch-For-Review, MediaWiki-REST-API
EvanProdromou renamed T223247: Unit or integration test for Sample REST API Handler from Unit test for Sample REST API Handler to Unit or integration test for Sample REST API Handler.
May 28 2019, 11:35 AM · Platform Team Initiatives (Parsoid REST API in PHP (CDP2)), Patch-For-Review, MediaWiki-REST-API

May 24 2019

EvanProdromou added a comment to T212129: Move MainStash out of Redis to a simpler multi-dc aware solution.

I'd assume there would be a lot of counters and so on that might need to be written to even on a GET request.

May 24 2019, 6:42 PM · Performance-Team, Sustainability (MediaWiki-MultiDC), MediaWiki-General, serviceops-radar, User-mobrovac, User-jijiki, SRE
EvanProdromou added a comment to T221177: REST route handler extension interface RFC.

Task description update: I'm explicitly limiting the scope so that we can move towards approval.

May 24 2019, 6:21 PM · Platform Team Workboards (Team 1), TechCom-RFC (TechCom-RFC-Closed), Patch-For-Review, MediaWiki-REST-API, Platform Engineering (Parsoid REST API in PHP (CDP2))

May 21 2019

EvanProdromou edited projects for T219528: Make RESTBagOStuff::incr() atomic, added: Platform Team Legacy; removed User-Clarakosi, Platform Team Legacy (Next), Platform Engineering (Session Management Service (CDP2)), User-Eevans.

So, this isn't required for session storage. I'm going re-tag it, but I don't think it should block.

May 21 2019, 6:06 PM · MediaWiki-Cache
EvanProdromou removed a subtask for T215533: Enable use of session storage service in MediaWiki: T219528: Make RESTBagOStuff::incr() atomic.
May 21 2019, 5:33 PM · Platform Team Workboards (Epics), Epic, Platform Team Initiatives (Session Management Service (CDP2)), MW-1.34-notes (1.34.0-wmf.7; 2019-05-28), Patch-For-Review, User-Clarakosi, User-Eevans
EvanProdromou removed a parent task for T219528: Make RESTBagOStuff::incr() atomic: T215533: Enable use of session storage service in MediaWiki.
May 21 2019, 5:33 PM · MediaWiki-Cache
EvanProdromou added a comment to T222742: MigrationBagOStuff.

So, it seems like the MultiWriteBagOStuff does what we need. It will be slightly inefficient, since it will do unnecessary writes to the old store, but that will probably be OK and actually be more robust during rollout period.

May 21 2019, 2:59 PM · User-Clarakosi, Platform Team Legacy (Next), Platform Engineering (Session Management Service (CDP2)), User-Eevans
EvanProdromou added a comment to T222742: MigrationBagOStuff.

The class comment says "Reads are implemented by reading from the caches in the order they are given in the configuration until a cache gives a positive result." The code seems to match.

It has different write semantics than you ask for though, as it will write to both the new and old stores.

May 21 2019, 2:55 PM · User-Clarakosi, Platform Team Legacy (Next), Platform Engineering (Session Management Service (CDP2)), User-Eevans
EvanProdromou closed T222908: Determine if set-if-not-exists method is necessary for session storage as Resolved.

@BPirkle the code for session storage doesn't deal with propagation delay because we haven't had multi-DC session storage before! ;-)

May 21 2019, 2:53 PM · Platform Team Workboards (Done with CPT), Platform Engineering (Session Management Service (CDP2))
EvanProdromou closed T222908: Determine if set-if-not-exists method is necessary for session storage, a subtask of T206016: Create a service for session storage, as Resolved.
May 21 2019, 2:53 PM · Platform Team Initiatives (Session Management Service (CDP2)), Platform Team Workboards (Initiatives), User-Clarakosi
EvanProdromou edited projects for T219526: Make RESTBagOStuff::add() atomic, added: Platform Team Legacy (Attic); removed Platform Team Legacy (Next), Platform Engineering (Session Management Service (CDP2)).

@aaron asked me to create tickets for all the TODO comments in RESTBagOStuff. This is one of those tickets.

May 21 2019, 2:43 PM · Platform Engineering (Icebox)

May 17 2019

EvanProdromou closed T223505: GraphQL reading experience as a one-page Web app as Declined.

I decided to put my time into T223510 so I'm going to shut this one down.

May 17 2019, 10:19 AM · Wikimedia-Hackathon-2019
EvanProdromou closed T223504: ActivityPub facade for Wikimedia users as Declined.

So, this is still an interesting project to me, but I think I'm going to work on T223510 instead. So I'm closing this but if someone else wants to give it a shot, cool.

May 17 2019, 10:18 AM · Wikimedia-Hackathon-2019
EvanProdromou added a comment to T223510: Voice editing of Wikidata as an Alexa skill.

OK, I jumped in and started this: https://gitlab.com/evanp/alexa-skill-update-wikidata/boards

May 17 2019, 8:41 AM · Wikidata, Wikimedia-Hackathon-2019
EvanProdromou added a comment to T223510: Voice editing of Wikidata as an Alexa skill.

Metaphacts created an Alexa skill to query Wikidata. Paper is at https://metaphacts.com/images/PDFs/publications/ISWC2017-Alexa-Ask-Wikidata.pdf .

May 17 2019, 8:24 AM · Wikidata, Wikimedia-Hackathon-2019
EvanProdromou created T223510: Voice editing of Wikidata as an Alexa skill.
May 17 2019, 8:07 AM · Wikidata, Wikimedia-Hackathon-2019
EvanProdromou created T223505: GraphQL reading experience as a one-page Web app.
May 17 2019, 7:27 AM · Wikimedia-Hackathon-2019
EvanProdromou created T223504: ActivityPub facade for Wikimedia users.
May 17 2019, 7:22 AM · Wikimedia-Hackathon-2019

May 16 2019

EvanProdromou added a comment to T222968: Coordinate board games to bring to Hackathon.

I got intimidated trying to bring any sizeable board game on the plane from Canada, so I ended up just packing dice, cards, pencils and instruction books for a bunch of rules-light role-playing games. I'd love to GM a drop-in session.

May 16 2019, 11:55 AM · Wikimedia-Hackathon-2019
EvanProdromou updated the task description for T222968: Coordinate board games to bring to Hackathon.
May 16 2019, 11:54 AM · Wikimedia-Hackathon-2019

May 14 2019

EvanProdromou updated subscribers of T222908: Determine if set-if-not-exists method is necessary for session storage.

As far as I can tell, the SessionManager code doesn't use the add() interface from BagOStuff.

May 14 2019, 1:30 PM · Platform Team Workboards (Done with CPT), Platform Engineering (Session Management Service (CDP2))
EvanProdromou created T223247: Unit or integration test for Sample REST API Handler.
May 14 2019, 11:47 AM · Platform Team Initiatives (Parsoid REST API in PHP (CDP2)), Patch-For-Review, MediaWiki-REST-API
EvanProdromou placed T223239: REST API Parameter Validation up for grabs.

Most important types to validate are in the routes to finish the Parsoid REST API, T221738. Looks like string and integer...?

May 14 2019, 11:44 AM · MW-1.34-notes (1.34.0-wmf.22; 2019-09-10), Platform Team Workboards (Green), Platform Team Initiatives (Parsoid REST API in PHP (CDP2)), MediaWiki-REST-API
EvanProdromou created T223240: REST API ResponseFactory.
May 14 2019, 11:36 AM · Platform Team Workboards (Done with CPT), MW-1.34-notes (1.34.0-wmf.10; 2019-06-18), MediaWiki-REST-API, Platform Engineering (Parsoid REST API in PHP (CDP2))
EvanProdromou created T223239: REST API Parameter Validation.
May 14 2019, 11:35 AM · MW-1.34-notes (1.34.0-wmf.22; 2019-09-10), Platform Team Workboards (Green), Platform Team Initiatives (Parsoid REST API in PHP (CDP2)), MediaWiki-REST-API