Lesstep
Forgejo · Codeberg · Actions runners · Checked November 22, 2026

Forgejo Actions: job stuck at "Set up job"

The job is shown as running, "Set up job" never gets a log, and after some time the job fails or is cancelled. The Forgejo runner issues describe a task that the server assigned to a runner but the runner never received or never started, so no log was reported. Fixes went into runner v12.5.3 and v12.7.1 and into Forgejo; the job then ends by a timeout of the instance. Update the runner, and start the job again.

What the issues report

To see which runner a queued job waits for: Pipeline Inbox for Forgejo and Gitea, a plugin for JetBrains IDEs, marks a job that waits for a runner as queued, keeps its log open so the first lines appear as soon as a runner takes it, and from version 1.0.1 shows the labels it asks for in runs-on.

The timeouts that end such a job

Forgejo's configuration reference, section [actions] (config cheat sheet), lists these. The values are the defaults of the documentation; an instance can set others.

What to do

  1. Look at the log of the runner for failed to fetch task or the unavailable: errors above. They show a fetch that failed on the runner's side of the connection.
  2. Update the runner to v12.7.1 or later (it contains the client side of the #1391 fix, and the v12.5.3 fix of #1302). The server side needs a Forgejo version that has pull request #11401, or on Codeberg its own deployment.
  3. Start the job again. In #1391 a reporter restarted failed jobs by hand after a Codeberg DoS; no other workaround is confirmed there.
  4. A job that waits and has not started at all is a different case: see No matching online runner with label.

Forgejo and Gitea Actions in IntelliJ IDEA

Pipeline Inbox for Forgejo and Gitea, a plugin by Lesstep for JetBrains IDEs 2024.1 or later, shows the runs of your Forgejo and Gitea repositories with their jobs and logs. A job that waits for a runner is marked queued in the jobs of its run, and its log stays open and follows it, so the first lines appear as soon as a runner takes the job. Since version 1.0.1 it also shows the labels the waiting job asks for (its runs-on). The runs, jobs and logs are free; re-running, cancelling and starting workflows are Pro (US$1.50 a month, with a 30-day trial).

Get it on JetBrains Marketplace

Forgejo, Gitea and Codeberg are names of their respective owners; IntelliJ IDEA is a trademark of JetBrains s.r.o. This page is not affiliated with or endorsed by the Forgejo project, Codeberg e.V., the Gitea project or JetBrains.

More: No matching online runner with label · "Cannot find: node in PATH" · actions/checkout "Not found." · Workflow dispatch refused · Job log expired · Forgejo Actions and Gitea Actions in JetBrains IDEs · 日本語