Skip to main content

Module jobs_edit

Module jobs_edit 

Source
Expand description

The Jobs tab’s editor RPCs (docs/specs/SPEC_JOBS_AND_TEMPLATES_2026_10_24.md §3.3, §5.1 “Dry run”, §5.2, §5.4):

  • jobs.get: one job’s definition, for Edit and Clone.
  • jobs.save: create a job, or edit one, from a definition. The operator’s own window only (operator_only): it may start workers (spawn), raise a cap and confirm a job on a provider that reports no cost, which nothing else can. It goes through the same create and edit code as the Schedule routes, as the operator.
  • jobs.dryrun: what a definition (or a stored job) would do, without starting an agent.
  • jobs.templates.update_diff: what accepting a template’s newer version would change in a job. Accepting is a jobs.save that names it.

Structs§

DryRunCaps
The figures that would apply (§5.3), in dollars.
DryRunFire
DryRunSecret
JobsDryRunRequest
JobsDryRunResult
JobsGetRequest
JobsGetResult
JobsSaveRequest
JobsSaveResult
JobsUpdateDiffRequest

Constants§

DRY_RUN_FIRES 🔒
How many fire times a dry run lists.
FIXED_FIELDS 🔒
A definition’s fields an edit can’t change: srv sets them.

Functions§

brief_of 🔒
changed_fields 🔒
The fields of sent that differ from the stored before, without the ones srv sets.
dry_run 🔒
dry_run_input 🔒
The definition a dry run reads and whether its trigger or action is being set (the rules a save would check), from the stored job and/or the sent definition, with its template applied.
get 🔒
local_time 🔒
at_ms as the zone tz reads it: Mon 2026-10-26 06:00 EDT.
register
save 🔒
saved 🔒
A create’s or edit’s answer as the RPC’s: the job it made, or why not.
stored 🔒
stored_job 🔒
target_of 🔒
update_diff 🔒