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

Function validRun

internal/task/validate_test.go:618–629  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

616}
617
618func validRun() Run {
619 now := time.Date(2026, 4, 14, 12, 30, 0, 0, time.UTC)
620 return Run{
621 ID: "run-1",
622 TaskID: "task-1",
623 Status: TaskRunStatusQueued,
624 Attempt: 1,
625 Origin: Origin{Kind: OriginKindCLI, Ref: "agh task run enqueue"},
626 QueuedAt: now,
627 Result: json.RawMessage(`{"ok":true}`),
628 }
629}
630
631func validEvent() Event {
632 now := time.Date(2026, 4, 14, 13, 0, 0, 0, time.UTC)

Callers 3

Calls

no outgoing calls

Tested by

no test coverage detected