Page MenuHomePhabricator

Enable integration testing in CI
Open, MediumPublic

Description

The MediaModeration extension will be doing requests to external providers in order to assess whether the media contains child abuse.

The extension is covered well with unit tests, however, it would be interesting to explore if we could enable an integration test running in CI hitting the real cloud provider. Currently a test like this exist but it skipped.

Questions for Release-Engineering-Team :

  1. There are pros and cons of doing an integration test with hitting real external service, do we have a policy or already made decision regarding this?
  2. Is it even possible in our CI infrastructure?
  3. In case it is possible and desirable - we would need to make an api key available in CI via some secret management way - is that feasible?

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenNone
OpenNone