Skip to content

Heat-to-target session healthcheck (Healthchecks.io alerting) #142

Description

@science

Deferred from the heat-to-target improvement backlog (the smart-approach-scheduling and watchdog work is now shipped).

What

When a heat-to-target session starts, create a Healthchecks.io check with a deadline at the expected completion time. On normal completion, ping it and delete it. If the session never completes (broken check chain, stuck heater), the check times out and Healthchecks.io alerts the user.

Why

Smart approach scheduling + the watchdog cron reduce the chance of a runaway and provide automated remediation, but there is still no user-facing alert if a heating session misbehaves. This adds observability/alerting on top of the existing safety nets.

Notes

  • Reuse the existing HealthchecksClientInterface / HealthchecksClient (already wired for cron-job monitoring).
  • Tie creation to TargetTemperatureService::start() and teardown to session completion / stop().
  • Complements (does not replace) the watchdog cron.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions