Skip to content

🩺 Add Health Check and Sessions Endpoints #925

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

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

aacic
Copy link
Collaborator

@aacic aacic commented Apr 23, 2025

This PR introduces the healthcheck endpoint and the sessions endpoint.

The purpose of the healthcheck endpoint is to tell if the TileServer is running.

The purpose of the sessions endpoint is to return a mapping of all active sessions and their loaded Whole Slide Images (WSIs).

@aacic aacic requested a review from shaneahmed April 23, 2025 16:19
Copy link

codecov bot commented Apr 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.70%. Comparing base (bae6c2e) to head (1fbf80e).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #925   +/-   ##
========================================
  Coverage    99.70%   99.70%           
========================================
  Files           71       71           
  Lines         8848     8859   +11     
  Branches      1154     1156    +2     
========================================
+ Hits          8822     8833   +11     
  Misses          23       23           
  Partials         3        3           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@shaneahmed shaneahmed changed the title Add healthcheck and sessions endpoints 🩺 Add Health Check and Sessions Endpoints Apr 24, 2025
@shaneahmed shaneahmed added the enhancement New feature or request label Apr 25, 2025
@shaneahmed shaneahmed added this to the Release v1.7.0 milestone Apr 25, 2025
@shaneahmed shaneahmed requested a review from measty April 25, 2025 15:04
aacic and others added 2 commits April 28, 2025 09:22
Fix docs.

Co-authored-by: Shan E Ahmed Raza <13048456+shaneahmed@users.noreply.github.com>
Fix docs.

Co-authored-by: Shan E Ahmed Raza <13048456+shaneahmed@users.noreply.github.com>
@aacic aacic requested a review from shaneahmed April 28, 2025 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants