Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Health check #52

Merged
merged 2 commits into from
Oct 15, 2024
Merged

Health check #52

merged 2 commits into from
Oct 15, 2024

Conversation

rgaudin
Copy link
Member

@rgaudin rgaudin commented Oct 15, 2024

⚠️ this is not a typical endpoint!

This is an API endpoint, expecting to return HTTP 200 with a JSON document
describing the statuses of various parts of the project.

Storing Annotated inside a variable makes pyright unhappy and is less readable
⚠️ this is not a typical endpoint!

This is an API endpoint, expacting to return HTTP 200 with a JSON document
describing the statuses of various parts of the project.
@rgaudin rgaudin self-assigned this Oct 15, 2024
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 91.66667% with 3 lines in your changes missing coverage. Please review.

Project coverage is 70.13%. Comparing base (aa919b2) to head (63a3451).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
backend/src/mirrors_qa_backend/routes/health.py 82.35% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #52      +/-   ##
==========================================
+ Coverage   69.66%   70.13%   +0.47%     
==========================================
  Files          30       31       +1     
  Lines         946      971      +25     
  Branches       93       94       +1     
==========================================
+ Hits          659      681      +22     
- Misses        267      270       +3     
  Partials       20       20              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rgaudin rgaudin merged commit 98e566f into main Oct 15, 2024
5 checks passed
@rgaudin rgaudin deleted the health-check branch October 15, 2024 10:25
@rgaudin rgaudin linked an issue Oct 15, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Health Check API endpoint
2 participants