Improve API by using it ourselves
https://medium.com/osldev-blog/our-first-eight-months-with-gitlab-2f447af92e50
"One of the things we like least about GitLab is their REST API. It’s awful to use. We’ve originally had a bot in our slack channel that was capable of triggering builds remotely. After our migration to use Environments to orchestrate deployments within our pipelines, we realised that the only way to manage the builds would be via the UI. I believe the GitLab team are currently working on an improved version of the pipeline API but don’t quote me on that. Improved and easier to use APIs is certainly somewhere we feel GitLab could improve."
Solution:
- Start using the API for all XHR requests
- Have Sidekiq use the API too, instead of directly using the DB