()
| 629 | } |
| 630 | |
| 631 | func validEvent() Event { |
| 632 | now := time.Date(2026, 4, 14, 13, 0, 0, 0, time.UTC) |
| 633 | return Event{ |
| 634 | ID: "evt-1", |
| 635 | TaskID: "task-1", |
| 636 | EventType: "task.created", |
| 637 | Actor: ActorIdentity{Kind: ActorKindHuman, Ref: "user-1"}, |
| 638 | Origin: Origin{Kind: OriginKindCLI, Ref: "agh task create"}, |
| 639 | Payload: json.RawMessage(`{"source":"cli"}`), |
| 640 | Timestamp: now, |
| 641 | } |
| 642 | } |
| 643 | |
| 644 | func validTaskRunIdempotency() RunIdempotency { |
| 645 | now := time.Date(2026, 4, 14, 13, 30, 0, 0, time.UTC) |
no outgoing calls
no test coverage detected