Detect and alert on stuck jobs #46

Merged
steve merged 2 commits from fix-issue-41-stuck-job-alerts into main 2026-08-22 10:56:32 +01:00
Owner

Fixes #41.

  • detects running jobs with no persisted activity beyond kind-appropriate thresholds
  • raises one deduplicated job_stuck alert per job and resolves it on terminal state or reconciliation
  • includes start and last-activity timestamps in the alert
  • exposes stuck-job count and oldest inactivity age as Prometheus gauges
  • covers detection, recent activity, deduplication, recovery, resolution, and rendering
Fixes #41. - detects running jobs with no persisted activity beyond kind-appropriate thresholds - raises one deduplicated job_stuck alert per job and resolves it on terminal state or reconciliation - includes start and last-activity timestamps in the alert - exposes stuck-job count and oldest inactivity age as Prometheus gauges - covers detection, recent activity, deduplication, recovery, resolution, and rendering
steve added 1 commit 2026-08-22 10:52:20 +01:00
Detect and alert on stuck jobs
CI / Test (rest) (pull_request) Successful in 39s
CI / Test (store) (pull_request) Successful in 40s
CI / Lint (pull_request) Failing after 11s
CI / Build (linux/amd64) (pull_request) Successful in 8s
CI / Build (linux/arm64) (pull_request) Successful in 7s
CI / Build (windows/amd64) (pull_request) Successful in 25s
CI / Test (server-http) (pull_request) Successful in 1m39s
e2e / Playwright vs docker-compose (pull_request) Successful in 1m16s
2110c7dab4
steve added 1 commit 2026-08-22 10:53:55 +01:00
Close websocket handshake response in test
CI / Test (server-http) (pull_request) Successful in 5s
CI / Test (rest) (pull_request) Successful in 23s
CI / Lint (pull_request) Successful in 10s
CI / Build (windows/amd64) (pull_request) Successful in 7s
CI / Test (store) (pull_request) Successful in 41s
CI / Build (linux/amd64) (pull_request) Successful in 8s
CI / Build (linux/arm64) (pull_request) Successful in 6s
e2e / Playwright vs docker-compose (pull_request) Successful in 1m24s
750a06384b
steve merged commit 8fdf4a1bdf into main 2026-08-22 10:56:32 +01:00
steve deleted branch fix-issue-41-stuck-job-alerts 2026-08-22 10:56:32 +01:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: steve/restic-manager#46