google / exposure-notifications-verification-server

Verification component for COVID-19 Exposure Notifications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add enx-redirect tests to E2E

mariliamelo opened this issue · comments

TL;DR

Add tests inside E2E to verify enx-redirect is working properly.

Design

Proposal
The enx-redirect service is one of our core services where users can use it verify the code they have been issued.
We currently don't have a regular test suite that covers the enx-redirect service functionality on an ongoing basis.
Our E2E test simulates a mobile device uploading TEKs and tests the key functionality of the system, but currently it doesn't include any enx-redirect use cases.
This issue proposes adding enx-redirect tests to E2E in order to improve the observability of enx-redirect service.

Alternatives considered
We considered having an SLO to track the overall availability of the enx-redirect service, but due to skewed traffic to business hours and difficult in implementing different SLOs for different hours with the current monitoring system, we decided to drop the SLO implementation.

Resources

Additional information

The scaffolding for this is in. Still need to do edge testing and add monitoring/alerting.

Okay, this is done. The existing CloudSchedulerFailed alert will alert us if it starts failing.