OpenSlides / OpenSlides/openslides-backend

Adjust health routes

Open
#3,274 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement low
Dominant language
Python
Stars
9
Forks
40
Avg merge
1d 22h
Merged PRs (30d)
19

Description

The health route for action and presenter do not conform to the new health route schema.

They currently return { "status": "running" }

  • They should return { "healthy": true , "service":"backend/Action" } for action and { "healthy": true , "service":"backend/Presenter" } for presenter
  • For production there should also be a Healthcheck added for manage return { "healthy": true , "service":"backend/Manage" }
  • The type should be application/json for each health route

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the health route implementations for action, presenter, and manage. Compare their current responses with the new health route schema, including the application/json content type, and check the relevant route tests or run the backend test suite. Done means all three routes return the specified healthy and service fields, with manage covered for production.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.