Problem Statement
During the lifetime of a route, various things can happen: the tunnel connection can be lost, a user's access can be revoked invalidating their routes, etc. A periodic check of the route and it's status are necessary to handle these cases.
Proposed Solution
Add a background task that queries the associated route, reviews its status and responds accordingly. The most common initial case is that the connection to piko closes, transitions the route state to DOWN, and needs to be reopened. In the future, this background task will be where token rotation gets implemented
Exit Criteria
Problem Statement
During the lifetime of a route, various things can happen: the tunnel connection can be lost, a user's access can be revoked invalidating their routes, etc. A periodic check of the route and it's status are necessary to handle these cases.
Proposed Solution
Add a background task that queries the associated route, reviews its status and responds accordingly. The most common initial case is that the connection to
pikocloses, transitions the route state toDOWN, and needs to be reopened. In the future, this background task will be where token rotation gets implementedExit Criteria
Nattempts, shutdown)