Skip to content

feat(crons): use max_runtime — immediate alert on error status + in_progress timeout #367

Open

Description

@ajianaz

Summary

max_runtime from monitor_config is parsed but unused: a job stuck in_progress or ending error is only caught by schedule+margin staleness, not flagged earlier.

Why

Catching hung/failed runs earlier is the point of crons monitoring. Feature gap identified in #364 security review.

Acceptance criteria

  • Monitor with status error alerts immediately (not waiting for schedule window)
  • in_progress exceeding max_runtime flips to a timed-out/missed state and alerts
  • Tests for both paths

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

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions