(scope toolspkg.Scope)
| 4524 | } |
| 4525 | |
| 4526 | func nativeOperatorActorContext(scope toolspkg.Scope) (taskpkg.ActorContext, error) { |
| 4527 | if scope.Operator { |
| 4528 | return taskpkg.DeriveDaemonActorContext("native-tools", "tool.registry") |
| 4529 | } |
| 4530 | return actorContextFromScope(scope) |
| 4531 | } |
| 4532 | |
| 4533 | func nativeAutonomyForeignRunTaskError(id toolspkg.ToolID, taskID string, runID string) error { |
| 4534 | message := fmt.Sprintf("run %q is not leased for task %q", strings.TrimSpace(runID), strings.TrimSpace(taskID)) |
no test coverage detected