Skip to main content

Module task_ref

Module task_ref 

Source
Expand description

The one way a CLI command turns a task id into a task, and into the state directory that holds its output. Every id form orch task inspect accepts works everywhere

Functions§

resolve
Resolve a task id against the store, using the project of the working directory
resolve_in
resolve against an explicit project, so tests do not read the operator’s config
resolve_store_id
Resolve a task id to its store row id
state_dir
~/.orch/state/<owner>/<repo>/tasks/<id> for a resolved task. Does not create it
state_dirs
A task’s own state dir and its review agent’s