Repository navigation
fix(conversations-v3): import Home commit-stamp fields without loading the Firestore hook (main red after #25734) - #25739
Merged
Conversation
…an import-free module #25734 made conversations_v3 import home_feed_writer, which loads google.cloud.firestore_v1.types; isolated-router tests stub firestore_v1 as a non-package and fail. Production is unaffected. Failure-Class: FC-partition-depends-on-arrival-order Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Git-on-my-level
added a commit
that referenced
this pull request
Nov 19, 2026
…changes (#25739 follow-up) (#25742) ## Summary This is the follow-up from the #25739 panel (review-20261119t010333-6394, findings F1 and F3). **F1.** A change to `backend/database/conversations_v3.py`, `conversations_v3_processing.py`, `home_feed_writer.py` or `home_feed_fields.py` now selects the five isolated-router tests that #25734 broke without CI noticing: - `test_conversations_date_range_validation` - `test_conversations_merge_duplicate_guard` - `test_dev_api_lock_bypass` - `test_lock_bypass_fixes` - `test_recovery_rule_skip` These tests load `routers.conversations` fresh with `google.cloud.firestore_v1` stubbed as a non-package. The import graph never selects them for those modules, which is how main went red. The mapping is a new `AREA_TESTS` entry in `scripts/select_backend_unit_tests.py`. **F3.** `home_feed_writer` no longer re-exports `COMMIT_STAMPED_FIELDS`. The readback test now imports it from `database.home_feed_fields`, so it has a single import path. ## Verification - `select_backend_unit_tests.py --changed-files` with only `backend/database/conversations_v3.py` now selects all five. - `test_conversations_v3_commit_readback` passes. Failure-Class: none UI-Evidence: none -- backend CI selection and import path only 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/25742?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="View guided diff" src="https://www.cubic.dev/buttons/review-in-cubic-light.svg"></picture></a> <a href="https://www.cubic.dev/action/auto-fix/pr/BasedHardware/omi/25742?returnTo=https%3A%2F%2Fgithub.com%2FBasedHardware%2Fomi%2Fpull%2F25742&source=description" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"><img alt="Turn on auto-fix" src="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
shubhxho
pushed a commit
to shubhxho/omi
that referenced
this pull request
Nov 19, 2026
…eed changes; drop the re-export (BasedHardware#25739 panel) Failure-Class: none Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 19, 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.
Summary
Main went red after #25734.
database/conversations_v3.pyimportedCOMMIT_STAMPED_FIELDSfromdatabase/home_feed_writer.py, which importsgoogle.cloud.firestore_v1.typesat load time. That put the import on the chain routers/conversations → v3 summary → conversations_v3 → home_feed_writer.Isolated-router unit tests stub
google.cloud.firestore_v1as a plain module, not a package, so they fail withModuleNotFoundError: ... 'google.cloud.firestore_v1' is not a package. The affected files:test_conversations_date_range_validationtest_conversations_merge_duplicate_guardtest_dev_api_lock_bypasstest_lock_bypass_fixestest_recovery_rule_skipPR CI is graph-selected, so #25734 never ran them.
Production is unaffected, because the real package is installed.
Change
database/home_feed_fields.py.home_feed_writerre-exports it, so existing references keep working.conversations_v3imports it from the new module.Verification
All five files above pass locally, along with
test_conversations_v3_commit_readbackandtest_conversations_v3_claim_growth.Failure-Class: none
UI-Evidence: none -- backend import-only change
🤖 Generated with Claude Code