Lio李歐
Lio李歐
Ideally, we'd create DB snapshots, to avoid data loss, but for now (V1) we can simply detect redis/postgres/… and prompt and/or require `--force` or something like that.
This uses the deployment info from #171 and sends the logs to the AI debugging endpoint.
https://github.com/DefangLabs/defang/blob/f56ef1c6a53eb7d28c6f34df850ea03ffaf8d1cd/src/pkg/cli/cert.go#L241-L243
``` ? Do you agree to the Defang terms of service? Yes Error: protocol error: no Grpc-Status trailer: unexpected EOF $ defang version Defang CLI: v0.5.44 Latest CLI: v0.5.44 Defang...
``` $ defang generate ? Choose the language you'd like to use: Nodejs ? Choose a sample service: Generate with AI ? Please describe the service you'd like to build:...
`curl` could fail for many reasons, but the error is currently swallowed. We should provide more feedback to the user, possibly including the actual error message, eg. ```json {"message":"API rate...
This happens when some users are not very familiar with the Compose file syntax: during testing they'd comment out the environment variables, but not the actual `environment:` key, and the...