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

Function sampleTaskSummaryRecord

internal/cli/task_test.go:2743–2759  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2741}
2742
2743func sampleTaskSummaryRecord() TaskSummaryRecord {
2744 return TaskSummaryRecord{
2745 ID: "task-1",
2746 Identifier: "OPS-42",
2747 Scope: taskpkg.ScopeWorkspace,
2748 WorkspaceID: "ws-alpha",
2749 ParentTaskID: "task-root",
2750 NetworkChannel: "builders",
2751 Title: "Investigate flaky task runs",
2752 Status: taskpkg.TaskStatusReady,
2753 Owner: &taskpkg.Ownership{Kind: taskpkg.OwnerKindPool, Ref: "triage"},
2754 CreatedBy: taskpkg.ActorIdentity{Kind: taskpkg.ActorKindHuman, Ref: "local-user"},
2755 Origin: taskpkg.Origin{Kind: taskpkg.OriginKindCLI, Ref: "tasks.create"},
2756 CreatedAt: fixedTestNow,
2757 UpdatedAt: fixedTestNow,
2758 }
2759}
2760
2761func sampleTaskRecord() TaskRecord {
2762 return TaskRecord{

Calls

no outgoing calls

Tested by

no test coverage detected