Alpha state. A platform designed for building enterprise-grade, multi-tenant products using Azure, .NET, React, TypeScript, Infrastructure as Code, etc.
Improve deployment reliability by ensuring that GitHub deployments to Azure fail if database migrations do not complete successfully. Previously, if a database migration failed, it only logged an error without impacting the deployment status. With this change, an exception is now thrown if a migration fails. This ensures that the GitHub Action deploying to Azure will fail, as it waits for the migration Worker to start up successfully before proceeding.
Checklist
[x] I have added a Label to the pull-request
[x] I have added tests, and done manual regression tests
[x] I have updated the documentation, if necessary
Summary & Motivation
Improve deployment reliability by ensuring that GitHub deployments to Azure fail if database migrations do not complete successfully. Previously, if a database migration failed, it only logged an error without impacting the deployment status. With this change, an exception is now thrown if a migration fails. This ensures that the GitHub Action deploying to Azure will fail, as it waits for the migration Worker to start up successfully before proceeding.
Checklist