Skip to content

feat(research): Store fetched research pages in Qdrant - #6301

Merged
dan-petty merged 8 commits into
mainfrom
feat/3906-keep-research-results-in-qdrant
Nov 18, 2026
Merged

dan-petty merged 8 commits into
mainfrom
feat/3906-keep-research-results-in-qdrant

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Nothing stores the results of web research, so each round searches the same question again and a result is lost when a job ends (#3906). ADR 0028, accepted on 2026-11-17 (#3877), defines the research index: one Qdrant collection, one point for each fetched page, and six fields. The first plan of this item took fifteen fields from the issue, and the implement job returned the item to New (two names of its Adds: lines were already defined, and its review found a payload that the ADR does not define). This plan follows the ADR. It adds a research store over Qdrant with the six fields, a write that refreshes the dates of an unchanged page, a search that reads no expired page, an expiry sweep, a fetch-only rule and a status row.

Closes #3906

Change: openspec/changes/archive/2026-11-18-3906-keep-research-results-in-qdrant/

@devops-cli-service devops-cli-service Bot added scope/research The research agent: the pins of the project and the news about them type/feature Type feature: a new function labels Nov 18, 2026
@devops-cli-service
devops-cli-service Bot force-pushed the feat/3906-keep-research-results-in-qdrant branch from 47e4d53 to 67ad3ab Compare November 18, 2026 14:42
@devops-cli-service
devops-cli-service Bot force-pushed the feat/3906-keep-research-results-in-qdrant branch from 67ad3ab to 4261d6c Compare November 18, 2026 14:53
@devops-cli-service
devops-cli-service Bot force-pushed the feat/3906-keep-research-results-in-qdrant branch from 07c5a0a to 157519e Compare November 18, 2026 14:59
@devops-cli-service
devops-cli-service Bot force-pushed the feat/3906-keep-research-results-in-qdrant branch from 4365505 to d29ace3 Compare November 18, 2026 15:08
@devops-cli-service
devops-cli-service Bot force-pushed the feat/3906-keep-research-results-in-qdrant branch from 0853f42 to de69a6a Compare November 18, 2026 15:19
@devops-cli-service
devops-cli-service Bot force-pushed the feat/3906-keep-research-results-in-qdrant branch from ddefa0a to 6385c96 Compare November 18, 2026 15:33
@devops-cli-service

Copy link
Copy Markdown
Contributor Author

The steps of the job:

Step Status Attempts Tokens in/out Last failing command
group 1 done 1 2859259/16435 pytest on base: tests/ai/rag/test_rag_qdrant.py
group 2 done 2 7160585/34591 pytest on base: tests/ai/research/test_research_store.py
group 3 done 1 1749454/8917 pytest on base: tests/ai/research/test_research_store.py
group 4 done 1 3413560/15658 pytest on base: tests/ai/research/test_research_store.py
group 5 done 1 742931/3199 pytest on base: tests/ai/research/test_research_store.py
group 6 done 1 2393290/10207 pytest on base: tests/ai/research/test_research_store.py
group 7 done 1 2966906/11403 pytest on base: tests/ai/rag/test_knowledge_base_sync.py
  • scoped check pre-push: passed, 10 s
  • scoped check static: passed, 32 s
  • scoped check tests: passed, 29 s
  • scoped check strength: passed, 0 s
  • scoped check tests: the changed files select more than 30 test modules, so only the changed test modules ran. The required checks of CI run the others
  • strength: passed
  • fail-to-pass of group 1: fails on the base commit. Tests that fail on the base commit: tests.ai.rag.test_rag_qdrant::test_delete_points_by_expiry[native], tests.ai.rag.test_rag_qdrant::test_search_skips_a_point_whose_expiry_passed[native].
  • fail-to-pass of group 2: fails on the base commit. Tests that fail on the base commit: tests.ai.research.test_research_store::test_upsert_stores_the_six_fields_of_the_adr, tests.ai.research.test_research_store::test_upsert_of_a_changed_text_replaces_the_text, tests.ai.research.test_research_store::test_upsert_of_an_equal_hash_refreshes_the_dates.
  • fail-to-pass of group 3: fails on the base commit. Tests that fail on the base commit: tests.ai.research.test_research_store::test_upsert_refuses_a_search_hit_and_a_page_with_no_fetch_date_and_names_the_page_field, tests.ai.research.test_research_store::test_upsert_refuses_a_blank_source_url_and_names_it.
  • fail-to-pass of group 4: fails on the base commit. Tests that fail on the base commit: tests.ai.research.test_research_store::test_search_pages_skips_an_expired_page, tests.ai.research.test_research_store::test_search_pages_returns_the_url_and_date, tests.ai.research.test_research_store::test_search_pages_leaves_out_a_page_with_an_injection_pattern.
  • fail-to-pass of group 5: fails on the base commit. Tests that fail on the base commit: tests.ai.research.test_research_store::test_expire_deletes_the_point_whose_expiry_passed.
  • fail-to-pass of group 6: fails on the base commit. Tests that fail on the base commit: tests.ai.research.test_research_store::test_build_research_store_takes_the_seams_and_the_research_collection, tests.ai.research.test_research_store::test_build_research_store_names_the_unset_qdrant_url.
  • fail-to-pass of group 7: fails on the base commit. Tests that fail on the base commit: tests.ai.rag.test_knowledge_base_sync::test_rag_status_lists_the_research_collection_with_its_point_count.
  • comments of the item in the step inputs: feat(research): keep research results in Qdrant #3906 (comment), feat(research): keep research results in Qdrant #3906 (comment), feat(research): keep research results in Qdrant #3906 (comment), feat(research): keep research results in Qdrant #3906 (comment), feat(research): keep research results in Qdrant #3906 (comment), feat(research): keep research results in Qdrant #3906 (comment), feat(research): keep research results in Qdrant #3906 (comment), feat(research): keep research results in Qdrant #3906 (comment)

@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 18, 2026 15:43
@dan-petty
dan-petty merged commit 22832c2 into main Nov 18, 2026
24 checks passed
@dan-petty
dan-petty deleted the feat/3906-keep-research-results-in-qdrant branch November 18, 2026 15:59
dan-petty pushed a commit that referenced this pull request Nov 18, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.177.0](v0.176.1...v0.177.0)
(2026-11-18)


