Page MenuHomePhabricator

Purge git.wikimedia.org URLs from Varnish by subscribing to gerrit stream-events
Closed, DeclinedPublic

Description

Whenever a repository changes state, the relevant pages in git.wikimedia.org should be purged from Varnish. Currently cache expiration is not tied to Git activity, with the consequence that git.wm.o views are often stale.

This could be accomplished by writing a small tool that subscribes to Gerrit's event stream (like grrrit-wm). On each merged commit, the tool would construct the set of URLs that need to be updated, and purge them from Varnish.


Version: wmf-deployment
Severity: enhancement

Details

Reference
bz57340

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:30 AM
bzimport added a project: Gerrit.
bzimport set Reference to bz57340.
bzimport added a subscriber: Unknown Object (MLST).
greg lowered the priority of this task from High to Medium.Sep 10 2015, 9:00 PM
greg set Security to None.
demon claimed this task.
demon subscribed.

We'll kill gitblit instead.