Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

[UNR-2735] Correctly report errors when cloud deployment fails to launch #1772

Conversation

improbable-valy
Copy link
Contributor

Contributions: We are not currently taking public contributions - see our contributions policy. However, we are accepting issues and we do want your feedback.


Description

DeploymentLauncher returned 0 if it failed to launch a deployment. We also weren't printing out the error output from DeploymentLauncher if there was stuff there (e.g. if the project name is wrong which causes the deployment list command to fail).

Primary reviewers

@MatthewSandfordImprobable @mironec

@improbable-prow-robot
Copy link

Corresponding JIRA ticket: https://improbableio.atlassian.net/browse/UNR-2735

@improbable-prow-robot improbable-prow-robot added jira/UNR size/XS Denotes a PR that changes 0-14 lines, ignoring generated files. labels Feb 5, 2020
CHANGELOG.md Outdated
@@ -20,6 +20,7 @@ Features listed in the internal section are not ready to use but, in the spirit

### Bug fixes:
- Replicated references to newly created dynamic subobjects will now be resolved correctly.
- Cloud deployment flow will now correctly report errors when a deployment fails to launch.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps could be more specific here? This does usually happen but now does for an additional failure case.

CHANGELOG.md Outdated Show resolved Hide resolved
@mironec
Copy link
Contributor

mironec commented Feb 5, 2020

I was thinking if a toast is better than a log, but this will show a failed to start toast, right? Then I guess it's natural to check the log afterwards.

@improbable-valy improbable-valy merged commit b321b82 into 0.8.1-preview-rc Feb 5, 2020
@improbable-valy improbable-valy deleted the bugfix/UNR-2735-false-success-on-missing-assembly-0.8.1 branch February 5, 2020 17:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
jira/UNR size/XS Denotes a PR that changes 0-14 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants