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

Improve Developer CLI error handling for prerequisites and Azure subscription validation #665

Merged
merged 2 commits into from
Jan 5, 2025

Conversation

tjementum
Copy link
Member

Summary & Motivation

Fix an issue in the Developer CLI where missing prerequisites (e.g., NodeJS) resulted in the CLI exiting without any error message. The CLI now correctly identifies missing prerequisites and displays an error such as: NodeJS of minimum version 25.3.0 should be installed.

Additionally, a validation has been added to the configure-continuous-deployments CLI command to ensure that the selected Azure subscriptions for staging and production belong to the same tenant, preventing configuration errors.

Checklist

  • I have added tests, or done manual regression tests
  • I have updated the documentation, if necessary

@tjementum tjementum added the Bug Something isn't working label Jan 5, 2025
@tjementum tjementum self-assigned this Jan 5, 2025
Copy link

linear bot commented Jan 5, 2025

@tjementum tjementum merged commit 3afc8ac into main Jan 5, 2025
3 checks passed
@tjementum tjementum deleted the pp-295-cli-fails-if-prerequisite-is-not-installed branch January 5, 2025 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant