Repository navigation
feat: front Cloud Run with the Cloudflare edge and request-based billing - #6
Merged
Merged
Conversation
Replace the proxied DNS steps with the Custom Domain cutover, keep the legacy load balancer IPs and certificate in the setup script until the follow-up change, and note the run.app URL stays public until then. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Run 5 validations per 2 GiB instance (4 in prod, 1 in dev/qa) with the JVM heap at 75%, document limits and the load test, and switch prod to the Worker after dev and qa. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
davidgamez
marked this pull request as ready for review
November 26, 2026 18:57
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@davidgamez Audit of this PR. AuditNothing blocking. The dev apply (run 45873907791) planned 2 to add, 1 to change, 0 to destroy: the Worth fixing
Nits
Checked, no change needed
|
Run 10 validations per 4 vCPU / 4 GiB instance (5 in prod, 1 in dev/qa) with a 90 s timeout and startup CPU boost. Runbook: budget alerts before the cutover, rollback step, key cleanup and rotation, cleanup for all environments. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 large feeds at once on 4 vCPU took up to 82 s against the 90 s timeout on dev. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cuts GBFS validator costs and bot exposure: Cloud Run switches to request-based billing, sized from load tests (4 vCPU, 4 GiB, JVM heap 75%, 5 validations per instance, 90 s timeout; 20 instances in prod, 1 in dev/qa), adds the
gbfs-edge-{env}invoker service account for the Cloudflare Worker, and turns off the built-in Swagger UI. The legacy load balancer stays behindlegacy_load_balancer_enabled(default true) until the cutover; a follow-up change removes it. Limits and runbook:docs/edge-cutover.md.Related: MobilityData/org-cloudflare-workers#19, MobilityData/gbfs-validator-java#211 (loader fix, needed before the cutover), MobilityData/gbfs-validator-java#210
🤖 Generated with Claude Code