Repository navigation
Description
Split from #1653.
Problem
Proposed design
Problem statement
The issue asks for a test that the scheduled RAG ingest indexes every repository that devops-cli manages, but no test shows that it does. An ingest that skips one repository leaves the index incomplete, and search returns nothing for that repository. This item adds an offline test that runs the ingest pass over three fixture repositories and fails, naming the repository, when one has no indexed point. No manifest in k8s/devops defines a scheduled RAG ingest CronJob yet, so the test covers the pass a schedule would run and the schedule itself is deferred.
Acceptance criteria
Requirement: Per-repository index coverage
The test SHALL assert that one run_ingest_pass over the three fixture repositories leaves at least one point with project_name equal to each repository.
Scenario: Every fixture repository is indexed
- WHEN The test runs the ingest pass over the three fixture remotes with the fake Qdrant client.
- THEN The code collection holds at least one point for each of the three
project_namevalues.
Requirement: Missing repository is named
The coverage assertion SHALL name every repository whose point count is zero.
Scenario: One repository has no indexed point
- WHEN The assertion receives counts for two of the three fixture repositories.
- THEN It fails with a message that names the third repository.
Requirement: Ingest entry point without a cluster
The test SHALL exercise run_ingest_pass, the function that devops ai rag ingest calls, with an injected indexer and MUST make no cluster or network request.
Scenario: The ingest pass runs offline
- WHEN The test runs with no kubeconfig and an injected
WorkspaceIndexeroverFakeQdrantClient. - THEN The pass completes and the fake client holds the points, with no call to the Kubernetes API.
Requirement: Isolated collection with cleanup
The test SHALL write to a collection named for the test run and MUST delete that collection after the run.
Scenario: Two runs leave no collection
- WHEN The test runs twice on the same fake Qdrant client.
- THEN Both runs give the same per-repository result and the collection name is absent from
list_collections().
Existing Tool Considered
No alternatives check has run. pytest==9.1.1 (pyproject.toml:90) runs the test, and qdrant-client==1.19.1 (pyproject.toml:28) supplies count_points with a payload filter (src/devops_cli/ai/rag/qdrant.py:780) and an in-memory mode. The project's FakeQdrantClient (tests/support/fakes/qdrant.py:50) and _make_bare_remote (tests/ai/rag/test_rag_ingest.py:53) supply the offline store and fixture remotes. These lack a per-repository coverage assertion over service.repos, so the test adds a small assertion helper and a three-repository fixture: about 100 lines of test code, about 20k tokens to build, about 5k tokens to keep and fix, and half an engineer-day. The kubernetes client (pyproject.toml:24) is not needed once the test runs the ingest pass offline.
Key questions
- Which ingest does the test target after ADR 0005?: The test targets
devops ai rag ingest, which callsrun_ingest_passto write Qdrant points. ADR 0005 replacesdevops ai ingest'slibrary,docs,index-librariesandquery-librarycommands withstatus,sync,lookupandpruneover the reference store; it does not removedevops ai rag ingest, and it keeps embeddings for chat and the knowledge base index. The earlier answer, that the test targets the reference store thatdevops ai ingest syncfills, is wrong. [sources: docs/adr/0005-review-findings-come-from-tools-not-models.md:55, docs/adr/0005-review-findings-come-from-tools-not-models.md:40, src/devops_cli/commands/rag.py:846, docs/CLI_REFERENCE.md:4970] - Is there a scheduled RAG ingest CronJob for the test to read?: No. The two CronJobs in
k8s/devopsare suspended templates that never run on a schedule, and neither runsai rag ingest; the kustomization lists only those two. A test cannot read a schedule that no manifest defines, so the schedule is deferred and this item tests the ingest pass itself. [sources: k8s/devops/cronjob.yaml:1, k8s/devops/cronjob.yaml:12, k8s/devops/cronjob-runner.yaml:2, k8s/devops/cronjob-runner.yaml:16, k8s/devops/kustomization.yaml:5] - How does the test start the ingest job?: Call
run_ingest_passwith an injectedWorkspaceIndexeroverFakeQdrantClientandremote_urlsthat point at fixture bare git remotes. This is the function thatdevops ai rag ingestcalls, and the existing ingest tests already drive it this way. (best practice) [sources: src/devops_cli/commands/rag.py:846, tests/ai/rag/test_rag_ingest.py:209, tests/support/fakes/qdrant.py:50]- Chosen: Call
run_ingest_passoffline with fixture remotes and a fake Qdrant client. It covers the pass the schedule would run, with no cluster, no network and deterministic data. - Rejected: Create a Job from a CronJob and wait for it. No CronJob in
k8s/devopsrunsai rag ingest, and the k8s tests use a fake cluster rather than a live one. - Rejected: Wait for the next scheduled run. No schedule exists, and a real wait would be slow and flaky.
- Chosen: Call
- How does the test count indexed documents for each repository?: Call
count_pointson the code collection with the filter{"project_name": repo}for each fixture repository.project_nameis the payload key the indexer writes and filters on, and the existing ingest test uses the same count. (best practice) [sources: src/devops_cli/ai/rag/indexer.py:332, src/devops_cli/ai/rag/indexer.py:718, src/devops_cli/ai/rag/indexer.py:725, src/devops_cli/ai/rag/chunker.py:736, tests/ai/rag/test_rag_ingest.py:218]- Chosen: Count points by the
project_namepayload key. One count per repository gives a direct coverage result and names the missing repository. - Rejected: Run one lookup per repository through the CLI. A lookup returns the best matches, so a missing document and a low rank look the same.
- Rejected: Read the files that the docs ingestor writes. ADR 0005 states that the docs ingestor writes files nothing reads.
- Chosen: Count points by the
- Which repositories does the test fixture hold?: Three synthetic bare git remotes built with the existing
_make_bare_remotehelper, each holding one Python file, withremote_urlspointing at them. A fourth count for one of the three can be zeroed in the fake to exercise the failure message, and no live GitHub installation is needed. (best practice) [sources: tests/ai/rag/test_rag_ingest.py:53, tests/ai/rag/test_rag_ingest.py:110, tests/ai/rag/test_rag_ingest.py:206]- Chosen: Three synthetic bare git remotes in the test. The run is offline and deterministic, and a missing repository is easy to inject.
- Rejected: The live repositories of the GitHub installation. It needs the network and its result changes between runs.
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Alternatives check of 2026-11-09: not-applicable.
Class: test, no search.
Tool: none found.
Activity
devops-cli-service commentedon Nov 7, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
testprefix of the title gives the type.(k8s)scope of the title gives the scope.The test confirms the scheduled ingest, but it does not block the feature delivery.The test shows that one scheduled run indexes each managed repository.The test needs a cluster schedule, several managed repositories and a check of the index.Both items concern the scheduled RAG ingest, but #1653 adds the workflow and the candidate verifies its index result.[-]test(k8s): verify one scheduled RAG ingest run indexes each managed repository[/-][+]test(k8s): Verify scheduled RAG ingest indexes each repository[/+]devops-cli-service commentedon Nov 7, 2026
The job shortened the title of this item. The summary had 67 characters, and the limit is 60. The type and the scope stay.
test(k8s): verify one scheduled RAG ingest run indexes each managed repositorytest(k8s): Verify scheduled RAG ingest indexes each repositorydevops-cli-service commentedon Nov 8, 2026
Status set to Ready at 7935fba (see proposed design in issue body).
Moved to new items: #4135.
devops-cli-service commentedon Nov 9, 2026
Alternatives check: not-applicable
Class: test. The check makes no search and no model call for an item of this class.
Tool: none found
Checked on 2026-11-09. A person decides what this means for the item. The check changes no label and closes no issue.
devops-cli-service commentedon Nov 18, 2026
Plan state: branch
test/3949-verify-scheduled-rag-ingest-indexes-each, draft pull request #6266. The pull request plans the item and closes no issue. The stage job and the step fix-plan edit this comment, and a comment of each run tells what the run did.The task groups, with the tokens of the inputs of each step, for a budget of 64000 tokens:
A model review of the plan found these points. They stop no draft, and a person judges them:
criterion_droppedat issue (The test SHALL write to a collection named for the test run and MUST delete that collection after the run.): The issue's fourth acceptance criterion requires a collection named for the test run that the test deletes after the run, but the plan's decision keeps the defaultdevops_codecollection and adds no cleanup, and no task writes to or deletes a run-named collection. Evidence: "The test SHALL write to a collection named for the test run and MUST delete that collection after the run."otherat tasks (1): The second test gives each run a fresh collection but no fresh state directory; with one data directory the second run sees the recorded head and intact points and skips every repository, so its new collection stays empty and the assertion that both runs give the same per-repository counts fails. The plan must give the second run its own data directory or clear the state. Evidence: "runs the pass twice on the same fake client with a fresh run-named collection each time, asserts both runs give the same per-repository counts"otherat tasks (1):_assert_repositories_indexed(counts)can only name a repository that appears in the counts mapping with a zero, so the test that passes counts for two of the three repositories can never name the third; the helper needs the expected repository list as well as the counts. Evidence: "passes counts for two repositories and asserts that the message names the third"false_premiseat proposal (pull_request_body): The pull request body says the CronWorkflow runs the ingest every 3 minutes, while the plan's own feasibility says the controller watches only namespaceargo-workflows, so the schedule does not run yet. Evidence: "The CronWorkflowrag-ingestrunsdevops ai rag ingestevery 3 minutes, and the test covers the pass that it runs."false_premiseat proposal (summary): The summary says the CronWorkflowrag-ingestruns the same command on a schedule, but the plan's own feasibility says the controller watches only namespaceargo-workflowsand the schedule does not run yet; the CronWorkflow is in namespacedevops. Evidence: "The CronWorkflowrag-ingestruns the same command on a schedule."false_premiseat proposal (what_changes): The plan says the test leaves no collection behind, butindex_workspacecalls_ensure_collections, which creates the default docs collectiondevops_docsas well as the run-named code collection; thefinallydeletes only the run-named collection, sodevops_docsremains inlist_collections(). Evidence: "Delete the run-named collection in afinallyand assert its name is absent fromlist_collections(), so the test leaves no collection behind."false_premiseat proposal (feasibility): The plan says the per-run indexercache_dirgives each run no counts, butingest_repositorybuilds its own per-repository indexer withcache_dir=repo_dirunderdata_dir; the injected indexer'scache_diris not read, so only the per-rundata_dirgives fresh counts. Evidence: "The two-run test now gives each run its owndata_dir=and its own indexercache_dir=, so each run starts with no state and no counts"false_premiseat proposal (feasibility): The plan saysuv run devops ci test tests/ai/rag/test_rag_ingest.pyfails before the new tests exist, but the command then runs the module's existing tests and passes; the new test verifies existing behavior, so this first check cannot fail. Evidence: "The first checks the implementation runs:uv run devops ci test tests/ai/rag/test_rag_ingest.pyfails before the new tests exist, then the same command passes"devops-cli-service commentedon Nov 18, 2026
The stage job staged the plan of draft pull request #6266. The plan state comment of #6266 holds the branch, the task groups and the findings.
The default branch changed these paths that the plan names, after the commit that the planner read. Read the commits before you judge the plan:
src/devops_cli/ai/rag/ingest.py: 59b424a feat(roadmap): Add RAG index rows to repository onboarding (feat(roadmap): Add RAG index rows to repository onboarding #6041)src/devops_cli/ai/rag/indexer.py: 59b424a feat(roadmap): Add RAG index rows to repository onboarding (feat(roadmap): Add RAG index rows to repository onboarding #6041)The runs of the planner and the review made 132 model request(s), and used 7579622 input tokens and 227592 output tokens. The tool calls, in order:
search_code({"text":"run_ingest_pass"})read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":1,"end_line":120})read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":300,"end_line":470})read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":190,"end_line":370})read_file({"end_line":280,"path":"tests/support/fakes/qdrant.py","start_line":50})read_file({"end_line":360,"path":"src/devops_cli/ai/rag/indexer.py","start_line":300})search_code({"text":"from tests.ai.rag.test_rag_ingest import"})list_files({"directory":"tests/support"})list_files({"directory":"k8s/devops"})search_code({"text":"rag ingest"})list_files({"directory":"openspec/changes/archive/2026-11-14-4135-rag-cron"})read_file({"path":"k8s/devops/cronworkflow-rag-ingest.yaml"})read_file({"path":"k8s/devops/workflowtemplate-rag-ingest.yaml"})read_file({"path":"tests/commands/k8s/test_k8s_rag_ingest_manifests.py"})search_code({"text":"coverage"})read_file({"path":"openspec/changes/archive/2026-11-14-4135-rag-cron/design.md"})search_code({"text":"cronworkflow-rag-ingest"})git_log({"path":"tests/ai/rag/test_rag_ingest.py"})search_code({"text":"count_points"})read_file({"path":"openspec/changes/archive/2026-11-14-4135-rag-cron/tasks.md"})search_code({"text":"uv run devops ci test"})file_symbols({"path":"src/devops_cli/commands/ci.py"})read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":180,"end_line":300})file_symbols({"path":"src/devops_cli/ai/rag/indexer.py"})read_file({"end_line":690,"path":"src/devops_cli/ai/rag/indexer.py","start_line":639})read_file({"end_line":140,"path":"tests/ai/rag/test_rag_ingest.py","start_line":120})search_code({"text":"DEFAULT_RAG_COLLECTION ="})search_code({"text":"DEFAULT_RAG_DOCS_COLLECTION ="})read_file({"end_line":860,"path":"src/devops_cli/commands/rag.py","start_line":826})search_code({"text":"docs ingestor writes files nothing reads"})read_issue({"number":1653})read_issue({"number":4135})search_code({"text":"*/3 * * * *"})find_issues({"terms":"rag ingest"})find_issues({"terms":"test_rag_ingest"})read_file({"path":"openspec/specs/rag-ingest/spec.md","start_line":90,"end_line":150})read_spec({"capability":"rag-ingest"})read_spec({"capability":"rag-ingest","requirement":"Default pass over service.repos"})search_code({"text":"concurrencyPolicy"})list_files({"directory":"k8s/devops"})file_symbols({"path":"src/devops_cli/ai/rag/ingest.py"})read_file({"path":"k8s/devops/cronworkflow-rag-ingest.yaml"})read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":200,"end_line":200})read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":355,"end_line":420})read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":280,"end_line":300})read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":325,"end_line":340})read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":636,"end_line":660})read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":25,"end_line":75})read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":195,"end_line":235})search_code({"text":"def _make_fake_gh_runner"})read_file({"path":"tests/support/fakes/qdrant.py","start_line":196,"end_line":215})search_code({"text":"DEFAULT_RAG_COLLECTION = "})read_file({"path":"src/devops_cli/commands/rag.py","start_line":820,"end_line":860})read_file({"path":"k8s/devops/workflowtemplate-rag-ingest.yaml","start_line":35,"end_line":45})read_file({"path":"k8s/devops/kustomization.yaml"})read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":312,"end_line":340})references({"name":"rag-ingest"})read_file({"path":"tests/commands/k8s/test_k8s_rag_ingest_manifests.py","start_line":1,"end_line":60})read_file({"path":"tests/gate/k8s_checks/rag_ingest.py"})read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":660,"end_line":690})read_issue({"number":1653})read_issue({"number":4135})search_code({"text":"*/3 * * * *"})search_code({"text":"spec\"][\"schedule\"]"})search_code({"text":"cronworkflow-rag-ingest"})list_files({"directory":"tests/commands/k8s"})search_code({"text":"concurrencyPolicy"})file_symbols({"path":"tests/ai/rag/test_rag_ingest.py"})read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":115,"end_line":160})find_issues({"terms":"test_rag_ingest rag ingest coverage"})read_file({"path":"tests/support/fakes/qdrant.py","start_line":45,"end_line":62})read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":75,"end_line":100})read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":180,"end_line":280})read_file({"path":"tests/support/fakes/qdrant.py","start_line":190,"end_line":240})read_file({"path":"k8s/devops/cronworkflow-rag-ingest.yaml"})read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":250,"end_line":340})read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":340,"end_line":460})search_code({"text":"def run_ingest_pass"})search_code({"text":"code_collection"})read_file({"path":"k8s/devops/workflowtemplate-rag-ingest.yaml"})read_file({"path":"src/devops_cli/config/defaults.py","start_line":238,"end_line":250})read_file({"path":"src/devops_cli/commands/rag.py","start_line":820,"end_line":860})read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":320,"end_line":340})read_file({"end_line":700,"path":"src/devops_cli/ai/rag/indexer.py","start_line":630})search_code({"text":"def index_workspace"})search_code({"text":"count_points"})search_code({"text":"run_ingest_pass"})read_file({"path":"tests/ai/rag/test_multi_project_indexing.py","start_line":1,"end_line":60})read_file({"end_line":380,"path":"tests/ai/rag/test_rag_ingest.py","start_line":330})read_file({"end_line":70,"path":"tests/ai/rag/test_rag_ingest.py","start_line":48})read_file({"end_line":60,"path":"tests/support/fakes/qdrant.py","start_line":50})read_file({"end_line":20,"path":"k8s/devops/kustomization.yaml","start_line":1})read_file({"end_line":60,"path":"docs/adr/0005-review-findings-come-from-tools-not-models.md","start_line":1})read_file({"path":"k8s/devops/cronjob-runner.yaml"})search_code({"text":"devops ci test"})search_code({"text":"_indexed_repository_counts"})search_code({"text":"indexes_each_managed_repository"})read_file({"end_line":760,"path":"tests/ai/rag/test_rag_ingest.py","start_line":686})find_issues({"terms":"rag ingest coverage test"})read_issue({"number":1653})read_issue({"number":4135})read_file({"end_line":250,"path":"src/devops_cli/ai/rag/ingest.py","start_line":200})read_file({"end_line":1000,"path":"src/devops_cli/ai/rag/indexer.py","start_line":933})find_issues({"terms":"test_rag_ingest"})find_issues({"terms":"rag ingest indexes repository"})search_code({"text":"container engine"})search_code({"text":"no container"})search_code({"text":"ACTION_BY_CLASS"})search_code({"text":"ACTION_BY_CLASS"})search_code({"text":"ACTION_BY_CLASS ="})search_code({"text":"\"repair\""})file_symbols({"path":"src/devops_cli/ai/rag/ingest.py"})file_symbols({"path":"tests/support/fakes/qdrant.py"})read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":200,"end_line":460})search_code({"text":"def delete_collection"})read_file({"path":"tests/support/fakes/qdrant.py","start_line":84,"end_line":150})read_file({"end_line":130,"path":"tests/ai/rag/test_rag_ingest.py","start_line":1})read_file({"end_line":250,"path":"tests/ai/rag/test_rag_ingest.py","start_line":185})read_file({"end_line":700,"path":"src/devops_cli/ai/rag/indexer.py","start_line":639})search_code({"text":"count_points("})read_file({"path":"src/devops_cli/config/defaults.py","start_line":238,"end_line":252})find_issues({"terms":"test_rag_ingest rag ingest coverage"})search_code({"text":"delete_collection("})search_code({"text":"list_collections()"})search_code({"text":"rag-ingest"})read_file({"path":"k8s/devops/cronworkflow-rag-ingest.yaml"})read_file({"path":"k8s/devops/workflowtemplate-rag-ingest.yaml","start_line":30,"end_line":60})search_code({"text":"singleNamespace"})read_file({"end_line":14,"path":"docs/adr/0005-review-findings-come-from-tools-not-models.md","start_line":10})search_code({"text":"run_ingest_pass("})list_files({"directory":"k8s/devops"})read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":1,"end_line":130})read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":180,"end_line":260})read_file({"path":"k8s/devops/cronworkflow-rag-ingest.yaml"})read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":270,"end_line":400})read_file({"path":"tests/support/fakes/qdrant.py","start_line":120,"end_line":215})read_file({"end_line":680,"path":"src/devops_cli/ai/rag/indexer.py","start_line":630})search_code({"text":"def cleanup_removed_repos"})read_file({"end_line":200,"path":"src/devops_cli/ai/rag/ingest.py","start_line":144})read_file({"path":"k8s/devops/workflowtemplate-rag-ingest.yaml"})search_code({"text":"DEFAULT_RAG_COLLECTION = "})search_code({"text":"\"project_name\": chunk.project_name"})read_file({"end_line":852,"path":"src/devops_cli/commands/rag.py","start_line":835})read_file({"end_line":55,"path":"tests/support/fakes/qdrant.py","start_line":44})search_code({"text":"The docs ingestor writes files nothing reads."})search_code({"text":"singleNamespace"})read_issue({"number":1653})find_issues({"terms":"rag ingest coverage"})list_files({"directory":"k8s/devops"})read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":250,"end_line":430})search_code({"text":"def points_intact"})read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":620,"end_line":720})read_file({"end_line":770,"path":"src/devops_cli/ai/rag/indexer.py","start_line":711})read_file({"end_line":60,"path":"k8s/devops/cronworkflow-rag-ingest.yaml","start_line":1})read_file({"end_line":300,"path":"tests/ai/rag/test_rag_ingest.py","start_line":180})read_file({"end_line":60,"path":"k8s/devops/workflowtemplate-rag-ingest.yaml","start_line":25})read_file({"end_line":60,"path":"docs/adr/0005-review-findings-come-from-tools-not-models.md","start_line":1})read_file({"end_line":30,"path":"k8s/argo-workflows/values.yaml","start_line":15})search_code({"text":"index-libraries"})read_file({"end_line":870,"path":"src/devops_cli/commands/rag.py","start_line":820})read_file({"end_line":215,"path":"tests/support/fakes/qdrant.py","start_line":190})read_file({"end_line":250,"path":"src/devops_cli/config/defaults.py","start_line":238})read_file({"end_line":340,"path":"src/devops_cli/ai/rag/indexer.py","start_line":320})read_file({"end_line":15,"path":"k8s/devops/kustomization.yaml","start_line":1})list_files({"directory":"k8s/argo-workflows"})search_code({"text":"namespace: argo-workflows"})search_code({"text":"def ci"})search_code({"text":"--only"})search_code({"text":"ci test"})list_files({"directory":"src/devops_cli/commands"})search_code({"text":"count_points("})read_issue({"number":1653})find_issues({"terms":"rag ingest coverage"})file_symbols({"path":"tests/ai/rag/test_rag_ingest.py"})read_file({"end_line":460,"path":"tests/ai/rag/test_rag_ingest.py","start_line":418})read_file({"end_line":545,"path":"tests/ai/rag/test_rag_ingest.py","start_line":495})read_file({"end_line":870,"path":"src/devops_cli/ai/rag/indexer.py","start_line":800})read_file({"end_line":220,"path":"src/devops_cli/ai/rag/drift.py","start_line":180})read_file({"end_line":60,"path":"src/devops_cli/ai/rag/kb_sync.py","start_line":30})read_file({"end_line":30,"path":"k8s/argocd/apps/argo-workflows.yaml","start_line":1})read_file({"end_line":120,"path":"tests/ai/rag/test_rag_ingest.py","start_line":110})read_file({"end_line":45,"path":"src/devops_cli/ai/rag/ingest.py","start_line":225})read_file({"end_line":100,"path":"tests/ai/rag/test_rag_ingest.py","start_line":55})read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":250,"end_line":420})read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":1,"end_line":130})search_code({"text":"def points_intact"})read_file({"end_line":300,"path":"tests/ai/rag/test_rag_ingest.py","start_line":180})read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":720,"end_line":760})read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":636,"end_line":670})read_file({"end_line":732,"path":"src/devops_cli/ai/rag/indexer.py","start_line":690})search_code({"text":"_load_cache"})list_files({"directory":"k8s/devops"})read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":250,"end_line":400})read_file({"path":"k8s/devops/cronworkflow-rag-ingest.yaml"})read_file({"path":"k8s/devops/workflowtemplate-rag-ingest.yaml","start_line":1,"end_line":60})read_file({"path":"k8s/argo-workflows/values.yaml","start_line":1,"end_line":45})read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":630,"end_line":740})read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":180,"end_line":320})read_file({"path":"k8s/devops/kustomization.yaml"})read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":28,"end_line":60})read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":320,"end_line":340})read_file({"path":"src/devops_cli/config/defaults.py","start_line":238,"end_line":252})read_file({"path":"src/devops_cli/commands/rag.py","start_line":830,"end_line":860})search_code({"text":"def test"})list_files({"directory":"src/devops_cli/commands"})search_code({"text":"only"})read_file({"path":"src/devops_cli/commands/test_cmd.py","start_line":1,"end_line":60})search_code({"text":"--only"})search_code({"text":"ci test"})list_files({"directory":"k8s/argo-workflows"})read_issue({"number":1653})read_file({"path":"k8s/argo-workflows/kustomization.yaml"})find_issues({"terms":"rag ingest coverage"})search_code({"text":"argo-workflows"})read_file({"path":"tests/support/fakes/qdrant.py","start_line":190,"end_line":230})read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":200,"end_line":250})search_code({"text":"project_name="})read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":740,"end_line":800})search_code({"text":"run_ingest_pass"})read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":320,"end_line":420})search_code({"text":"failure_class"})search_code({"text":"\"repair\""})read_file({"path":"src/devops_cli/roadmap/failure.py","start_line":100,"end_line":200})search_code({"text":"_run_collection"})read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":680,"end_line":770})search_code({"text":"def safe_resolve_subpath"})search_code({"text":"def is_forbidden_system_path"})read_file({"path":"tests/ai/rag/test_multi_project_indexing.py","start_line":1,"end_line":120})search_code({"text":"count_points("})search_code({"text":"_ensure_collections("})read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":800,"end_line":880})read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":920,"end_line":980})search_code({"text":"service.repos"})search_code({"text":"def load_settings"})read_file({"path":"src/devops_cli/config/settings.py","start_line":2734,"end_line":2790})search_code({"text":"repos: list[str]"})read_file({"path":"docs/adr/0005-review-findings-come-from-tools-not-models.md","start_line":1,"end_line":25})read_file({"path":"docs/adr/0005-review-findings-come-from-tools-not-models.md","start_line":35,"end_line":60})search_code({"text":"fail-to-pass"})Tool calls: file_symbols=7 (empty=0), find_issues=10 (empty=4), git_log=1 (empty=0), list_files=12 (empty=0), read_file=126 (empty=0), read_issue=9 (empty=0), read_spec=2 (empty=0), references=1 (empty=0), search_code=71 (empty=4)
The stage job read the open pull requests and their files in 1 GraphQL request(s).
The plan request held these comments of the item whole: #3949 (comment), #3949 (comment), #3949 (comment), #3949 (comment).
docs(openspec): plan #3949 Add a per-repository RAG ingest coverage test
test(k8s): Add the per-repository index coverage test with a run-name…
docs(openspec): archive the change (#3949)
devops-cli-service commentedon Nov 18, 2026
Pull request #6266 is ready for review. The checks passed.
Spend: 25 model requests, 1107871 input tokens, 11201 output tokens.