Skip to content
Source
Sign inSign up

Why an agent waits

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:

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:

CauseRowWhat to do
Screening holds the item.Will not runApprove the item in screening.
A ban holds the author. Only the spam agent runs.Will not runLift the ban in the Bans settings.
The security audit of this commit did not succeed.WaitsRetry the audit, start it from the Run agent menu, or push a new commit.
The audit found something suspicious or harmful.WaitsRead 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 runChange the triggers in the factory settings, or start the agent from the Run agent menu.
The files of the custom agents have errors.WaitsFix 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.ts show 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.