Software factory / Runs
Why an agent waits
A row in the Factory panel says Waits or Will not run, and no run starts. A notice at the top of the panel says why, and what to do.
3 min read
You need:
- Write access, to read the exact cause. See Who reads the cause.
1. Read the notice
Open the issue or the pull request. Read the notice at the top of its Factory panel. It says why the agent waits or will not run.
2. Do what the cause needs
Find the cause in this table, and do what it says:
| Cause | Row | What to do |
|---|---|---|
| Screening holds the item. | Will not run | Approve the item in screening. |
| A ban holds the author. Only the spam agent runs. | Will not run | Lift the ban in the Bans settings. |
| The security audit of this commit did not succeed. | Waits | Retry the audit, start it from the Run agent menu, or push a new commit. |
| The audit found something suspicious or harmful. | Waits | Read the audit. If the change is safe, start the agents from the Run agent menu. |
| A trigger rule needs a role or a label that the item does not have. | Will not run | Change the triggers in the factory settings, or start the agent from the Run agent menu. |
| The files of the custom agents have errors. | Waits | Fix the file. The notice lists each error. |
To start an agent from the Run agent menu, see Start an agent run.
Done
You know what holds the agent, and what lets it run.
Who reads the cause
- People with write access read the exact cause and what to do.
- The errors of
.source/factory.tsshow to people with write access. The errors of files in the vault show to the admins of the repository. - The author of the item reads the cause when it is about the item, its audit or the ban of the author.
- Everyone else reads a general sentence.
Why a run waits
A row that says Waiting can have a reason under it. Everyone who can read the item sees it:
Waits for a free container. Other jobs use all the containers that this run may use now.Waits until the next UTC day. The author of this item used all of their CI container time for today.
The run starts by itself when a container is free, or on the next UTC day.