You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(spec,platform-objects): add degraded to the job status vocabulary (#7072)
Executes the 2026-08-08 maintainer ruling on #5548 — one additional outcome
meaning "completed without accomplishing the work", and no enum family.
This is the consumer-side half of the `JobRunOutcome` producer shape #6617
shipped on `contracts/job-service.ts`.
Three declaration sites move together because the two platform-object selects
are enforced by ObjectQL's record validator (`invalid_option`) while
`DbJobAdapter.finishRun` swallows the rejection in a best-effort try/catch —
a value legal in the spec enum but absent from the selects is a silently
dropped write that strands the run row at `running`, not a type error.
- packages/spec/src/system/job.zod.ts — JobExecutionStatus + TSDoc
- packages/platform-objects/.../sys-job-run.object.ts — status select
- packages/platform-objects/.../sys-job.object.ts — last_status select
`degraded` is not a failure and never retries; its `reason` rides the existing
`error` / `last_error` columns with `failure_count` flat, and the TSDoc records
the cost of that (an "Error" column may carry a non-error note).
Also regenerated: i18n bundles (en/zh-CN/ja-JP/es-ES, translated rather than
left at the raw seed) and content/docs/references/system/job.mdx.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PiRUoQkTSBBmpyXBY3cVn2
0 commit comments