[Wikitech-l] Production Excellence #45: June 2022

2022-07-29 Thread Krinkle
How are we doing in our strive for operational excellence? Read on to find out! Incidents There were 6 incidents in June this year. That's double the median of three per month, over the past two years (Incident graphs <https://codepen.io/Krinkle/full/wbYMZK>). 2022-06-01 cloudelastic

[Wikitech-l] Production Excellence #44: May 2022

2022-06-15 Thread Krinkle
when we had eleven (Incident graphs <https://codepen.io/Krinkle/full/wbYMZK>, Excellence monthly of June 2019 <https://phabricator.wikimedia.org/phame/post/view/163/production_excellence_12_june_2019/>). I'd like to draw your attention to something positive. As you read the below

[Wikitech-l]  Amir Sarabadani receives Web Perf Hero award!

2022-05-26 Thread Krinkle
I'm happy to share that the first Web Perf Hero award of 2022 goes to Amir Sarabadani! This award is in recognition of Amir's work (@Ladsgroup) over the past six months, in which he demonstrated deep expertise of the MediaWiki platform and significantly sped up the process of saving edits in

[Wikitech-l] Production Excellence #43: April 2022

2022-05-12 Thread Krinkle
How’d we do in our strive for operational excellence last month? Read on to find out! Incidents Last month we experienced 2 (public) incidents. This is below the three-year median of 3 incidents a month (Incident graphs <https://codepen.io/Krinkle/full/wbYMZK>). 2022-04-06 esams n

[Wikitech-l]  Fresh 22.05 released!

2022-05-10 Thread Krinkle
This release promotes Node.js 14 to be the default for the fresh-node command. Get started by installing, updating, or learning more, at: https://gerrit.wikimedia.org/g/fresh#fresh-environment Changelog: https://gerrit.wikimedia.org/g/fresh/+/22.05.1/CHANGELOG.md Node.js 14 is now the default

[Wikitech-l] Production Excellence #42: April 2022

2022-04-21 Thread Krinkle
How’d we do in our strive for operational excellence last month? Read on to find out! Incidents We've had quite the month, with 8 documented incidents. That's more than double the two-year median of three a month (Incident graphs <https://codepen.io/Krinkle/full/wbYMZK>). 2022-03-01

[Wikitech-l] Re: Different cache invalidation rules for similar users?

2022-04-06 Thread Krinkle
age has a history of two revisions, both 25 Mar, about 10 minutes apart. Is the reported issue that its last edit [1] was seemingly not applied for some editors? E.g. they kept getting the previous version with the getElementByID error? -- Krinkle [1] https://ro.wikipedia.org/w/index.php?

[Wikitech-l] Re: Different cache invalidation rules for similar users?

2022-04-03 Thread Krinkle
out before the 7 day expiry despite no observed edit or purge. To know for sure, I would need to see the specific script edit and how the script is loaded. -- Krinkle ___ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe sen

[Wikitech-l]  SD0001 receives Web Perf Hero award!

2022-03-30 Thread Krinkle
I'm happy to share that the next Web Perf Hero award goes to SD0001, in recognition of their many contributions and positive impact on the performance of Wikimedia software. I'll share two major examples. SD0001 implemented Package files

[Wikitech-l] MediaWiki 1.38 release blockers

2022-03-23 Thread Krinkle
I'd like to draw some attention to the current outstanding release blockers. >From https://phabricator.wikimedia.org/tag/mw-1.38-release/, 8 tasks as queried from https://phabricator.wikimedia.org/maniphest/query/2YXgSfsvECyO/#R 1. T261329 Prepare Parsoid for MW 1.38 (ideally)

[Wikitech-l] Production Excellence #41: February 2022

2022-03-14 Thread Krinkle
dent graphs <https://codepen.io/Krinkle/full/wbYMZK>. Incident follow-up Remember to review and schedule Incident Follow-up work <https://phabricator.wikimedia.org/project/view/4758/> in Phabricator, which are preventive measures and tech debt mitigations written down after an incident

[Wikitech-l] Re: Best practices for extensions

2022-03-14 Thread Krinkle
w.mediawiki.org/wiki/Topic:Wqvqvhgsvpu1je15> (Do we re-incorporate some of it? And how? How much do we duplicate? If not, what should we do instead?) -- Timo On Thu, 27 Jan 2022, at 04:43, Krinkle wrote: > Hi all, > > You may be familiar with the Best practices for extensions > &

[Wikitech-l]  Fresh 22.01 released!

2022-02-15 Thread Krinkle
This release adds the npx command, and updates Firefox (78esr to 90esr) and Chromium (90 to 97). Get started by installing, updating, or learning more, at: https://gerrit.wikimedia.org/g/fresh#fresh-environment Changelog: https://gerrit.wikimedia.org/g/fresh/+/22.01.1/CHANGELOG.md As a

[Wikitech-l] Re: Best practices for extensions

2022-02-15 Thread Krinkle
t follow a different coding style, or don't follow any (publicly known) guidelines. There is one line in the TLDR of my email where I called upon tech leads among WMDE/WMF staff. I recognise this may have set a confusing tone. -- Timo > On 1/27/22 05:43, Krinkle wrote: >> TLDR: Tec

[Wikitech-l] Production Excellence #40: January 2022

2022-02-04 Thread Krinkle
years prior (2019-2020). I'm glad to announce our median has lowered to 3 per month over the past two years (2020-2021). For more plots and numbers about our incident documentation, refer to Incident stats <https://codepen.io/Krinkle/full/wbYMZK>. Since the previous edition, we reso

[Wikitech-l] Best practices for extensions

2022-01-26 Thread Krinkle
TLDR: Tech leads please review Best practices for extensions on mediawiki.org. Hi all, You may be familiar with the Best practices for extensions page on

[Wikitech-l] Production Excellence #39: December 2021

2022-01-17 Thread Krinkle
How’d we do in our strive for operational excellence last month? Read on to find out! Incidents One documented incident last month (Incident graphs <https://codepen.io/Krinkle/full/wbYMZK>). 2021-12-03 mx <https://wikitech.wikimedia.org/wiki/Incident_documentation/2021-12-03_m

[Wikitech-l] Production Excellence #38: November 2021

2021-12-11 Thread Krinkle
How’d we do in our strive for operational excellence last month? Read on to find out! Incidents 6 documented incidents last month. That's above the two-year and five-year median of 4 per month (per Incident graphs <https://codepen.io/Krinkle/full/wbYMZK>). 2021-11-04 large file

[Wikitech-l] Production Excellence #37: October 2021

2021-11-04 Thread Krinkle
How’d we do in our strive for operational excellence last month? Read on to find out! Incidents There were 4 documented incidents last month. This is currently on average, compared to the past five years (per Incident graphs <https://codepen.io/Krinkle/full/wbYMZK>). 2021-10-08 n

[Wikitech-l]  Umherirrender receives Web Perf Hero award!

2021-10-22 Thread Krinkle
We are happy to announce that Umherirrender has received this quarter's Web Perf Hero award. Umherirrender has initiated and carried out significant improvements to the performance of MediaWiki user preferences (T278650 , T58633

[Wikitech-l] Production Excellence #36: September 2021

2021-10-21 Thread Krinkle
/phabricator.wikimedia.org/project/view/4758/> in Phabricator, which are preventive measures and tech debt mitigations written down after an incident is concluded. See also Incident graphs <https://codepen.io/Krinkle/full/wbYMZK>. Trends The month of September saw 24 new production error

[Wikitech-l]  Fresh 21.09 released!

2021-09-29 Thread Krinkle
This release includes Node.js 12 and npm 7. Get started by installing, updating, or learning more, at: https://gerrit.wikimedia.org/g/fresh#fresh-environment Changelog: https://gerrit.wikimedia.org/g/fresh/+/21.09.1/CHANGELOG.md This release upgrades the default "fresh-node" command to the

[Wikitech-l] Is the "clearyourcache" message still useful?

2021-09-25 Thread Krinkle
TLDR: If you use "hard refresh" in your browser after editing a CSS or JS page on the wiki, I'd like to hear about it so as to figure out whether there may be a bug in the software. Please do test and confirm it for yourself once more without a hard refresh, as it might just be an old habit acting

[Wikitech-l] Universal Edit Button: Remove redundant rel="edit" link head

2021-09-20 Thread Krinkle
As usual with experimental standards that ship in the wild with "temporary" semantics, the temporary semantics become defacto standard and the "future" standard remains reserved for theoretical future use. In T21165 I compare half a dozen

[Wikitech-l] Minor changes to MW logging as shown in Logstash

2021-09-17 Thread Krinkle
TLDR: The way key-values passed to $logger->debug() and $logger->warning() are shown in Logstash will soon change. The proposed transition will be forward- and backward- compatible for at least 90 days, so you can always find your logs in one place, and will not need to update any queries (yet).

[Wikitech-l] Production Excellence #35: August 2021

2021-09-07 Thread Krinkle
How’d we do in our strive for operational excellence last month? Read on to find out! Incidents Zero documented incidents last month. Isn't that something! (Incident graphs <https://codepen.io/Krinkle/full/wbYMZK>) Learn about past incidents at Incident status <https://wikitech.wiki

[Wikitech-l] Re: Action API: Removal of deprecated CSRF token parameters

2021-08-26 Thread Krinkle
New page: https://www.mediawiki.org/wiki/MediaWiki_1.37/Deprecation_of_legacy_API_token_parameters On Wed, 2 Jun 2021 at 17:03, Petr Pchelko wrote: > […] > the following API endpoints were used to obtain a token: > > >- ‘rctoken’ in action=query=recentchanges [2] >- ‘rvtoken’ in

[Wikitech-l] Production Excellence #34: July 2021

2021-08-18 Thread Krinkle
How’d we do in our strive for operational excellence last month? Read on to find out! Incidents 3 documented incidents last month. That's at the median for the past twelve months, and slightly below the median of 4 over the past five years (Incident stats graphs <https://codepen.io/Krinkle/f

[Wikitech-l] Re: Goto for microoptimisation

2021-08-13 Thread Krinkle
For the record, I merged Tim's patch last week and was unaware of this email thread. My thinking was as follows: 1. The implementation does not depend on the goto statement. That is, it is not used to write overly-clever or complicated

[Wikitech-l] Production Excellence #33: June 2021

2021-07-13 Thread Krinkle
How’d we do in our strive for operational excellence last month? Incidents 3 documented incidents. That's lower than June in the previous five years where the month saw 5-9 incidents. I've added a new panel ⭐️ to the Incident statistics <https://codepen.io/Krinkle/full/wbYMZK> tool. Th

[Wikitech-l] Production Excellence #32: May 2021

2021-06-20 Thread Krinkle
documented incidents (Incident stats <https://codepen.io/Krinkle/full/wbYMZK>). Remember to review Preventive measures <https://phabricator.wikimedia.org/project/view/4758/> in Phabricator, which are action items filed after an incident. --- Trends In May, we unfortunately

[Wikitech-l] Production Excellence #31: April 2021

2021-05-12 Thread Krinkle
How’d we do in our strive for operational excellence last month? Read on to find out! Read on Phabricator at https://phabricator.wikimedia.org/phame/post/view/235/ Incidents 6 documented incidents. That's above the historical average <https://codepen.io/Krinkle/full/wbYMZK> of 3–4 per

[Wikitech-l]  Fresh 21.04 released!

2021-04-29 Thread Krinkle
This release updates Chromium to 73, and fixes a bug where containers could sometimes keep running if you force-closed a terminal tab that still had an open fresh-node prompt. If you found that certain Selenium tests didn't pass locally after March 10th, this now fixed as well. [1] Thanks to

Re: [Wikitech-l] Herald rules

2021-04-29 Thread Krinkle
Have we considered asking upstream Phabricator to e.g. a non-blocking mode for a Herald rule? These would e.g. be processed post-send in PHP or in some other queued manner internally. It would likely need to be restricted and (to avoid notification complexity) might also be automatically tied to

Re: [Wikitech-l] Dynamically declaring parser functions?

2021-04-29 Thread Krinkle
It might be (more) feasible to use Lua (and Extension:Scribunto) for this, or even just templates more generally, as this allows one to define on-wiki mechanisms dynamically in a more flexible way. (I've not fully read the thread, apologies if this is incompatible with a requirement, I thought

[Wikitech-l] Production Excellence #30: March 2021

2021-04-14 Thread Krinkle
How’d we do in our strive for operational excellence last month? Read on to find out! Read on Phabricator at https://phabricator.wikimedia.org/phame/post/view/229/ Incidents 2 documented incidents. That's average for this time of year, when we usually had <https://codepen.io/Krinkle/full/wbY

[Wikitech-l] Production Excellence #29: February 2021

2021-03-05 Thread Krinkle
---  Thanks! Thank you to everyone else who helped by reporting, investigating, or resolving problems in Wikimedia production. Thanks! Until next time, – Timo Tijhof --- Footnotes: [1] Incident status Wikitech <https://wikitech.wikimedia.org/wiki/Incident_status>. [2] Wi

[Wikitech-l] Production Excellence #28: January 2021

2021-02-18 Thread Krinkle
gating, or resolving problems in Wikimedia production. Thanks! Until next time, – Timo Tijhof --- Footnotes: [1] Incident status Wikitech <https://wikitech.wikimedia.org/wiki/Incident_status>. [2] Wikimedia incident stats by Krinkle, CodePen <https://codepen.io/Krinkle/full/w

[Wikitech-l]  Fresh 21.01.1 released!

2021-02-12 Thread Krinkle
We have published a new release of Fresh. This one improves support for ".env" files with MediaWiki-Docker (thanks Željko Filipin), and adds support Podman, a rootless Docker alternative (thanks Kunal Mehta). Get started by installing or updating, and learn more, at:

Re: [Wikitech-l] Is preprocessDump.php still useful?

2021-02-04 Thread Krinkle
Drafted removal at: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/659133 -- Timo On Thu, Jan 21, 2021 at 1:39 AM Krinkle wrote: > This script was created in 2011 and takes an offline XML dump file, > containing page content wikitext, and feeds its entries through the > Pre

[Wikitech-l] Production Excellence #27: December 2020

2021-02-03 Thread Krinkle
in Wikimedia production. Thanks! Until next time, – Timo Tijhof --- Footnotes: [1] Incident documentation 2020, Wikitech <https://wikitech.wikimedia.org/wiki/Incident_documentation#2021>. [2] Open tasks, Wikimedia-prod-error, Phabricator <https://phabricator.wikimedia.org/maniphest/quer

[Wikitech-l] TechCom digest 2021-01-13

2021-01-26 Thread Krinkle
The minutes from TechCom's triage meeting on 13 January 2020. Present: Dan A, Daniel K, Tim S., Tim T. RFC: Introduce PageIdentity [Approved] - https://phabricator.wikimedia.org/T208776 - Last Call is closed, approved. RFC: Normalize MediaWiki link tables -

[Wikitech-l] Is preprocessDump.php still useful?

2021-01-20 Thread Krinkle
This script was created in 2011 and takes an offline XML dump file, containing page content wikitext, and feeds its entries through the Preprocessor without actually importing any content into the wiki. The documented purpose of the script is to "get statistics" or "fill the cache". I was unable

Re: [Wikitech-l] Test runner Quibble 0.0.46 released

2021-01-13 Thread Krinkle
 Thanks Kosta and Antoine. Very exciting. Follow the roll out of Apache vs PHP dev server, at: https://phabricator.wikimedia.org/T225218 -- Timo On Thu, Jan 7, 2021 at 7:55 PM Antoine Musso wrote: > Hello, > > I am pleased to announce the release of Quibble 0.0.46 mainly driven by > Adam

[Wikitech-l] Production Excellence #26: November 2020

2020-12-15 Thread Krinkle
ator.wikimedia.org/maniphest/query/Fw3RdXt1Sdxp/#R>. [3] Wikimedia incident stats, Krinkle, CodePen <https://codepen.io/Krinkle/full/wbYMZK>. [4] Month-over-month, Production Excellence (spreadsheet) <https://docs.google.com/spreadsheets/d/1tRCh8aB0UYyLlhftvcHvhWH4-e7cF5V01XvRObTVgUI/edi

Re: [Wikitech-l] TechCom meeting 2020-11-25

2020-11-26 Thread Krinkle
. Next week IRC office hours No IRC discussion scheduled for next week. You can also find our meeting minutes at https://www.mediawiki.org/wiki/Wikimedia_Technical_Committee/Minutes -- Timo On Wed, Nov 25, 2020 at 8:59 PM Krinkle wrote: > This is the weekly TechCom board rev

[Wikitech-l] TechCom meeting 2020-11-25

2020-11-25 Thread Krinkle
This is the weekly TechCom board review in preparation of our meeting on Wednesday. If there are additional topics for TechCom to review, please let us know by replying to this email. However, please keep discussion about individual RFCs to the Phabricator tickets. Activity since Monday

[Wikitech-l] Production Excellence #25: October 2020

2020-11-23 Thread Krinkle
til next time, – Timo Tijhof --- Footnotes: [1] Incident documentation 2020, Wikitech <https://wikitech.wikimedia.org/wiki/Incident_documentation#2019> [2] Open tasks in Wikimedia-prod-error, Phabricator <https://phabricator.wikimedia.org/maniphest/query/Fw3RdXt1Sdxp/#R> [3] Wikime

[Wikitech-l] TechCom meeting 2020-11-18

2020-11-18 Thread Krinkle
The minutes from TechCom's triage meeting on 18 November 2020. Present: Tim S, Daniel K, Timo T. New RFC: Provide mechanism for overriding configuration for browser tests - https://phabricator.wikimedia.org/T267928 - TT: High time we resource this. Some previous research on this when we

Re: [Wikitech-l] TechCom topics 2020-11-04 (fixed)

2020-11-10 Thread Krinkle
On Tue, Nov 10, 2020 at 5:50 PM Gergo Tisza wrote: > On Tue, Nov 3, 2020 at 1:59 AM Daniel Kinzler > wrote: > >> TemplateData already uses JSON serialization, but then compresses the >> JSON output, to make the data fit into the page_props table. This results >> in binary data in ParserOutput,

Re: [Wikitech-l] TechCom topics 2020-11-04 (fixed)

2020-11-05 Thread Krinkle
On Thu, 5 Nov 2020 at 18:35, Dan Andreescu wrote: > On Tue, Nov 3, 2020 at 4:38 AM Daniel Kinzler > wrote: > >> Am 02.11.20 um 19:24 schrieb Daniel Kinzler: >> >> T262946 *"Bump Firefox >> version in basic support to 3.6 or newer"*: last call ending

Re: [Wikitech-l] TechCom topics 2020-11-04 (fixed)

2020-11-03 Thread Krinkle
*RFC: Expiring watch list entries* https://phabricator.wikimedia.org/T124752 This just missed the triage window, but it looks like this was implemented and deployed meanwhile (it was in Phase 3). I'm proposing we put this on Last Call for wider awareness and so that the team can answer any

Re: [Wikitech-l] Making breaking changes without deprecation?

2020-11-03 Thread Krinkle
On Thu, Sep 3, 2020 at 7:26 AM Robert Vogel wrote: > For the BlueSpice distribution ... > > * we have got ~90 active repos hosted on WMF Gerrit and another ~10 in our > internal Gitlab > > * we want to develop as much as possible on the public infrastructure of > the WMF, so the remaining

[Wikitech-l] Production Excellence #24: September 2020

2020-10-23 Thread Krinkle
wikimedia.org/maniphest/query/Fw3RdXt1Sdxp/#R [3] Wikimedia incident stats. – https://codepen.io/Krinkle/full/wbYMZK [4] Month-over-month plots. – https://docs.google.com/spreadsheets/d/1tRCh8aB0UYyLlhftvcHvhWH4-e7cF5V01XvRObTVgUI/edit?usp=sharing ___ Wikite

Re: [Wikitech-l] TechCom meeting 2020-10-21

2020-10-21 Thread Krinkle
The minutes from TechCom's triage meeting on 21 October 2020. Present: Dan A, Tim S, Timo T. Should npm packages maintained by Wikimedia be scoped or unscoped? - https://phabricator.wikimedia.org/T239742 - NL: Still in inbox - TT: Seems companies do this both ways at times.

[Wikitech-l] Production Excellence #23: July & August 2020

2020-09-23 Thread Krinkle
habricator.wikimedia.org/maniphest/query… <https://phabricator.wikimedia.org/maniphest/query/aKNrCHMosori/#R> [4] Open tasks. – https://phabricator.wikimedia.org/maniphest/query… <https://phabricator.wikimedia.org/maniphest/query/Fw3RdXt1Sdxp/#R> [5] Wikime

Re: [Wikitech-l] "Library" for sharing useful resources for learning technical topics

2020-09-21 Thread Krinkle
Thanks for starting this Amir! I've merged some of my recommendations from [[mw:JSTIPS]] into it, and redirected that to your library going forward The collection is growing quite nicely at https://www.mediawiki.org/wiki/Library. Check it out! -- Timo On Tue, May 26, 2020 at 7:39 PM Amir

[Wikitech-l]  Fresh 20.08.1 released!

2020-09-21 Thread Krinkle
I've published a minor release to Fresh. It fixes compat for SELinux (thanks Marius Hoch), and updates the Docker image to match the latest WMF CI with npm 6.14 and Firefox 68.11 (thanks Antoine Musso). Getting started: https://gerrit.wikimedia.org/g/fresh/#fresh-environment Changelog:

Re: [Wikitech-l] TechCom meeting 2020-09-16

2020-09-16 Thread Krinkle
The minutes from TechCom's triage meeting on 2020-09-16. Present: Daniel K, Dan A, Giuseppe L, Tim S, Timo T. == Links Recommendations Service == * https://phabricator.wikimedia.org/T261411 * https://phabricator.wikimedia.org/T252822 * GL: Idea is to store a blob of wikitext for every page *

Re: [Wikitech-l]  Wikimedia production errors help

2020-09-16 Thread Krinkle
On Tue, Sep 15, 2020 at 10:00 AM Niklas Laxström wrote: > ma 14. syysk. 2020 klo 23.49 Tyler Cipriani (tcipri...@wikimedia.org) > kirjoitti: > > The number of new tasks being created with this tag in a given week is > > outpacing the number of tasks being closed in a given week: this past > >

Re: [Wikitech-l] TechCom board review 2020-09-07

2020-09-11 Thread Krinkle
The minutes from TechCom's triage meeting on 2020-09-09. Present: Daniel K, Dan A, Tim S, Timo T, Kate C. == Liberate the @ for AtEase == * https://phabricator.wikimedia.org/T253461 * Checking in about next steps. * As a coding convention, it doesn’t need our involvement unless there’s a

Re: [Wikitech-l] Do we still need AtEase?

2020-09-09 Thread Krinkle
I've tuned the proposal based on the feedback gathered. Please take a moment to re-review, especially if you previously had concerns or otherwise prefer AtEase. -- Timo On Sun, May 24, 2020 at 6:46 PM Krinkle wrote: > It does the same as the @ operator, except that it takes care to prev

Re: [Wikitech-l] Extensions which host their code in-wiki

2020-08-28 Thread Krinkle
Hi Zoran, I like this idea! For several reasons, most of which are not new. What led you to wanting to archive them now? What are you looking to solve or improve? -- Krinkle On Fri, 28 Aug 2020 at 18:41, Zoran Dori wrote: > Hello everyone, > > on MediaWiki.org I've found a

[Wikitech-l] Production Excellence #22: June 2020

2020-07-22 Thread Krinkle
 Read on Phabricator at https://phabricator.wikimedia.org/phame/post/view/203/ --- How’d we do in our strive for operational excellence last month? Read on to find out! ##  Month in review * 4 documented incidents in June. [1] * 37 new production errors were filed and 27 were closed.

[Wikitech-l] New design for Stable interface policy

2020-06-28 Thread Krinkle
Based on recent CRs and feedback I've redesigned the recently updated Stable interface policy. Old: https://www.mediawiki.org/w/index.php?title=Stable_interface_policy=3845486 New: https://www.mediawiki.org/wiki/User:Krinkle/Stable_interface_policy I hope this is more approachable and easier to

[Wikitech-l] Production Excellence #21: May 2020

2020-06-24 Thread Krinkle
 Read on Phabricator at https://phabricator.wikimedia.org/phame/post/view/198/ --- How’d we do in our strive for operational excellence last month? Read on to find out! ##  Month in numbers * 5 documented incidents in May. [1] * 28 new production error tasks filed in May. [2] [3] * 68

[Wikitech-l] Help with memory leaks in a C# Mono application

2020-06-07 Thread Krinkle
Hi, I'm looking for help finding the cause(s) of a memory leak in the countervandalism CVNBot project. These bots provide users with filtered recent-changes information to patrollers on various big wikis (enwiki, commons, wikidata[1]) as well as from groups of small wikis combined (SWMT[1]). The

[Wikitech-l] RFC: Discourage use of ENUM in db schemas

2020-06-03 Thread Krinkle
Link . Various problems with ENUM have been presented, and it appears that its use cases may be better accommodate in db schemas for MediaWiki by other means. I'm looking for the following: * Success stories with ENUM (cases where it's not only good but

[Wikitech-l] (Low prio) Do we still need AtEase?

2020-05-24 Thread Krinkle
It does the same as the @ operator, except that it takes care to prevent a very bad bug that existed before PHP 7. Details at https://phabricator.wikimedia.org/T253461 If there are other issues or benefits, please write them on the task. The overhead of AtEase is prerty minor, so really any

[Wikitech-l] Production Excellence #20: April 2020

2020-05-14 Thread Krinkle
 Read on Phabricator at https://phabricator.wikimedia.org/phame/post/view/193/ --- How are we doing on that strive for operational excellence during these unprecedented times? ##  Numbers for March and April * 3 documented incidents. [1] * 60 new Wikimedia-prod-error reports. [2] * 58

[Wikitech-l] Update on ResourceLoader debug mode

2020-04-02 Thread Krinkle
Hi, I've written down some observations, thoughts and ideas for ResourceLoader's debug mode. See https://phabricator.wikimedia.org/T85805. Do you like how it works today? Have suggestions for how it could be better? Let me know here, or on-task :-) I plan for it to be an iterative process.

[Wikitech-l] Production Excellence #19 (February 2020)

2020-03-24 Thread Krinkle
tps://wikitech.wikimedia.org/wiki/Incident_documentation#2020>, or Explore Wikimedia incident stats at <https://codepen.io/Krinkle/full/wbYMZK> (interactive). --- ##  Unset vs array splice Our error monitor (Logstash) received numerous reports about an “Undefined offset” error from

[Wikitech-l] Production Excellence (January 2020)

2020-02-28 Thread Krinkle
 Read on Phabricator at https://phabricator.wikimedia.org/phame/post/view/180/ --- How’d we do in our strive for operational excellence last month? Read on to find out! ##  Month in numbers * 3 documented incidents. [1] * 26 new Wikimedia-prod-error reports. [2] * 26 Wikimedia-prod-error

[Wikitech-l] Remove "profileoutput" debug log channel from MediaWiki core

2020-02-27 Thread Krinkle
TLDR: If you use $wgDebugLogGroups['profileoutput'] in LocalSettings.php as a way to collect performance profiles from Tideways/XHProf, this will no longer receive messages in MediaWiki 1.35 and later. --- Hi, I've been auditing the Profiler component in MediaWiki and deprecating or

[Wikitech-l] Production Excellence (December 2019)

2020-01-09 Thread Krinkle
actionables; check < https://wikitech.wikimedia.org/wiki/Incident_documentation#2019>. Explore Wikimedia incident graphs (interactive) at < https://codepen.io/Krinkle/full/wbYMZK>. --- ## *️⃣ Many dots, do not a query make! David Causse investigated a flood of exceptions from S

[Wikitech-l] WikimediaDebug v2 is here! – Staging, perf profiling, verbose log

2019-12-16 Thread Krinkle
WikimediaDebug is a browser extension to help debug WMF wikis in production. [1] TL;DR: * The popup has been redesigned (including dark mode support). * Support for Beta Cluster (including XHGui). * A new "Inline profile" option. For more details and a general overview of how WikimediaDebug

[Wikitech-l] New diff themes in Gerrit Old UI (Colorblind-friendly!)

2019-12-11 Thread Krinkle
Hi, I've implemented two new diff themes in Gerrit's old UI. They are meant to address the following two issues: 1. The default diff theme used in Gerrit places dark red and purple text on a dark red background (in removed code). This can be hard to read. Especially on a yellow-tinted monitor

[Wikitech-l] Production Excellence (October 2019)

2019-11-07 Thread Krinkle
reports closed. [3] * 207 currently open Wikimedia-prod-error reports in total. [4] There were three recorded incidents last month, which is slightly below our median of the past two years. Explore this data: < https://codepen.io/Krinkle/full/wbYMZK>. To read more about these inc

[Wikitech-l] Fresnel 0.5.0 for MediaWiki (perf testing in CI)

2019-10-24 Thread Krinkle
This week Fresnel 0.5.0 was released and deployed to Jenkins. Highlighted changes: - Add support for Mann–Whitney U test. [1] – https://phabricator.wikimedia.org/T223977, https://en.wikipedia.org/wiki/Mann-Whitney_U_test - Switch regression detection from diffStdev to diffMannWhitney

[Wikitech-l] Wikimedia production excellence (September 2019)

2019-10-24 Thread Krinkle
currently open Wikimedia-prod-error reports in total. [4] There were five recorded incidents last month, equal to the median for this and last year. – Explore this data at https://codepen.io/Krinkle/full/wbYMZK To read more about these incidents, their investigations, and pending actionables; check

[Wikitech-l] Wikimedia production excellence (August 2019)

2019-10-02 Thread Krinkle
reports closed. [3] * 210 currently open Wikimedia-prod-error reports in total. [4] The number of recorded incidents in August, at three, was below average for the year so far. However, in previous years (2017-2018), August also has 2-3 incidents. – Explore the data at https://codepen.io/Krinkle

Re: [Wikitech-l] PLURAL in mw.msg

2019-10-01 Thread Krinkle
ed in the block for message.text() and message.parse(), with mw.msg() being a shortcut for message.text(). Could be improved to mention there directly as well! -- Krinkle https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.Message-method-text https://doc.wikimedia.org/mediawiki-core/master/js/#!

[Wikitech-l] Fresh-node: 19.10.1

2019-10-01 Thread Krinkle
I've published a new version of Fresh. Fresh is a simple way to create light and fast isolated contexts in your Terminal. For example, when you need to run 'npm' commands that install and run code needed for ESLint, Grunt or Selenium tests. Get started at https://github.com/wikimedia/fresh See

Re: [Wikitech-l] Declaring methods final in classes

2019-09-01 Thread Krinkle
On Sun, Sep 1, 2019 at 12:40 PM Aryeh Gregor wrote: > On Fri, Aug 30, 2019 at 10:09 PM Krinkle wrote: > > For anything else, it doesn't really work in my experience because > PHPUnit > > won't actually provide a valid implementation of the interface. It > returns > &g

[Wikitech-l] Wikimedia production excellence (July 2019)

2019-08-30 Thread Krinkle
] - 44 closed Wikimedia-prod-error reports. [3] - 218 currently open Wikimedia-prod-error reports in total. [4] The number of recorded incidents over the past month, at five, is equal to the median number of incidents per month (2016-2019). – Explore the data at https://codepen.io/Krinkle/full/wbYMZK

Re: [Wikitech-l] Declaring methods final in classes

2019-08-30 Thread Krinkle
On Thu, Aug 29, 2019 at 1:46 PM Aryeh Gregor wrote: > On Thu, Aug 29, 2019 at 1:02 AM Krinkle wrote: > > What did you want to assert in this test? > > In a proper unit test, I want to completely replace all non-value > classes with mocks, so that they don't call the

Re: [Wikitech-l] Declaring methods final in classes

2019-08-28 Thread Krinkle
On Tue, Aug 27, 2019 at 6:55 PM Aryeh Gregor wrote: > I see that in some classes, like WANObjectCache, most methods are declared > final. Why is this? [..] > > The problem is that PHPUnit mocks can't touch final methods. [..] What did you want to assert in this test? I find there is sometimes

[Wikitech-l] Wikimedia production excellence (June 2019)

2019-07-31 Thread Krinkle
.io/Krinkle/full/wbYMZK>. To read more about these incidents, their investigations, and pending actionables; check < https://wikitech.wikimedia.org/wiki/Incident_documentation#2019>. There are currently 204 open Wikimedia-prod-error reports (up from 186 in April, and 201

[Wikitech-l] [BREAKING CHANGE] Remove support for 'object' in wgResourceModules

2019-07-25 Thread Krinkle
TL;DR: The pre-2011 option of setting a ResourceLoaderModule instance in $wgResourceModules, or calling ResourceLoader->register with an object as second parameter, will be removed in MediaWiki 1.34.0 (release expected in Nov 2019). Change these to an array using the 'class' or 'factory' keys

[Wikitech-l] Wikimedia production excellence (May 2019)

2019-07-01 Thread Krinkle
-prod-error tasks closed. [3] The number of incidents in May of this year was comparable to previous years (6 in May 2019, 2 in May 2018, 5 in May 2017), and previous months (6 in May, 8 in April, 8 in March) – comparisons at < https://codepen.io/Krinkle/full/wbYMZK>. To read more

Re: [Wikitech-l] The revisions watching database is blocked for ten hours

2019-06-19 Thread Krinkle
A similar report is tracked at https://phabricator.wikimedia.org/T226109. Likely the same cause. The wmf.10 train has been reverted from group1 wikis[1], which means the issue should no longer happen again. Whether the existing jobs from the last 24 hours are lost or can be recovered will be

[Wikitech-l] Wikimedia production excellence (April 2019)

2019-05-31 Thread Krinkle
‍ *“One good deed is not enough to save a man.” “Though it seems enough to condemn him?” “Indeed…”* --- Footnotes: [1] Incidents reports by month and year. – https://codepen.io/Krinkle/full/wbYMZK [2] Tasks created. – https://phabricator.wikimedia.org/maniphest/query/pJQdvhVYtHTi/#R [3] Tasks

[Wikitech-l] Database schema diagram for MW 1.32

2019-04-22 Thread Krinkle
Hi all, Are you familiar with MediaWiki's database schema diagram? https://www.mediawiki.org/wiki/File:MediaWiki_database_schema_latest.svg https://www.mediawiki.org/wiki/Manual:Database_layout I've updated it yearly, or every other year, since 2011. – hoping to have it updated for MediaWiki

[Wikitech-l] Wikimedia production excellence (March 2019)

2019-04-21 Thread Krinkle
 Read on Phabricator at https://phabricator.wikimedia.org/phame/live/1/post/150/ --- How’d we do in our strive for operational excellence last month? Read on to find out! ##  Month in numbers * 8 documented incidents. [1] * 31 new Wikimedia-prod-error issues reported. [2] * 28

[Wikitech-l] Thank you Tuesday

2019-04-14 Thread Krinkle
(A few days late, or a day early.) Thank to Ebe123 and Daimona Eaytoy for their work on the Score and AbuseFilter extensions. For years they've been working on these code bases and consistently very responsive to bug reports, maintenance inquiries, and offering help to other interested

[Wikitech-l] Wikimedia production excellence (February 2019)

2019-03-21 Thread Krinkle
 Read on Phabricator at https://phabricator.wikimedia.org/phame/live/1/post/141/ --- How’d we do in our strive for operational excellence? Read on to find out! - Month in numbers. - Current problems. - Highlighted stories. ##  *Month in numbers* * 7 documented incidents. [1] * 30 new

[Wikitech-l] Fresnel for MediaWiki (performance testing)

2019-03-06 Thread Krinkle
You may have noticed something called "mediawiki-fresnel" leaving messages on Gerrit patches for MediaWiki in the past few days, and wondering what it's all about. Allow me to introduce Fresnel! Fresnel is an automation tool for measuring and comparing client-side performance from web pages.

[Wikitech-l] Sunsetting mwSnapshots

2019-02-24 Thread Krinkle
ad.tar.tz", which creates the actual archive. 14. If for "master" branch, update the Mediawiki-latest.tar.gz symlink. 15. (End of for-each branch). Delete older tar files for branches that we created a new one for just now. It lived at https://tools.wmflabs.org/snap

[Wikitech-l] Wikimedia production excellence (January 2019)

2019-02-12 Thread Krinkle
 (est. 3 minute read) https://phabricator.wikimedia.org/phame/live/1/post/140/ --- How’d we do in our strive for operational excellence last month? Read on to find out! - Month in numbers. - Highlighted stories. - Current problems. ##  *Month in numbers* * 4 documented incidents in

[Wikitech-l] Thank you Tuesday

2019-02-12 Thread Krinkle
then. * Thanks to Kunal (Legoktm) for re-starting our Thank you threads as a weekly occurrence. Who would you like to thank? -- Timo Tijhof (Krinkle) ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo

  1   2   3   4   5   >