Skip to content

Verify deployments #503

@mmarchetti

Description

@mmarchetti

When deploying an app/api, access the app's direct URL at the end of deployment to verify that the app can start up successfully. Connect does not start a worker until there's an access, unless MinWorkers > 0.

When performing that access, tolerate certain HTTP errors - for example, the / endpoint in an API might expect a POST rather than a GET, or might expect parameters that aren't provided. But if you get back a 5xx code, that indicates a problem.

Also provide a --no-verify flag to allow opting out of this new behavior.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions