> ## Documentation Index
> Fetch the complete documentation index at: https://backstage.spotify.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Build Progress

> Track plugin build stages from queuing through completion, handle build failures, and monitor in-progress builds in Portal.

All plugin operations — install, update, and uninstall — trigger a build process. After starting an operation, Portal displays a build progress dialog that walks through the following stages:

<Note>
  Only one build can be in progress at a time. If you attempt to start a new
  operation while a build is already running, Portal will show the existing
  in-progress build instead.
</Note>

| Stage           | Description                               |
| --------------- | ----------------------------------------- |
| **Waiting**     | Build is queued and waiting to start      |
| **Analyzing**   | Analyzing package dependencies            |
| **Downloading** | Downloading packages                      |
| **Installing**  | Installing packages                       |
| **Building**    | Building Portal with the updated packages |
| **Saving**      | Saving build artifacts                    |
| **Complete**    | Build finished successfully               |

<Frame>
  <img
    src="https://mintcdn.com/spotify-89f50c35/O_uASSrC5KrVagGW/portal/assets/managing-plugins/install-in-progress.png?fit=max&auto=format&n=O_uASSrC5KrVagGW&q=85&s=f760315af83f8db23df3654178e81075"
    alt="Build progress dialog showing
stages"
    width="1784"
    height="1436"
    data-path="portal/assets/managing-plugins/install-in-progress.png"
  />
</Frame>

## Viewing an In-Progress Build

If you navigate away from the build dialog, you can return to it at any time. The Plugin Settings page displays a banner when a build is in progress — click **View** to reopen the build progress dialog.

<Frame>
  <img
    src="https://mintcdn.com/spotify-89f50c35/O_uASSrC5KrVagGW/portal/assets/managing-plugins/build-in-progress-button.png?fit=max&auto=format&n=O_uASSrC5KrVagGW&q=85&s=4abcd3ec578a4ef008f30ae2e4b9288e"
    alt="Plugin Settings banner showing an in-progress build with View
button"
    width="2282"
    height="1366"
    data-path="portal/assets/managing-plugins/build-in-progress-button.png"
  />
</Frame>

## If a Build Fails

If the build encounters an error, the dialog will display the failure reason along with any per-package error details.

<Frame>
  <img
    src="https://mintcdn.com/spotify-89f50c35/O_uASSrC5KrVagGW/portal/assets/managing-plugins/build-failed.png?fit=max&auto=format&n=O_uASSrC5KrVagGW&q=85&s=fabe64e4f218229705ce65bfa3fa1968"
    alt="Failed build showing error
details"
    width="1834"
    height="1230"
    data-path="portal/assets/managing-plugins/build-failed.png"
  />
</Frame>

From the error screen, you can:

* **Edit packages** — adjust package names or versions and retry the operation
* **Cancel** — discard the operation and return to Plugin Settings

## Cancelling a Build

You can cancel a build while it is in progress by clicking **Cancel** in the build dialog. You will be asked to confirm before the build is stopped.

<Frame>
  <img
    src="https://mintcdn.com/spotify-89f50c35/O_uASSrC5KrVagGW/portal/assets/managing-plugins/build-cancel.png?fit=max&auto=format&n=O_uASSrC5KrVagGW&q=85&s=2b7ef8c3bc43ea27cde19306289d51d1"
    alt="Cancel confirmation
dialog"
    width="1750"
    height="1468"
    data-path="portal/assets/managing-plugins/build-cancel.png"
  />
</Frame>
