CSCfi / CSCfi/rems

Extend `/health` to return health of schedulers like last email sent and when the outbox poller last run.

Open
#2,723 1 comment 0 reactions 0 assignees View on GitHub
Enhancement Technical Debt
Dominant language
Clojure
Stars
66
Forks
28
Avg merge
7d 4h
Merged PRs (30d)
2

Description

Sometimes a fatal error can stop a scheduled job, like the email outbox poller.

We can extend the `/health` API to return the health of schedulers like have "last email sent" and "when the outbox poller last run".

Consider event notifications and entitlement pushes here too.

Contributor guide

Open the contributing guide

Research direction

Start at the /health API entry point and trace the scheduler implementations it reports. Inspect the email outbox poller, event notifications, and entitlement pushes to determine which health timestamps are available. Done means /health exposes the requested scheduler health details, including the last email sent and the last outbox poller run.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
api, backend, observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.