Lesstep
GitLab · CI/CD pipelines · Checked October 28, 2026

GitLab: a pipeline that failed before any job ran

When GitLab cannot create the jobs of a pipeline, it can still save the pipeline as failed, with no jobs, a failure reason and an error message. The pipeline page then shows "Unable to run pipeline" with the message, and the reason is a sentence such as these (GitLab source: app/presenters/ci/pipeline_presenter.rb and app/views/projects/pipelines/show.html.haml, read on October 28, 2026):

The pipeline failed due to the user not being verified.
The pipeline size limit was exceeded.
The pipeline job activity limit was exceeded.
The pipeline failed due to an error on the CI/CD configuration file.

The reasons, and the message behind each

To read why a pipeline failed before any job ran: Pipelines and Jobs Inbox for GitLab CI, a plugin for JetBrains IDEs, shows under such a pipeline the messages GitLab gives (errorMessages), such as the configuration error, and the reason only when there are none.

What GitLab does not save

When rules leave out every job, when workflow:rules leave out the pipeline, when the commit was pushed with git push -o ci.no_pipeline, or when Gitaly was briefly unavailable, GitLab counts the failure but saves no pipeline, so these never appear as failed pipelines (pipeline failure reasons). A pipeline started through the API or with Run pipeline gets the message back instead; see why GitLab refused a pipeline.

A push made with a CI/CD job token saves no pipeline either. A job can push to its own project once a Maintainer or Owner selects Allow Git push requests to the repository under Settings > CI/CD > Job token permissions, and since GitLab 19.1 also to other projects that allow it. GitLab then refuses the pipeline with Pipeline creation is not allowed when pushing from CI jobs. This prevents infinite pipeline loops. and saves nothing. Only its application log records Pipeline creation blocked for CI job token push, so the pipelines page shows nothing. With that setting on, semantic-release signs in with the job token even when it is set up with a personal access token, so its release pipelines may not run. To get a pipeline for such a commit, start one with Run pipeline or the API (GitLab's job token documentation and abilities.rb).

Where the API keeps the message

query {
  project(fullPath: "group/project") {
    pipeline(iid: "123") {
      status
      failureReason
      errorMessages { nodes { content } }
    }
  }
}

What to do

GitLab pipelines in IntelliJ IDEA

Pipelines and Jobs Inbox for GitLab CI, a plugin by Lesstep for JetBrains IDEs 2024.1 or later, lists the pipelines of your GitLab projects with their jobs by stage. Under a pipeline that failed before any job ran, it shows the messages GitLab gives (errorMessages), such as "Identity verification is required in order to run CI jobs" or the configuration error, and the reason only when there are none. Before version 1.0.21, on GitLab 17.9 and later it showed only the reason, such as "The pipeline failed due to an error on the CI/CD configuration file." Reading is free; retrying, cancelling and running are Pro (US$1.50 a month, with a 30-day trial).

Get it on JetBrains Marketplace

GITLAB is a trademark of GitLab Inc.; IntelliJ IDEA is a trademark of JetBrains s.r.o. This page is not affiliated with or endorsed by GitLab Inc. or JetBrains.

More: GitLab pipeline or job refused (400, 403, 409, 429) · GitLab job dropped as stuck or over its timeout · GitLab job waiting for resource · GitLab "You are not authorized to run this manual job" · GitLab job log refused or empty · GitLab "This job does not have a trace." after 18.0 · GitLab "Insufficient permissions to set pipeline variables" · GitLab 404 "Group Not Found" · GitLab pipeline plugins for IntelliJ IDEA, compared · 日本語