Page MenuHomePhabricator

Do not create default Flow templates in CI
Closed, ResolvedPublic

Description

As pointed out in T389863#10671903, the 8 templates that Flow creates during MW installation can make other tests slower: not only the creation of the templates themselves, but also any jobs associated with those pages. This wouldn't necessarily be bad per se, but it becomes problematic when these templates are also not used in any tests, so they slow things down for nothing. So, my proposal is that we gate the template creation behind a check to see if we're running inside quibble (MW_QUIBBLE_CI).

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change #1130753 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[mediawiki/extensions/Flow@master] maintenance: do not create Flow templates in tests

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

Change #1130753 merged by jenkins-bot:

[mediawiki/extensions/Flow@master] maintenance: do not create Flow templates in tests

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