( ctx context.Context, taskRecord Task, run Run, actor ActorContext, message string, )
| 1326 | } |
| 1327 | |
| 1328 | func (m *Service) failRunAfterSessionStartError( |
| 1329 | ctx context.Context, |
| 1330 | taskRecord Task, |
| 1331 | run Run, |
| 1332 | actor ActorContext, |
| 1333 | message string, |
| 1334 | ) (*Run, error) { |
| 1335 | return m.failRunRecord(ctx, taskRecord, run, RunFailure{Error: message}, actor) |
| 1336 | } |
| 1337 | |
| 1338 | func validateRunningSessionBinding(run Run) error { |
| 1339 | if strings.TrimSpace(run.SessionID) == "" { |
no test coverage detected