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

# Analyze your application and read the results

> How Deployz analyzes your repository, what the three results mean, and how to review findings, resources, and re-analyze.

When you add an application, Deployz analyzes its repository to work out how to build, start, and host it. The analysis reads your files without building or running anything. It reports whether Deployz can deploy the application, and lists anything you need to set or change first.

This page explains how to read the result and what to do with it. If the analysis itself fails, see [Fix analysis problems](https://deployz.dev/docs/troubleshooting/analysis.md).

## How the analysis runs

The first analysis starts automatically when you add the application. Deployz reads the latest commit on the application's branch.

While it runs, the application **Overview** shows **Analyzing application** with "Reading your repository. This usually takes a minute." If it's still running after 2 minutes, the message changes to "Taking longer than usual. Wait, or re-analyze.", and the card offers **Re-analyze application**.

The analysis asks you something only when the evidence in your repository is unclear. For example, when a boot script runs your migration script, the analysis records that migrations run at startup instead of asking you how they run.

## Read the analysis result

When the analysis finishes, the **Overview** shows one of three results. The most serious required finding decides which one.

| Result | What it means | What you do |
| - | - | - |
| **Deployable without code changes** | Deployz can deploy the application. Anything left to do is a setting in Deployz, such as the port. | Enter the settings, then create a release. |
| **Deployable after repository changes** | Deployz can deploy the application after you change your repository, for example to stop writing files to the local disk. | Change the repository, push, and re-analyze. |
| **Not supported by Deployz** | The application needs a capability Deployz doesn't provide, such as MongoDB or a GPU. | Change the application so it no longer needs it. See [What Deployz doesn't support](https://deployz.dev/docs/prepare/not-supported.md). |

The analysis can't predict every build problem, because it doesn't build your code. Until a release builds successfully, **Deployable without code changes** shows "Not yet confirmed by a test deployment." If release builds have failed and none has passed, the result changes to **Deployable after repository changes** with "The release build failed." Select **Review failure details**, and see [Fix a failed build](https://deployz.dev/docs/releases/build-failures.md).

### Required and recommended findings

Each finding is either required or recommended:

* **Required.** You must resolve it before you can run a test deployment or deploy to customers. For some items you can instead [mark them as not used in production](#mark-a-blocker-as-not-used-in-production). On the **Overview**, the card shows a count such as **2 changes required before you can deploy**, with **Review required changes**.
* **Recommended.** It doesn't block a deployment, but it can cause problems later. Examples are confirming which Dockerfile Deployz builds, giving Deployz a way to update your database, and confirming a background worker, queue, or scheduled job.

When required changes are open, the **Overview** groups them by where you resolve them:

| Group | Where you resolve it |
| - | - |
| **Set in Deployz** | A setting in the Deployz dashboard, such as the port, the health check path, or how database migrations run. A missing start command is also listed here, but you set it in your repository. See [Analysis troubleshooting](https://deployz.dev/docs/troubleshooting/analysis.md#the-application-needs-input). |
| **Change in your repository** | A change you push to GitHub, such as adding a Dockerfile or listening on all network interfaces. |
| **Not supported** | A capability Deployz doesn't provide. A setting or a small change can't resolve it. If you know your application doesn't use it in production, you can [mark it as not used](#mark-a-blocker-as-not-used-in-production). |

If the analysis can't tell whether your application really needs an unsupported capability, it lists the item under **Change in your repository** instead of **Not supported**. This happens with SQLite when your application also has a PostgreSQL or MySQL driver.

When no required finding is open, the **Resources** tab on **Configuration** shows **No blocking issues** next to its heading.

### Health check

Deployz checks your application's health before it sends traffic to a new release. The analysis looks for a health route, such as `/health`, or a `HEALTHCHECK` in your Dockerfile.

If your application has no health route, Deployz checks `/` instead. Any response from `200` to `399` counts as healthy, so a redirect to a login or setup page passes. For an application that checks the `Host` header, `400` also counts. You don't need to answer a question about it.

The analysis asks you for the health check path only when it finds a health handler, such as a `HealthController`, but can't work out its route.

## Review the resources

**Who:** you (the vendor), in the Deployz dashboard.

1. Open the application and select **Configuration**.
2. Select **Resources**. The tab shows a count when items need your attention.

The **Resources** table lists what Deployz will run for each deployment, in four groups: **Application & runtime**, **Data services**, **Networking & HTTPS**, and **External integrations**. Each row shows its configuration, an estimated monthly AWS cost, and whether it's **Kept after removal**. To see the AWS resources behind a row, expand **Planned AWS resources**.

A row that needs you shows a label:

| Label | Meaning |
| - | - |
| **Change required** | A required finding. Deployz can't deploy until you resolve it. |
| **Recommended** | A recommended finding. It doesn't block a deployment. |
| **Needs input** | A question about your application that blocks a deployment until you resolve it, such as which command starts a background worker. |
| **Optional question** | A question about your application that doesn't block a deployment. |
| **Needs review** | Deployz couldn't determine this value. |

To resolve a row, use its action. Settings open an editor, such as **Fix port**. Other findings open [fix instructions for your coding agent](https://deployz.dev/docs/prepare/fix-findings.md) through **Get fix instructions**. A row that blocks a deployment and that you can dispute also has **Mark as not used**. A blocker appears once, on the row with its actions.

External services your application calls directly, such as Stripe, appear under **External integrations**. Deployz doesn't create them, and their usage is billed separately by the provider.

### See what was detected

Below the table, expand **Technical details**:

* **Detected components** lists each part of the application the analysis found. Each one is marked **Detected automatically**, or **Confirmed** when you set it yourself.
* The evidence for each detected fact, such as the file and reason for the port.
* **Checks completed** lists the checks your application passed.

## Mark a blocker as not used in production

If a blocking finding is a false positive, for example a MongoDB driver that only a development script uses, you can tell Deployz the application doesn't use it in production.

**Who:** you (the vendor), in the Deployz dashboard.

> [!WARNING]
>
> Deployz doesn't create the item you mark. If your application needs it, a test deployment fails. For storage items, files the application writes to its disk are lost when it restarts or updates, so confirm only if the application doesn't need them later.

1. On **Configuration** › **Resources**, find the blocking row. On the **Overview**, **Is this wrong?** links to it with **Review it in Resources**.
2. Select **Mark as not used**.
3. In the **Mark ... as not used in production?** dialog, expand **Technical details** to see the evidence. Storage items also show **Files can be lost**.
4. Select **Mark as not used**. Select **Cancel** to leave the finding as it is.

Deployz analyzes the application again and treats the item as answered. Your answer applies only to that item: the final review still runs, and a blocker of any other kind still blocks. Your answer then appears under **Your answers**. To withdraw it, select **Undo**, and Deployz analyzes again.

A vendor answer applies only while the analysis finds the same evidence. If the evidence changes, the answer shows **Evidence changed**: check it again. Re-analyzing keeps your answers while the evidence still matches.

### When Deployz asks you to confirm a finding

Some findings come from signs in your code rather than proof, such as files written to the local disk, a persistent volume, SQLite, or binding to `localhost`. If a final review finds signs that such a finding may not apply to your application, Deployz keeps the finding and adds a recommended item named **Confirm:** followed by the finding's name. Deployz doesn't remove a finding by itself.

Check the evidence under **Technical details**. If the application doesn't need the item in production, select **Mark as not used** on the original finding. If it does, make the change.

### Findings you can mark

You can mark these findings: MongoDB, Elasticsearch, other unsupported databases, SQLite, MariaDB, unsupported Redis setups, message brokers, several application services, persistent volumes, files written to the local disk, and binding to `localhost`. You can't mark a GPU requirement, an application that runs its own infrastructure, a missing Dockerfile, or a Dockerfile that copies `.git`. Every other check still runs.

## Choose which data services to create

The analysis decides whether your application needs a database, a cache, and file storage. If it got one wrong, change it.

**Who:** you (the vendor), in the Deployz dashboard.

> [!WARNING]
>
> This choice applies to new deployments only. Existing deployments keep the resources they were created with. To give an existing customer a database or cache they don't have, create a new deployment for them.

1. On **Configuration** › **Resources**, find the row in **Data services**: **Database**, **Redis cache**, or **File storage**.
2. Select the row's action, such as **Edit database**, **Add database**, or **Connect file storage**.
3. Select or clear the checkbox: **Database required**, **Redis cache required**, or **File storage required**.
4. Select **Save**.

The row then shows **Set by you**, with what the analysis detected. To go back to the detected value, open the editor again and select **Reset to detected**.

Every deployment gets an S3 bucket, whatever the **File storage** setting says. For what each data service includes, see [Databases, cache, and file storage](https://deployz.dev/docs/prepare/data-services.md).

## Re-analyze the application

Re-analyze after you push a change to your repository, after you fix GitHub access, or when the application shows **New analysis checks available** with "Re-analyze to see the current results."

**Who:** you (the vendor), in the Deployz dashboard.

1. Open the application.
2. Open the **More actions** menu at the top of the page and select **Re-analyze application**.

You can also start it from:

* The **New analysis checks available** notice, with **Re-analyze**.
* The [fix instructions dialog](https://deployz.dev/docs/prepare/fix-findings.md), with **Re-analyze application**.
* The **Overview** card, when an analysis failed, or when it's been running for more than 2 minutes.

**Re-analyze application** in the **More actions** menu is unavailable while an analysis is running.

Deployz analyzes the latest commit on the application's branch again. Settings you changed yourself, such as the port or the health check path, are kept. Settings you didn't change follow the new analysis. Your [not-used answers](#mark-a-blocker-as-not-used-in-production) are kept while their evidence still matches.

A new analysis doesn't change what your customers run. To deliver a code change, [create a release](https://deployz.dev/docs/releases/create.md) after the analysis passes.

## Next steps

* [Fix analysis findings](https://deployz.dev/docs/prepare/fix-findings.md)
* [Configure environment variables](https://deployz.dev/docs/prepare/environment-variables.md)
* [Create a release](https://deployz.dev/docs/releases/create.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.