v1
Internal
Internal
Detect stalled run_jobs and surface them as Linear tickets
Changed onRun one stalled-job detection pass (JEEVY-900).
Called by the GitHub Actions cron. Nothing watched the job queue before this: on 2026-07-24 a job sat running for 3 days 4 hours with every health signal green, and it was found by accident.
Error posture — the two failure kinds are deliberately NOT symmetric:
- A Linear failure returns 200 with the counters. Filing is retryable (the claim survives with no issue id) and taking the endpoint down over it would convert a recoverable hiccup into a red herring.
- A detection failure returns non-200, always. If the query itself broke we do not know whether the queue is healthy, and answering 200 with stalledCount: 0 would assert exactly the false all-clear this endpoint exists to prevent. The cron step fails the run on any non-200, so a broken detector shows up as a red run rather than a quiet green one.
post/api/v1/internal/job-stalls
Request
- Base URLhttps://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Headers
X-Internal-Key, string nullable
Response
Successful Response
Job Stall Sweep Response required
Outcome of one sweep.
status, string
checkedAt, string required
stalledCount, integer
totalStalled, integer
truncated, boolean
newlyFiled, integer
escalated, integer
resolved, integer
unfiledBacklog, integer
aggregated, boolean
filingEnabled, boolean
filingBlockedReason, string nullable
unknownJobTypes, string[]
findings, Job Stall Finding[]
Changes
- info
endpoint added
- info