Automattic / Automattic/cron-control-runner

Handle "expected" cron errors

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
20
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Errors like `Error: No resources available to run the job with action...` will occur when a job is attempted to be run but application-level currency locks stopped it and returned early.

This is not a true error, as it's expected to some degree. So we should better handle these, and perhaps provide a more customized metric for keeping an eye on them.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the code that emits `No resources available to run the job with action...` and tracing how application-level currency locks return early during a job attempt. Determine how expected cases are currently reported and what metric behavior is required; the work is done when these cases are handled distinctly without being treated as true errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.