Runtime
The host-side runtime state of builds and pipelines — one observable tree under ~/.goga/runtime/, addressed and packaged by the goga runtime command group.
Every goga build and goga pipeline run writes its persistent state (run-state and logs) to a host directory that survives across runs, so an interrupted run can be resumed. The runtime domain is the host-side observer surface over exactly that state: it answers where the state of this project, this branch, this pipeline lives and turns one target of it into a portable archive. Which tasks it solves:
- Locate build artifacts —
goga runtime buildprints the build run-state directory of the current project and the effective branch: exactly one stdout line, nothing created, printable before anything has ever run. - Locate pipeline artifacts —
goga runtime pipeline NAMEprints the named pipeline's run-state directory, with the name sanitized exactly as the run sanitizes it (:becomes-) — the directory the run actually uses. - Address another branch's state — the group option
-b/--branch(placed before the subcommand token) replaces the git-derived branch segment, so the state of a deleted or other branch stays addressable without a checkout. - Package one target —
goga runtime archiveturns exactly one target (the build artifacts or one named pipeline's) into a single self-contained.tar.gzunder a wrapper root — a bug report, a backup before--clean, a transfer between machines.
The location identity is one shared formula — ~/.goga/runtime/<builds|pipelines>/<normalized-project>/<branch>/<pipeline>/ — resolved from the current working directory and the effective branch; the printed paths are exactly what the build and pipeline runs bind-mount. Every subcommand is host-side only: inside the goga image it refuses with a clean error.
In this directory
- CLI — the full
goga runtimecommand reference - Configuration — the domain reads no configuration section
- Hooks — the domain offers no hook points
- API — the
goga.commands.runtimepackage facade