Hello Release-Engineering-Team and @Ladsgroup -
We've been developing the Security API as a Node service that talks to a MediaWiki extension. The service is currently architected to connect to a production Wikimedia MySQL database, while using the standard mariadb image found at docker hub for local development and certain testing environments (within its docker-compose). In setting up a basic CI configuration for the Node service, we've come across difficulties in either mocking or using some test MySQL/Mariadb servers so that tests like the swagger/mocha set are run without generating errors. Are there any general best practices or examples you're aware of around this architecture pattern? I believe many of the existing Wikimedia Node services talk to APIs, which is a bit different than what we're doing here, so I'm not certain how common this need is. Any suggestions or help would be appreciated.