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.
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. 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.
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.- Open the application and select Configuration.
- Select Resources. The tab shows a count when items need your attention.
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.- On Configuration › Resources, find the blocking row. On the Overview, Is this wrong? links to it with Review it in Resources.
- Select Mark as not used.
- In the Mark … as not used in production? dialog, expand Technical details to see the evidence. Storage items also show Files can be lost.
- Select Mark as not used. Select Cancel to leave the finding as it is.
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 tolocalhost. 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 tolocalhost. 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.- On Configuration › Resources, find the row in Data services: Database, Redis cache, or File storage.
- Select the row’s action, such as Edit database, Add database, or Connect file storage.
- Select or clear the checkbox: Database required, Redis cache required, or File storage required.
- Select Save.
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.- Open the application.
- Open the More actions menu at the top of the page and select Re-analyze application.
- 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.
