Skip to main content
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.

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. 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. 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. 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: 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: To resolve a row, use its action. Settings open an editor, such as Fix port. Other findings open fix instructions for your coding agent 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.
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.
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.

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, 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 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 after the analysis passes.

Next steps