Repository navigation
test+app: finish #14513 fixture sweep; migrate introduction-goal decode to generated client - #14533
Merged
Git-on-my-level merged 1 commit intoSep 18, 2026
Conversation
…ion-goal decode to generated client
Git-on-my-level
added a commit
that referenced
this pull request
Sep 18, 2026
…t tripwire (round 3) (#14537) ## Failure-Class Failure-Class: FC-fixture-mock-signature-drift ## Summary Round-3 completion of the #14513/#14485 CI-green restoration (rounds 1–2: #14528, #14533). Three remaining main-wide shard-2 failures: 1. `test_geocoding_cache.py` (13 failures): #14485's keyless-geocode guard returns `None` before the API call when `GOOGLE_MAPS_API_KEY` is unset, so every API-path test now exercises a dead path. Added an autouse fixture setting a dummy key; the explicit no-key cache-hit test keeps its own `clear=True` override, preserving its intent. 2. `test_free_tier_cohort.py::test_coordinator_sites_still_read_the_flag_without_a_uid`: the test documented its own deletion condition ("if the calls now carry uid, delete it and the gap note together") — #14513 met it (both call sites now pass `uid`). Deleted per its docstring, with the now-unused `re` import. 3. `test_gateway_resilience.py`: passes standalone (3/3) — shard-pollution follower, expected green once the real failures clear. ## Verification - All three files: 74 passed from `backend/` - Full sweep of every previously red file this program touched: green ## Product invariants affected - INV-DATA-1 Preserved: test-only changes plus one autouse test fixture; no production behavior, routing, or project binding touched. <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/14537?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
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
Failure-Class: FC-fixture-mock-signature-drift
Summary
Round-2 completion of the #14513 fixture sweep (first round: #14528, one file). Remaining 0-arg lambda mocks of
free_tier_local_processing_enabled(uid)intest_client_processing_finalize.py(1 site, via_enable_flag) andtest_client_processing_acceptance.py(2 sites) still raisedTypeError: <lambda>() takes 0 positional arguments but 1 was givenat process_conversation.py:2629 — the redBackend unit shard 3/4on every open PR.Also fixes the schema-inventory ratchet break: #14514 added
createIntroductionGoal(app/lib/backend/http/api/goals.dart) decoding its response via rawGoal.fromJson(json.decode(...)); migrated to the generated-backed decode (Goal.fromGenerated(wire.GeneratedGoalResponse.fromJson(_goalJsonWithDefaults(...)))), mirroring the adjacentcreateGoalin the same file —test_app_client_schema_inventory.py::test_inventory_openapi_route_response_decode_migration_completeis green again.Change
lambda: X→lambda *_: X(same pattern as test: free_tier_local_processing_enabled fixtures take uid (fixes main, follows #14513) #14528; preserves each site's flag intent)Verification
backend/: test_client_processing_finalize, test_client_processing_acceptance, test_free_tier_entrypoint_matrix, test_app_client_schema_inventory, test_conversation_discard_parsing/jit_processing/model_split/recordings_purge, test_frame_request_agent_tool — 400+ passed, 0 failedProduct invariants affected
Preserved: the Dart change keeps the identical wire model and endpoint (
POST /v1/goals/canonical); it only routes the response through the generated schema decoder mandated by the inventory contract. Test changes are mock-arity only.