You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Action items filtered by conversation_id + a due-date range still 500: two more undeclared Firestore indexes #10780
GET /v1/action-items accepts conversation_id alongside due_start_date/due_end_date, and the chat get_action_items tool passes both through to database.action_items.get_action_items. _apply_action_item_date_filters orders that due range ascending, so those calls need composite indexes that are neither declared in backend/database/firestore_index_registry.py nor deployed:
Probed prod Firestore directly (read-only, non-existent uid so no user data is read):
conversation_id + due range -> FailedPrecondition: 400 The query requires an index.
conversation_id + completed + due -> FailedPrecondition: 400 The query requires an index.
completed + created range -> OK (that composite is deployed)
gcloud firestore indexes composite list --project=based-hardware shows six action_items composites; neither conversation_id+due_at pair is among them.
Same failure class as #10777 (FC-undeclared-serving-query-index), split out because it adds two more composites to a hot collection rather than declaring one that prod already had to hand-create. #10777's fix declares (completed ASC, due_at ASC) and adds the behavioral guard in backend/tests/unit/test_firestore_query_contract.py; extending that guard to the conversation_id chains is what should force these to be declared.
Activity
fix(backend): declare the conversation-scoped action-item due-range i…
fix(backend): declare the conversation-scoped action-item due-range i…