(activation *taskRoleActivation, run taskpkg.Run)
| 618 | } |
| 619 | |
| 620 | func applyTaskRoleDesignation(activation *taskRoleActivation, run taskpkg.Run) { |
| 621 | if activation == nil { |
| 622 | return |
| 623 | } |
| 624 | designation, ok := taskpkg.DesignationFromRun(run) |
| 625 | if !ok { |
| 626 | return |
| 627 | } |
| 628 | activation.Designation = designation |
| 629 | activation.HasDesignation = true |
| 630 | } |
| 631 | |
| 632 | func taskRoleClaimCommand(capabilities []string) string { |
| 633 | args := []string{"agh task next --wait -o json"} |
no outgoing calls
no test coverage detected