Skip to content
Source
Sign inSign up

When a run fails or waits

Software factory / Start

When a run fails or waits

A row of the Factory panel on your issue or pull request says Failed, Skipped, Waits or Needs a maintainer. You want to know why, and what you can do about it.

4 min read

Under the row, the panel shows the reason and the next step. You see the same words as the maintainers. The run log is for maintainers only.

1. Read the reason

Read the reason and the next step under the row.

If the row says Failed, can retry, the cause can go away by itself. For example, the model provider was busy, or the run used all of its time. Source retries such a run once by itself, and the row shows the new run.

2. Retry the run

  1. If the row still shows a failed run, click Retry under the row.
  2. Read the line next to the button. It says Started a new run of and the name of the row.

You can retry only a run that failed for such a temporary cause. Your retry counts toward your daily runs.

Note

For any other cause, for example Key refused or Out of credits, the next step is for a maintainer, and Retry is not there for you. Ask a maintainer in a comment.

Why a run failed lists each cause.

Done

A run that failed for a temporary cause runs again, and its row shows the new result.

If a run says Skipped

  • Daily limit reached: you can start a set number of agent runs on a repository each UTC day. The default is 20. The limit starts again at midnight UTC. A skipped run does not start again by itself. A push on a later day starts the checks again, or a maintainer can retry the run now.
  • Spend cap reached: the owner of the project used the money that the forge pays for models this month. An admin of the project can raise the cap or add a model key.
  • No AI left this month or No container time left this month: the plan of the owner of the project has nothing left for this period. A maintainer can retry the run when the owner has more. See When nothing is left.

If an agent waits or will not run

A row says Waits or Will not run, and a notice at the top of the panel says why. For example:

  • "This item waits for a maintainer to approve it. The factory agents run after that."
  • "The security audit asked a maintainer to look at this pull request. The other agents wait for them."
  • "Some agents do not run on this item because of the factory settings of the repository."

If the security audit of your commit did not succeed, the other agents wait for it. When the audit failed for a temporary cause, you can retry it from its row.

A run can also wait for a container. Its row says Waiting, with the reason under it:

  • Waits for a free container. Other jobs use all of the containers now. The run starts when one is free.
  • Waits until the next UTC day. You used all of your CI container time for today.

If you have no write access to the project, these runs count toward your daily CI container time, with your CI jobs:

  • the agent jobs that run commands on your pull request
  • the runs of custom agents

See Pull requests from a fork.

If the panel says Needs a maintainer

The audit found something that a person must look at. The checks stop on this commit, and a maintainer reads your change. Your next push starts a new audit. This is not a ban.