MCPcopy Create free account
hub / github.com/compozy/agh / StartTask

Method StartTask

internal/task/manager.go:643–650  ·  view source on GitHub ↗

StartTask enqueues one executable run for an already-created task.

(
	ctx context.Context,
	id string,
	req ExecutionRequest,
	actor ActorContext,
)

Source from the content-addressed store, hash-verified

641
642// StartTask enqueues one executable run for an already-created task.
643func (m *Service) StartTask(
644 ctx context.Context,
645 id string,
646 req ExecutionRequest,
647 actor ActorContext,
648) (*Execution, error) {
649 return m.executeTaskBoundary(ctx, id, req, ExecutionActionStart, actor)
650}
651
652// ApproveTask records one approval decision for a manual-approval task that is
653// currently awaiting a decision, then enqueues the approved run.

Callers

nothing calls this directly

Calls 1

executeTaskBoundaryMethod · 0.95

Tested by

no test coverage detected