Page MenuHomePhabricator

Create HtmlCacheUpdater service class to normalize purging code
Closed, ResolvedPublic

Description

This would help to concentrate CDN purging code in a single place, improving modularity and helping to de-couple the code.

(this task was created to enable tracking for a pre-existing patch).

Event Timeline

Change 528824 had a related patch set uploaded (by Daniel Kinzler; owner: Daniel Kinzler):
[mediawiki/core@master] Add small HtmlCacheUpdater service class to normalize purging code

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

Pchelolo subscribed.

Untagging core platform team inbox since the ticket is already categorized.

Change 528924 had a related patch set uploaded (by Aaron Schulz; owner: Aaron Schulz):
[mediawiki/core@master] Add small HtmlCacheUpdater service class to normalize purging code

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

daniel added a subscriber: WDoranWMF.

@Pchelolo, @WDoranWMF: My intention was to get this into Clinic Duty, since it's a code review request from another team. It fits the decoupling initiative conceptually, but having this ticket on hold until we pick up that initiative doesn't make sense.

I suppose if it's not for the initiative, it shouldn't be tagged as such - but we don't have any other way to tag something as decoupling related. Perhaps we need a board-less tag for that?

For now, I'm putting this into the External Code Review column for the CD team.

I went through the patch and it looks like it DRT, but I'd like @Krinkle to give it another pass before we merge it.

Change 528824 abandoned by Krinkle:
Add small HtmlCacheUpdater service class to normalize purging code

Reason:
Further reviewed and iterated upon at https://gerrit.wikimedia.org/r/#/c/mediawiki/core/ /528924/

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

daniel triaged this task as Medium priority.Sep 30 2019, 2:55 PM

(moving to Blocked on the CPT board until the CR is ready to be re-reviewed)

Change 528924 merged by jenkins-bot:
[mediawiki/core@master] Add small HtmlCacheUpdater service class to normalize purging code (2)

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

Change 993163 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/FlaggedRevs@master] Avoid use of deprecated Title::purgeSquid

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

Change 993164 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/Flow@master] SubmissionHandler: Avoid use of deprecated Title::purgeSquid

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

Change 993165 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/core@master] Hard-deprecate Title::purgeSquid(), deprecated in 1.35

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

Change 993164 merged by jenkins-bot:

[mediawiki/extensions/Flow@master] SubmissionHandler: Avoid use of deprecated Title::purgeSquid

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

Change 993163 merged by jenkins-bot:

[mediawiki/extensions/FlaggedRevs@master] Avoid use of deprecated Title::purgeSquid

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

Change 993165 merged by jenkins-bot:

[mediawiki/core@master] Hard-deprecate Title::purgeSquid(), deprecated in 1.35

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