Skip to content

Invoke Cron: Add pending jobs check #881

@vprashrex

Description

@vprashrex

Is your feature request related to a problem?
The invoke-cron.py script is missing the /api/v1/cron/pending-jobs endpoint call, preventing pending job monitoring from being triggered.

Describe the solution you'd like

  • Update invoke-cron.py to include calls to both /api/v1/cron/evaluations and /api/v1/cron/pending-jobs on each cycle.
  • Ensure Sentry shows healthy check-ins for pending-jobs-monitor.
Original issue

Describe the bug
A clear and concise description of what the bug is.
invoke-cron.py changes was missing the /api/v1/cron/pending-jobs endpoint call. The script changes were never pushed in the previous PR, so the pending job monitoring cron was never being triggered.

Expected behavior
A clear and concise description of what you expected to happen.
invoke-cron.py calls both /api/v1/cron/evaluations and /api/v1/cron/pending-jobs on each cycle. Sentry shows healthy check-ins for pending-jobs-monitor.

Additional context
Add any other context about the problem here.
Server-side implementation (/cron/pending-jobs endpoint) was correctly added in the previous PR. Only the client-side cron script update was accidentally left out of that PR.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

Status

In Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions