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

Method GetTaskRun

internal/task/manager_test.go:1056–1062  ·  view source on GitHub ↗
(_ context.Context, id string)

Source from the content-addressed store, hash-verified

1054}
1055
1056func (s *inMemoryManagerStore) GetTaskRun(_ context.Context, id string) (Run, error) {
1057 run, ok := s.runs[strings.TrimSpace(id)]
1058 if !ok {
1059 return Run{}, ErrTaskRunNotFound
1060 }
1061 return cloneTaskRun(run), nil
1062}
1063
1064func (s *inMemoryManagerStore) ListTaskRuns(_ context.Context, query RunQuery) ([]Run, error) {
1065 if err := query.Validate("task_run_query"); err != nil {

Callers 2

ReserveQueuedRunMethod · 0.95

Calls 1

cloneTaskRunFunction · 0.85

Tested by

no test coverage detected