Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(globe_cli): Bad state no element error on deployment fixed #8

Merged
merged 4 commits into from
Dec 13, 2023
Merged

fix(globe_cli): Bad state no element error on deployment fixed #8

merged 4 commits into from
Dec 13, 2023

Conversation

kaziwaseef
Copy link
Contributor

Cli was showing the following error output on the deploy command in the latest version (0.0.1+1)

Screenshot 2023-12-12 at 4 19 35 PM

This PR fixes the bug

Description

There was a missing state deploying that was added to the DeploymentState enum and log handling was also added.

Type of Change

  • feat -- New feature (non-breaking change which adds functionality)
  • 🛠️ fix -- Bug fix (non-breaking change which fixes an issue)
  • ! -- Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 refactor -- Code refactor
  • ci -- Build configuration change
  • 📝 docs -- Documentation
  • 🗑️ chore -- Chore

@kaziwaseef kaziwaseef requested a review from Salakar December 12, 2023 14:24
@CLAassistant
Copy link

CLAassistant commented Dec 12, 2023

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@Ehesp Ehesp left a comment

Choose a reason for hiding this comment

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

Lgtm

Copy link
Contributor

@lesnitsky lesnitsky left a comment

Choose a reason for hiding this comment

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

there is a chance we get this error again, because firstWhere is still being used. It's worth improving Deployment.fromJson logic, so that the error is more descriptive.

@Salakar Salakar changed the title fix: Bad state no element error on deployment fixed fix(cli): Bad state no element error on deployment fixed Dec 13, 2023
@kaziwaseef kaziwaseef changed the title fix(cli): Bad state no element error on deployment fixed fix(globe_cli): Bad state no element error on deployment fixed Dec 13, 2023
@kaziwaseef kaziwaseef merged commit 6856942 into invertase:main Dec 13, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants