Commit cab60ae
The `JobHandler` TSDoc's "not yet wired" paragraph was inverted twice over by
#7072's landing: consuming a resolved `{ outcome: 'degraded' }` is no longer
discarded, and "safe because unread" no longer holds.
Re-measured against current main:
- cron-job-adapter.ts and interval-job-adapter.ts map a resolved `degraded`
outcome onto `execution.status = 'degraded'` / `execution.error`.
- db-job-adapter.ts settles the run as `degraded`, writes the reason to
`error` / `last_error`, and leaves `failure_count` flat.
- sys_job_run.status and sys_job.last_status both carry `degraded` in their
ObjectQL-enforced select vocabularies (#7072), pinned to stay in step with
JobExecutionStatus.
Rewrote the paragraph to state the wired behaviour, aligned in wording with
JobExecutionStatus's already-correct TSDoc in system/job.zod.ts rather than
inventing a third phrasing. The #5548/#6617 framing above stays untouched.
Prose only — no signature or type change (Clause-②: no).
No changeset: JSDoc/TSDoc block-comment change, not a Zod `.describe()` call
that feeds generated reference docs — same precedent as #10168, not #10173.
Claude-Session: https://claude.ai/code/session_016gcKVsiywU9CcS96S5t9qD
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 99f1f91 commit cab60ae
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
111 | 119 | | |
112 | 120 | | |
113 | 121 | | |
| |||
0 commit comments