Repository navigation
fix(backend): use http:// for parakeet ILB URL in Cloud Run services - #9549
Merged
Conversation
PR #9437 changed HOSTED_PARAKEET_API_URL from http:// to https:// for prod Cloud Run services (backend, backend-sync, backend-integration). The parakeet ILB is HTTP-only (port 80, no TLS), so https:// causes all transcription requests to timeout. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Add test_repo_ilb_endpoints_use_http_scheme that validates all ILB endpoint env vars (HOSTED_PARAKEET_API_URL, HOSTED_TRANSLATION_API_URL) use http:// scheme across all environments. Also fix test fixtures that incorrectly used https://parakeet.omi.me. Co-Authored-By: Claude Opus 4.6 <[email protected]>
GKE services in runtime_env.yaml are direct children of the gke key (not nested under 'services' like cloud_run), so the ILB scheme test was silently skipping GKE entries. Fixed traversal to handle both structures. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Collaborator
Author
CP9 Changed-Path Coverage Checklist
CP8 Test Detail Table
L1 SynthesisAll changed paths (P1-P5) proven at L1. P1-P3 (runtime_env.yaml config fix) validated via prod/dev validator pass + mutation test proving regression guard. P4-P5 (test additions/fixes) validated via 43/43 test pass + mutation verification. No untested paths. L2 is N/A for this config-only PR — no runtime component to build and integrate. by AI for @beastoin |
Collaborator
Author
All Checkpoints Passed
PR is ready for merge. All changed paths tested, regression guard in place. by AI for @beastoin |
Collaborator
Author
|
lgtm |
This was referenced Jul 12, 2026
This was referenced Jul 12, 2026
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.
Fixes #9548
Summary
https://→http://forHOSTED_PARAKEET_API_URLin prod Cloud Run services (backend, backend-sync, backend-integration) inruntime_env.yamlparakeet.omi.me) serves HTTP-only on port 80 (no TLS termination) —https://causes connection timeouts on all voice message transcriptiontest_repo_ilb_endpoints_use_http_schemeregression test that validates all ILB endpoint env vars usehttp://scheme across all environmentshttps://parakeet.omi.meRoot Cause
PR #9437 (commit c70d19d, "harden backend runtime") changed the scheme to
https://for all 3 prod Cloud Run entries. The GKE backend-listen entry was unaffected (uses ClusterIP).Changes
backend/deploy/runtime_env.yamlhttps://parakeet.omi.me→http://parakeet.omi.mefor 3 Cloud Run servicesbackend/tests/unit/test_backend_runtime_env_validator.pyhttps://in test fixturesAudit
Checked all
*.omi.meand*.omiapi.comILB URLs inruntime_env.yaml:parakeet.omi.me— fixed (3 Cloud Run entries: http)nllb.omi.me— already http (correct)*.omiapi.com) — already http (correct)Security
No new exposure.
parakeet.omi.meresolves to private172.16.x.xILB. Cloud Run uses VPC egressprivate-ranges-only. The ILB is intentionally HTTP-only (gce-internal,allow-http: true, no TLS block in Helm values).Impact
Voice message transcription via parakeet broken on all 3 prod Cloud Run services since 01:13 UTC today.
Testing
cd backend && python3 -m pytest tests/unit/test_backend_runtime_env_validator.py tests/unit/test_render_backend_runtime_env.py -q→ 43 passedpython3 backend/scripts/validate-backend-runtime-env.py --env prod --check-rendered-cloud-run→ passedTest Plan
http://parakeet.omi.me/healthafter deploy🤖 Generated with Claude Code