Repository navigation
fix(ci): point the dev deploy smoke at development's real API host - #12274
Merged
Git-on-my-level merged 1 commit intoAug 27, 2026
Merged
Conversation
The manual development backend deploy ran its post-promotion smoke against https://api.omi.dev, which has never resolved: the omi.dev zone exists but the api record is NXDOMAIN, so smoke_what_matters_now.py could not reach anything and failed with "could not reach the deployed backend". That failed the deploy after traffic had already shifted and triggered the traffic restore, rolling the promotion back. Development's real public API host is api.omiapi.com, which matches the rest of the development domain family (parakeet.omiapi.com, nllb.omiapi.com, pusher.omiapi.com in backend/deploy/runtime_env/dev.overlay.yaml) exactly as production uses the omi.me family. It serves /ready 200 today. Making api.omi.dev real was rejected: the codebase already uses it as the canonical fake hostname in mobile production-routing tests, so giving it a live record would undermine those fixtures. This defect was introduced by 933fdf7 on the same day as the probe-signer defect fixed in BasedHardware#12264, and stayed invisible because the probe failed first. Run 33008079463 is the first development deploy to reach this step. The step is guarded to the manual development lane; the production smoke keeps its own api.omi.me path untouched. Co-Authored-By: Claude Fable 5 <[email protected]>
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.
Failure-Class: none
The reachable-host defect here is a plain wrong-constant bug, not a recurrence of a
registered class. FC-release-probe-signer-identity (declared on #12264) is about signer
identity for Firebase probe tokens and does not describe a smoke target hostname.
What is broken
The manual development backend deploy runs its post-promotion smoke as:
api.omi.devhas never resolved. Theomi.devzone exists (Route53 nameserversanswer) but the
apirecord isNXDOMAIN:So the smoke fails with
ERROR: What Matters Now smoke could not reach the deployed backend. Because this step runs after the traffic shift, it fails the deploy andtrips
Restore Cloud Run traffic snapshot after failed promotion, rolling thepromotion back.
This was introduced by
933fdf7d62— the same day as the probe-signer defect fixed in#12264 — and stayed invisible for six weeks because the probe failed first and the lane
never got this far. Run
33008079463 is the
first development deploy to reach this step.
The fix
Point the smoke at development's real public API host,
api.omiapi.com.That is development's host by the same convention production uses.
backend/deploy/runtime_env/dev.overlay.yamlputs the whole development domain family on
omiapi.com—api.omiapi.com,parakeet.omiapi.com,nllb.omiapi.com,pusher.omiapi.com— exactly mirroringprod.overlay.yaml'somi.mefamily. It is alsomobileBeta.defaultApiBaseUrlinapp/lib/env/environment_profile.dart. It serves/ready200 today:Making
api.omi.devreal was rejected. The codebase already uses it as thecanonical fake hostname in mobile production-routing fixtures
(
.github/scripts/test_check_mobile_production_routing.py,app/test/unit/env_test.dart),where it stands in for a URL that must be refused. Giving it a live record would
undermine those tests.
Scope
deploy_profile == 'manual' && environment == 'development'.https://api.omi.mepath, untouched.backend/tests/unit/test_smoke_what_matters_now.pyexists to pin this exact constant,so the two workflow-pinning assertions move to the corrected host. The script's own
unit-test fixtures deliberately keep
api.omi.devas a fake input.backend/.env.dev.templatecarried the same dead host onBASE_API_URL/API_BASE_URL;corrected for consistency. Nothing reads that file programmatically.
Proof
All 32 selected preflight checks pass locally. The real proof is the next manual
development deploy reaching a green smoke and keeping its promotion.
🤖 Generated with Claude Code