()
| 2759 | } |
| 2760 | |
| 2761 | func sampleTaskRecord() TaskRecord { |
| 2762 | return TaskRecord{ |
| 2763 | ID: "task-1", |
| 2764 | Identifier: "OPS-42", |
| 2765 | Scope: taskpkg.ScopeWorkspace, |
| 2766 | WorkspaceID: "ws-alpha", |
| 2767 | ParentTaskID: "task-root", |
| 2768 | NetworkChannel: "builders", |
| 2769 | Title: "Investigate flaky task runs", |
| 2770 | Description: "Capture root cause", |
| 2771 | Status: taskpkg.TaskStatusReady, |
| 2772 | Owner: &taskpkg.Ownership{Kind: taskpkg.OwnerKindPool, Ref: "triage"}, |
| 2773 | CreatedBy: taskpkg.ActorIdentity{Kind: taskpkg.ActorKindHuman, Ref: "local-user"}, |
| 2774 | Origin: taskpkg.Origin{Kind: taskpkg.OriginKindCLI, Ref: "tasks.create"}, |
| 2775 | CreatedAt: fixedTestNow, |
| 2776 | UpdatedAt: fixedTestNow, |
| 2777 | Metadata: json.RawMessage(`{"priority":"high"}`), |
| 2778 | } |
| 2779 | } |
| 2780 | |
| 2781 | func sampleTaskBlockRecord() TaskBlockRecord { |
| 2782 | return TaskBlockRecord{ |
no outgoing calls
no test coverage detected