worker

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecParams

type ExecParams struct {
	IssueNumber int
	RepoRoot    string
	HTTPClient  *http.Client // nil means skip image downloading
}

ExecParams holds the parameters for executing a worker task.

type ExecResult

type ExecResult struct {
	WorkerBranch string
	NoOp         bool // true if no changes were needed
}

ExecResult holds the result of a worker execution.

func Exec

func Exec(ctx context.Context, p platform.Platform, ag agent.Agent, cfg *config.Config, params ExecParams) (result *ExecResult, err error)

Exec runs the full worker lifecycle: reads the issue, creates a worker branch, invokes the agent, pushes the branch, and updates labels.

Jump to

Keyboard shortcuts

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