platformplatform / PlatformPlatform

Alpha state. A platform designed for building enterprise-grade, multi-tenant products using Azure, .NET, React, TypeScript, Infrastructure as Code, etc.
https://platformplatform.github.io
MIT License
253 stars 26 forks source link

Ensure GitHub deployment fails if database migrations time out #612

Closed tjementum closed 2 weeks ago

tjementum commented 2 weeks ago

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

linear[bot] commented 2 weeks ago

PP-229 Deployment to production succeeds even if database migration fails

sonarcloud[bot] commented 2 weeks ago

Please retry analysis of this Pull-Request directly on SonarCloud