From 9aabfb9cdcced469f6caf9511c89c97244b58dfc Mon Sep 17 00:00:00 2001 From: think-back <71199016+think-back@users.noreply.github.com> Date: Mon, 7 Sep 2026 23:00:58 +0800 Subject: [PATCH] Keep staging website health checks on the serving port Constraint: The staging website listens on port 4000 while Cloud Run had inherited a stale liveness port. Rejected: Rely on Terraform to repair the probe | The service lifecycle intentionally ignores probe changes. Confidence: high Scope-risk: narrow Directive: Keep the staging deploy probe aligned with the website container port. Tested: staging workflow deployment succeeded with liveness on port 4000; git diff --check Not-tested: Main is not deployed by this staging-only workflow change --- .github/workflows/gcp-deploy-website-staging.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/gcp-deploy-website-staging.yml b/.github/workflows/gcp-deploy-website-staging.yml index 705281e5b..d33597341 100644 --- a/.github/workflows/gcp-deploy-website-staging.yml +++ b/.github/workflows/gcp-deploy-website-staging.yml @@ -162,6 +162,7 @@ jobs: --region="${REGION}" \ --image="${{ needs.build.outputs.image_uri }}" \ --port=4000 \ + --liveness-probe=httpGet.path=/,httpGet.port=4000,periodSeconds=30,timeoutSeconds=5,failureThreshold=3 \ --revision-suffix="${revision_suffix}" \ "${env_args[@]}" \ --quiet