Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
ci(release): publish the GitHub Release only after the image build (#389)
Yudhi Armyndharisb7455a32f464
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 7f162b952..5cbb42a07 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -39,7 +39,10 @@ jobs:release:name: GitHub Releaseruns-on: ubuntu-latest- needs: [test]+ # Gate the public Release on a successfully built+pushed image, so a tag never produces a GitHub+ # Release without a matching container image (the docker job also builds the dashboard, which the+ # test gate above does not). Trades a few minutes of buildx latency for release/image consistency.+ needs: [test, docker]steps:- uses: actions/checkout@v6with:diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 708ff6b0f..132364483 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0## [Unreleased]+### Changed++- **A published GitHub Release now waits for the container image build.** The release workflow's+ GitHub Release job now depends on the Docker image job, so a `v*` tag can no longer publish release+ notes without a matching multi-arch image on GHCR. A failed image build leaves the tag without a+ Release until the workflow is re-run. (#389)+### Fixed- **Dashboard collapses duplicate connection-lost toasts during a reverse-proxy outage.** When thediff --git a/docs/09-testing-strategy.md b/docs/09-testing-strategy.mdindex 72ee49bde..d1c16e4c9 100644--- a/docs/09-testing-strategy.md+++ b/docs/09-testing-strategy.md@@ -142,8 +142,9 @@ CI is defined in `.github/workflows/ci.yml`.| `build` | backend build after lint/test/dashboard jobs pass || `docker` | multi-arch Docker build and push on branch pushes |-Release tags run `.github/workflows/release.yml`, which gates release and Docker publishing behind tests-and build.+Release tags run `.github/workflows/release.yml`, which gates Docker publishing behind tests and build,+and publishes the GitHub Release only after the image build succeeds — so a tag never ends up with+release notes but no matching multi-arch image.## 09.7 Testing Guidelines