( requestKey string, designation contract.TaskFanOutRunDesignationRequest, index int, )
| 3313 | } |
| 3314 | |
| 3315 | func nativeFanOutDesignationIdempotencyKey( |
| 3316 | requestKey string, |
| 3317 | designation contract.TaskFanOutRunDesignationRequest, |
| 3318 | index int, |
| 3319 | ) string { |
| 3320 | if key := strings.TrimSpace(designation.IdempotencyKey); key != "" { |
| 3321 | return key |
| 3322 | } |
| 3323 | if key := strings.TrimSpace(requestKey); key != "" { |
| 3324 | return fmt.Sprintf("%s:%d", key, index) |
| 3325 | } |
| 3326 | return "" |
| 3327 | } |
| 3328 | |
| 3329 | func nativeFanOutDesignationRollupJSON(runs []taskpkg.Run) json.RawMessage { |
| 3330 | runIDs := make([]string, 0, len(runs)) |
no outgoing calls
no test coverage detected