Expand description
Ergonomic re-exports of generated model types plus small helpers.
Structs§
- Build
- One run of a pipeline, identified by its pipeline-scoped number.
- Create
Build Request - Creates a build for a pipeline. Two paths: supply pre-rendered v0 IR
JSON in
pipeline_ir(thehm run/ API path), or omitpipeline_irto have the engine render the registered pipeline’s IR in a sandbox VM (decision #5 — rendering never happens on the API host). The IR is then parsed and planned in-process; on a plan/render rejection the build row is created with its error fields set and the request returns 422. - Create
Repo Build Request - Creates a build by addressing the pipeline through its repo-natural
identity —
repo_name(owner/repo) plussource_slug(the in-repo@hm.pipeline("…")name) — rather than the org-global slug. This is thehm runpath: a repo-local client knows its git remote and its pipeline name but not the namespaced slug. Build semantics are otherwise identical tocreateBuild. - Job
- One job (DAG node) of a build.
Functions§
- build_
is_ terminal - Whether a build state is terminal (no further transitions).
- job_
is_ terminal - Whether a job state is terminal.