run

package
v0.2.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PreflightOK        = preflightpkg.OK
	PreflightContinued = preflightpkg.Continued
	PreflightAborted   = preflightpkg.Aborted
	PreflightSkipped   = preflightpkg.Skipped
	PreflightForced    = preflightpkg.Forced
)

Variables

This section is empty.

Functions

func Execute

func Execute(
	ctx context.Context,
	jobs []model.Job,
	runArtifacts model.RunArtifacts,
	runJournal *journal.Journal,
	bus *events.Bus[events.Event],
	cfg *model.RuntimeConfig,
	manager model.RuntimeManager,
) error

func ExecuteExec added in v0.1.9

func ExecuteExec(ctx context.Context, cfg *model.RuntimeConfig, scope model.RunScope) error

func IsExecErrorReported added in v0.1.9

func IsExecErrorReported(err error) bool

func SwapNewAgentClientForTest added in v0.1.11

func SwapNewAgentClientForTest(
	fn func(context.Context, agent.ClientConfig) (agent.Client, error),
) func()

SwapNewAgentClientForTest lets higher-level package tests replace ACP client construction without importing lower-level internal runtime packages.

func WriteExecJSONFailure added in v0.1.9

func WriteExecJSONFailure(dst io.Writer, runID string, err error) error

Types

type PersistedExecRun added in v0.1.9

type PersistedExecRun = execpkg.PersistedExecRun

func LoadPersistedExecRun added in v0.1.9

func LoadPersistedExecRun(workspaceRoot, runID string) (PersistedExecRun, error)

type PreflightConfig added in v0.1.7

type PreflightConfig = preflightpkg.Config

type PreflightDecision added in v0.1.7

type PreflightDecision = preflightpkg.Decision

func PreflightCheck added in v0.1.7

func PreflightCheck(
	ctx context.Context,
	tasksDir string,
	registry *tasks.TypeRegistry,
	isInteractive func() bool,
	force bool,
) (PreflightDecision, error)

func PreflightCheckConfig added in v0.1.7

func PreflightCheckConfig(ctx context.Context, cfg PreflightConfig) (PreflightDecision, error)

Directories

Path Synopsis
internal
Package recovery defines run recovery contracts and helpers.
Package recovery defines run recovery contracts and helpers.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL