Skip to content

Snapshot LB URL map: Stage 11 cutover to 100% Cloud Run#3773

Open
anth-volk wants to merge 1 commit into
masterfrom
feat/urlmap-snapshot-cloud-run-100
Open

Snapshot LB URL map: Stage 11 cutover to 100% Cloud Run#3773
anth-volk wants to merge 1 commit into
masterfrom
feat/urlmap-snapshot-cloud-run-100

Conversation

@anth-volk

Copy link
Copy Markdown
Collaborator

Records the load-balancer url-map weight change that flipped api.policyengine.org to 100% Cloud Run (bs-cloud-run=100 / bs-app-engine=0), imported 2026-07-23 ~23:33Z — the Stage 11 milestone of the PR 4 host cutover.

Verified after the flip

  • Readback: weights bs-app-engine=0 / bs-cloud-run=100
  • Live distribution: 24/24 sampled requests served by cloud_run (x-policyengine-backend)
  • Health: zero 502/503/504; the only 5xx are the pre-existing jsdom bot malformed /us/calculate-full 500s (below the pre-flip baseline rate)
  • Serving revision 00079-poq (warmup + max 8 / service-min 2 / concurrency 6 / 480s startup probe)

Rollback

App Engine stays deployed and warm as the rollback target through the soak — reverse the url-map weights to roll back in seconds.

⚠️ Note on merge: this PR carries a changelog fragment (required by check-changelog), so merging it triggers a release + full deploy. The code is unchanged, so it produces a functionally identical prod Cloud Run revision — low risk, but it is a deploy during the soak window. Merge whenever suits the soak (there's no rush; the snapshot is purely an audit-trail artifact).

🤖 Generated with Claude Code

Records the url-map weight change flipping api.policyengine.org to 100% Cloud
Run (bs-cloud-run=100 / bs-app-engine=0), imported 2026-07-23 ~23:33Z. Verified
after the flip: 24/24 sampled requests served by cloud_run, zero 5xx beyond the
pre-existing malformed-calculate bot noise. App Engine stays deployed and warm
as the rollback target through the soak.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Jul 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.63%. Comparing base (2ffa0b1) to head (2b3dc84).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3773   +/-   ##
=======================================
  Coverage   80.63%   80.63%           
=======================================
  Files          72       72           
  Lines        4394     4394           
  Branches      818      818           
=======================================
  Hits         3543     3543           
  Misses        622      622           
  Partials      229      229           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant