hypothesis / hypothesis/via

Status endpoint should confirm database connection is working

Open
#1,214 3 comments 0 reactions 0 assignees View on GitHub
project: video annotations
Dominant language
Python
Stars
29
Forks
13
PR merge metrics
No merged PRs in 30d

Description

We had an outage of the YouTube integration today because an infrastructure change stopped an instance of Via from connecting to its DB. We weren't alerted to the issue immediately because the status endpoint doesn't check the ability to connect to the DB, like the corresponding endpoints in h and lms do.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating Via's status endpoint and compare its database check with the corresponding endpoints in h and lms. Verify the endpoint detects when Via cannot connect to its database and reports an unhealthy status, then run the existing status or health-check tests if available.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.