Page MenuHomePhabricator

Only save/sync caches if something has changed
Open, Needs TriagePublic

Description

Today we always sync everything. Lets check if there's a way to skip syncing the data if nothing changed.

Event Timeline

Change #1289314 had a related patch set uploaded (by Phedenskog; author: Phedenskog):

[integration/config@master] castor: Skip save when /cache is unchanged

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

Change #1338086 had a related patch set uploaded (by Mhurd; author: Mhurd):

[integration/config@master] jjb: run npm cache verify at most once a day per cache

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

Change #1338389 had a related patch set uploaded (by Mhurd; author: Mhurd):

[integration/config@master] dockerfiles: keep npm debug logs out of the castor cache

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

Change #1338086 merged by jenkins-bot:

[integration/config@master] jjb: run npm cache verify at most once a day per cache

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

Change #1338389 merged by jenkins-bot:

[integration/config@master] dockerfiles: keep npm debug logs out of the castor cache

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

Change #1341713 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/config@master] jjb: update npm jobs to drop debug logs from cache

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

Mentioned in SAL (#wikimedia-releng) [2026-09-15T10:00:55Z] <hashar> Updating node based Jenkins jobs for https://gerrit.wikimedia.org/r/c/integration/config/+/1341713 | update npm jobs to drop debug logs from cache # T437376 T426741

Change #1341713 merged by jenkins-bot:

[integration/config@master] jjb: update npm jobs to drop debug logs from cache

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

Change #1342041 had a related patch set uploaded (by Mhurd; author: Mhurd):

[integration/config@master] jjb: run extension browser tests without npm --prefix

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

Change #1342041 abandoned by Mhurd:

[integration/config@master] jjb: run extension browser tests without npm --prefix

Reason:

Superseded by the NPM_CONFIG_USERCONFIG approach in Hashar's comment: moving the npmrc to npm's user config fixes --prefix everywhere, including Wikibase's own nested npm --prefix calls, which this change would not have covered. Follow-up under T435975.

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