Prerequisites and Troubleshooting
What a Task needs
Four things. Create Task checks them for you and names anything missing, with a link to fix it.
| You need | Notes |
|---|---|
| A runner in your AWS account | Tasks run on your own infrastructure. See Runner Installation. |
| It to be online | If you've nominated a default runner, that's the one that has to be up. |
| An LLM key | See LLM Providers. |
| Repositories the agent can push to | It needs permission to push branches and open pull requests. See Adding a Repository. |
Which provider? It follows the agent and the model: Codex needs your OpenAI key; Claude Code needs Anthropic — an API key or AWS Bedrock; opencode uses whichever provider serves the model you picked, so Anthropic or Bedrock for Claude models and OpenAI for GPT models.
Common problems
"Your runner isn't active." It hasn't checked in recently. Start it, give it a moment, then hit Refresh.
The Task gets all the way through and then fails. Almost always permissions: the agent wrote the code but couldn't push it or open the pull request. Reconnect the repository with permission to write code and open pull requests — installations set up before Tasks existed often only have read access, which is why it fails at the very end rather than the start.
It failed its own checks. Your build or tests didn't pass, so the agent committed nothing. That's deliberate. Read the log to see what broke, then re-run with feedback pointing at it.
The agent couldn't reach something. Agents run with restricted network access. If it was blocked, you'll see which host in both the run details and the pull request.
Add it under Org Settings → Agents → Allowed Hosts and re-run. Hostnames must be exact — no wildcards or IP addresses. Usually this is a private package registry or an internal API.
It's sitting there not starting. Normal if another Task is running — they go one at a time, oldest first. If nothing else is running, check your runner is online.
Nothing happened and there's no pull request. Check whether the repositories show No changes — the agent may have concluded nothing needed doing. Its summary will say why.
Re-run isn't available. One of the Task's pull requests has merged, so the Task can't be re-run: "This Task's change has merged (<repositories>), so it can't be re-run. Start a new Task for follow-up changes." Re-run stays available before a merge, and after a pull request was closed without merging.
"Roll back production" isn't offered. It's offered only while the Task's deploy is the latest on production. If the deployment has been deployed again since, roll back from the deployment's Builds tab instead. It also isn't available while a deploy is in progress, or when there's no earlier successful deploy to go back to. You won't see it if you can't read the deployment, and you won't see the button without the deployment's Rollback permission. See Roll back or revert.
"Not enough traffic to tell." Fewer than 50 requests reached each web service and static site in the 30 minutes after the deploy, so a change in errors couldn't be told apart from noise. Unhealthy targets, crashed tasks and failing GETs are still checked, and would have been reported. See Production watch.
"The production watch couldn't finish." Its summary line says why. When the section has View logs, the logs show what it read, including any number it couldn't read. A deploy that already went out isn't affected. See Production watch.
"Ended early." The deployment was rolled back or deployed again during the 30 minutes, so the watch stopped. See Production watch.
Who can do what
Tasks follow your roles and permissions. Creating, viewing, starting and deleting are separate, so a teammate might be able to see Tasks without being able to start one. Asking about a Task on its Ask tab needs the same permission as starting or re-running one.