run_task
Execute a repository's build or test task with optional extra arguments and timeout. Tasks run on hardware when NPUs are available, otherwise route to a sim environment or return guidance.
Instructions
Run a configured task in a repository.
Build/test tasks are routed by NPU availability: with NPUs reachable they run on the host (allowed by policy); without NPUs they are re-routed into the sim Docker image for the repo (see _SIM_RUN), or refused with guidance when the repo has no sim image (e.g. PTOAS).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name from list_repositories(), e.g. "pypto" | |
| task | Yes | Named task key from list_tasks(). Use list_tasks(repo) to see available tasks and their metadata. | |
| extra_args | No | Extra arguments appended verbatim to the task command string, e.g. '--verbose -k test_foo' | |
| timeout_seconds | No | Execution timeout in seconds (1–7200). Long-running tasks may need 1800+. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||