Skip to content

Commit c7144b6

Browse files
committed
docs(automation): jobs page states that install-local refuses a job body that does not bind
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016GiHYRmLSNWTfbX9gVQkpz
1 parent 7f4fd6c commit c7144b6

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎content/docs/automation/jobs.mdx‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,9 @@ export const CloseStaleTasksJob = defineJob({
170170
job's `body` through the same binder. A `handler` is code: it travels only in the
171171
artifact's runtime module, so it runs only on a boot that loads that module (a
172172
config, or `os start --artifact`). `os package install` therefore refuses a
173-
package whose enabled job has no `body`, with `422 VALIDATION_ERROR` and the
174-
remedy: give the job a `body`, or boot it with `os start --artifact`.
173+
package whose enabled job has no `body`, or a `body` that does not bind (an
174+
expression body, or one carrying `body.timeoutMs`), with `422 VALIDATION_ERROR`
175+
and the remedy: give the job a valid `body`, or boot it with `os start --artifact`.
175176
Uninstalling a package stops its scheduled jobs at once, and a reinstall whose
176177
new version drops a job stops that job.
177178
</Callout>

0 commit comments

Comments
 (0)