https://gerrit.wikimedia.org/r/c/mediawiki/core/ /768837 caused a breakage in GrowthExperiments (T303251). That would have been caught by GrowthExperiments's API testing tests, but those are not run in core's API testing job. It seems like in core's gate-and-submit we do run QUnit/Selenium tests for all enabled extensions/skins, so it would make sense to me to do the same for api-testing tests as well.
Description
Related Objects
- Mentioned In
- T303251: Error: exception of type Error: Cannot unpack array with string keys
- Mentioned Here
- T365676: [REPO][SW] Ensure api-testing MediaWiki extension tests pass when temp account feature flag is enabled
T365647: Ensure api-testing MediaWiki core tests pass when temp account feature flag is enabled
T303251: Error: exception of type Error: Cannot unpack array with string keys
Event Timeline
Adding missing MediaWiki-Core-Tests code project tag as Core Platform Team Initiatives (API Integration Tests) team tag is archived and its parent Platform Engineering team does not exist anymore
Bumping this request. This would be quite useful in order to verify extension functionality that is covered via api-testing tests when temp accounts are enabled, see T365676: [REPO][SW] Ensure api-testing MediaWiki extension tests pass when temp account feature flag is enabled
I did this the boring/tedious way by creating DNM patches in each repo that has api testing tests defined. That's probably good enough for now, assuming that no regressions are introduced before we enable temp accounts in CI by default.
This task would still be nice to do some day, though, to avoid surprises and be consistent with how other test types (e.g. Selenium, PHPUnit) are run.
Temporary accounts is no longer relevant here, as CI has temporary accounts enabled by default.