### Features

* **research:** Map pins to OSV names and list rendered images
([#6285](#6285))
([475700d](475700d))
* **research:** Store fetched research pages in Qdrant
([#6301](#6301))
([22832c2](22832c2))


### Bug Fixes

* **cli:** Name the test-run timeout and drop the traceback
([#6296](#6296))
([c49fd02](c49fd02))
* **deps:** check the tools lock requirement files for advisories
([#6261](#6261))
([ff42fbe](ff42fbe))
* **github:** Fail closed when a poll reads no head commit
([#6300](#6300))
([79d5747](79d5747))
* **k8s:** Ignore the CNPG monitoring ConfigMap as an Argo CD orphan
([#6306](#6306))
([058ce30](058ce30))
* **k8s:** send direct embedding calls to embedding Service
([#6293](#6293))
([e0a7aad](e0a7aad))
* **roadmap:** do not create empty groups for whole-suite criteria
([#6303](#6303))
([43f67e0](43f67e0))
* **roadmap:** Name the gh command and the full title when a create
fails ([#6302](#6302))
([3f9e060](3f9e060))
* **roadmap:** sync delivery PR title and type with staged plan proposal
([#6297](#6297))
([9b73219](9b73219))
* **telemetry:** Use the delta_to_cumulative name of the collector
processor ([#6308](#6308))
([0083d3d](0083d3d))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/research The research agent: the pins of the project and the news about them type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(research): keep research results in Qdrant

1 participant