Skip to content

test(k8s): Verify scheduled RAG ingest indexes each repository #3949

Closed

Description

@devops-cli-service

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_name values.

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 WorkspaceIndexer over FakeQdrantClient.
  • 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 calls run_ingest_pass to write Qdrant points. ADR 0005 replaces devops ai ingest's library, docs, index-libraries and query-library commands with status, sync, lookup and prune over the reference store; it does not remove devops ai rag ingest, and it keeps embeddings for chat and the knowledge base index. The earlier answer, that the test targets the reference store that devops ai ingest sync fills, 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/devops are suspended templates that never run on a schedule, and neither runs ai 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_pass with an injected WorkspaceIndexer over FakeQdrantClient and remote_urls that point at fixture bare git remotes. This is the function that devops ai rag ingest calls, 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_pass offline 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/devops runs ai 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.
  • How does the test count indexed documents for each repository?: Call count_points on the code collection with the filter {"project_name": repo} for each fixture repository. project_name is 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_name payload 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.
  • Which repositories does the test fixture hold?: Three synthetic bare git remotes built with the existing _make_bare_remote helper, each holding one Python file, with remote_urls pointing 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

  1. added
    source/agent
    type/test
    scope/k8s
    status/new
    value/medium
    effort/medium
    on Nov 7, 2026
  2. devops-cli-service commented on Nov 7, 2026

    @devops-cli-service
    ContributorAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/test. The test prefix of the title gives the type.
    • Scope: scope/k8s. The (k8s) scope of the title gives the scope.
    • Priority: P2-Medium. The test confirms the scheduled ingest, but it does not block the feature delivery.
    • Value: Medium. The test shows that one scheduled run indexes each managed repository.
    • Effort: Medium. The test needs a cluster schedule, several managed repositories and a check of the index.
    • Related: feat(k8s): Add an Argo workflow to keep the RAG index current #1653, which asks for a different change. Both items concern the scheduled RAG ingest, but #1653 adds the workflow and the candidate verifies its index result.
  3. changed the title [-]test(k8s): verify one scheduled RAG ingest run indexes each managed repository[/-] [+]test(k8s): Verify scheduled RAG ingest indexes each repository[/+] on Nov 7, 2026
  4. devops-cli-service commented on Nov 7, 2026

    @devops-cli-service
    ContributorAuthor

    The job shortened the title of this item. The summary had 67 characters, and the limit is 60. The type and the scope stay.

    • Before: test(k8s): verify one scheduled RAG ingest run indexes each managed repository
    • After: test(k8s): Verify scheduled RAG ingest indexes each repository
    • Source of the summary: the background model
  5. added
    status/ready
    and removed
    status/new
    on Nov 8, 2026
  6. devops-cli-service commented on Nov 8, 2026

    @devops-cli-service
    ContributorAuthor

    Status set to Ready at 7935fba (see proposed design in issue body).

    Moved to new items: #4135.

  7. devops-cli-service commented on Nov 9, 2026

    @devops-cli-service
    ContributorAuthor

    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.

  8. added
    owner/service
    on Nov 18, 2026
  9. devops-cli-service commented on Nov 18, 2026

    @devops-cli-service
    ContributorAuthor

    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:

    1. Add the per-repository index coverage test with a run-named collection: 12748 tokens

    A model review of the plan found these points. They stop no draft, and a person judges them:

    • major criterion_dropped at 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 default devops_code collection 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."
    • major other at 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"
    • major other at 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"
    • minor false_premise at 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 namespace argo-workflows, so the schedule does not run yet. Evidence: "The CronWorkflow rag-ingest runs devops ai rag ingest every 3 minutes, and the test covers the pass that it runs."
    • minor false_premise at proposal (summary): The summary says the CronWorkflow rag-ingest runs the same command on a schedule, but the plan's own feasibility says the controller watches only namespace argo-workflows and the schedule does not run yet; the CronWorkflow is in namespace devops. Evidence: "The CronWorkflow rag-ingest runs the same command on a schedule."
    • minor false_premise at proposal (what_changes): The plan says the test leaves no collection behind, but index_workspace calls _ensure_collections, which creates the default docs collection devops_docs as well as the run-named code collection; the finally deletes only the run-named collection, so devops_docs remains in list_collections(). Evidence: "Delete the run-named collection in a finally and assert its name is absent from list_collections(), so the test leaves no collection behind."
    • minor false_premise at proposal (feasibility): The plan says the per-run indexer cache_dir gives each run no counts, but ingest_repository builds its own per-repository indexer with cache_dir=repo_dir under data_dir; the injected indexer's cache_dir is not read, so only the per-run data_dir gives fresh counts. Evidence: "The two-run test now gives each run its own data_dir= and its own indexer cache_dir=, so each run starts with no state and no counts"
    • minor false_premise at proposal (feasibility): The plan says uv run devops ci test tests/ai/rag/test_rag_ingest.py fails 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.py fails before the new tests exist, then the same command passes"
  10. devops-cli-service commented on Nov 18, 2026

    @devops-cli-service
    ContributorAuthor

    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:

    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:

    1. search_code({"text":"run_ingest_pass"})
    2. read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":1,"end_line":120})
    3. read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":300,"end_line":470})
    4. read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":190,"end_line":370})
    5. read_file({"end_line":280,"path":"tests/support/fakes/qdrant.py","start_line":50})
    6. read_file({"end_line":360,"path":"src/devops_cli/ai/rag/indexer.py","start_line":300})
    7. search_code({"text":"from tests.ai.rag.test_rag_ingest import"})
    8. list_files({"directory":"tests/support"})
    9. list_files({"directory":"k8s/devops"})
    10. search_code({"text":"rag ingest"})
    11. list_files({"directory":"openspec/changes/archive/2026-11-14-4135-rag-cron"})
    12. read_file({"path":"k8s/devops/cronworkflow-rag-ingest.yaml"})
    13. read_file({"path":"k8s/devops/workflowtemplate-rag-ingest.yaml"})
    14. read_file({"path":"tests/commands/k8s/test_k8s_rag_ingest_manifests.py"})
    15. search_code({"text":"coverage"})
    16. read_file({"path":"openspec/changes/archive/2026-11-14-4135-rag-cron/design.md"})
    17. search_code({"text":"cronworkflow-rag-ingest"})
    18. git_log({"path":"tests/ai/rag/test_rag_ingest.py"})
    19. search_code({"text":"count_points"})
    20. read_file({"path":"openspec/changes/archive/2026-11-14-4135-rag-cron/tasks.md"})
    21. search_code({"text":"uv run devops ci test"})
    22. file_symbols({"path":"src/devops_cli/commands/ci.py"})
    23. read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":180,"end_line":300})
    24. file_symbols({"path":"src/devops_cli/ai/rag/indexer.py"})
    25. read_file({"end_line":690,"path":"src/devops_cli/ai/rag/indexer.py","start_line":639})
    26. read_file({"end_line":140,"path":"tests/ai/rag/test_rag_ingest.py","start_line":120})
    27. search_code({"text":"DEFAULT_RAG_COLLECTION ="})
    28. search_code({"text":"DEFAULT_RAG_DOCS_COLLECTION ="})
    29. read_file({"end_line":860,"path":"src/devops_cli/commands/rag.py","start_line":826})
    30. search_code({"text":"docs ingestor writes files nothing reads"})
    31. read_issue({"number":1653})
    32. read_issue({"number":4135})
    33. search_code({"text":"*/3 * * * *"})
    34. find_issues({"terms":"rag ingest"})
    35. find_issues({"terms":"test_rag_ingest"})
    36. read_file({"path":"openspec/specs/rag-ingest/spec.md","start_line":90,"end_line":150})
    37. read_spec({"capability":"rag-ingest"})
    38. read_spec({"capability":"rag-ingest","requirement":"Default pass over service.repos"})
    39. search_code({"text":"concurrencyPolicy"})
    40. list_files({"directory":"k8s/devops"})
    41. file_symbols({"path":"src/devops_cli/ai/rag/ingest.py"})
    42. read_file({"path":"k8s/devops/cronworkflow-rag-ingest.yaml"})
    43. read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":200,"end_line":200})
    44. read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":355,"end_line":420})
    45. read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":280,"end_line":300})
    46. read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":325,"end_line":340})
    47. read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":636,"end_line":660})
    48. read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":25,"end_line":75})
    49. read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":195,"end_line":235})
    50. search_code({"text":"def _make_fake_gh_runner"})
    51. read_file({"path":"tests/support/fakes/qdrant.py","start_line":196,"end_line":215})
    52. search_code({"text":"DEFAULT_RAG_COLLECTION = "})
    53. read_file({"path":"src/devops_cli/commands/rag.py","start_line":820,"end_line":860})
    54. read_file({"path":"k8s/devops/workflowtemplate-rag-ingest.yaml","start_line":35,"end_line":45})
    55. read_file({"path":"k8s/devops/kustomization.yaml"})
    56. read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":312,"end_line":340})
    57. references({"name":"rag-ingest"})
    58. read_file({"path":"tests/commands/k8s/test_k8s_rag_ingest_manifests.py","start_line":1,"end_line":60})
    59. read_file({"path":"tests/gate/k8s_checks/rag_ingest.py"})
    60. read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":660,"end_line":690})
    61. read_issue({"number":1653})
    62. read_issue({"number":4135})
    63. search_code({"text":"*/3 * * * *"})
    64. search_code({"text":"spec\"][\"schedule\"]"})
    65. search_code({"text":"cronworkflow-rag-ingest"})
    66. list_files({"directory":"tests/commands/k8s"})
    67. search_code({"text":"concurrencyPolicy"})
    68. file_symbols({"path":"tests/ai/rag/test_rag_ingest.py"})
    69. read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":115,"end_line":160})
    70. find_issues({"terms":"test_rag_ingest rag ingest coverage"})
    71. read_file({"path":"tests/support/fakes/qdrant.py","start_line":45,"end_line":62})
    72. read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":75,"end_line":100})
    73. read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":180,"end_line":280})
    74. read_file({"path":"tests/support/fakes/qdrant.py","start_line":190,"end_line":240})
    75. read_file({"path":"k8s/devops/cronworkflow-rag-ingest.yaml"})
    76. read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":250,"end_line":340})
    77. read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":340,"end_line":460})
    78. search_code({"text":"def run_ingest_pass"})
    79. search_code({"text":"code_collection"})
    80. read_file({"path":"k8s/devops/workflowtemplate-rag-ingest.yaml"})
    81. read_file({"path":"src/devops_cli/config/defaults.py","start_line":238,"end_line":250})
    82. read_file({"path":"src/devops_cli/commands/rag.py","start_line":820,"end_line":860})
    83. read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":320,"end_line":340})
    84. read_file({"end_line":700,"path":"src/devops_cli/ai/rag/indexer.py","start_line":630})
    85. search_code({"text":"def index_workspace"})
    86. search_code({"text":"count_points"})
    87. search_code({"text":"run_ingest_pass"})
    88. read_file({"path":"tests/ai/rag/test_multi_project_indexing.py","start_line":1,"end_line":60})
    89. read_file({"end_line":380,"path":"tests/ai/rag/test_rag_ingest.py","start_line":330})
    90. read_file({"end_line":70,"path":"tests/ai/rag/test_rag_ingest.py","start_line":48})
    91. read_file({"end_line":60,"path":"tests/support/fakes/qdrant.py","start_line":50})
    92. read_file({"end_line":20,"path":"k8s/devops/kustomization.yaml","start_line":1})
    93. read_file({"end_line":60,"path":"docs/adr/0005-review-findings-come-from-tools-not-models.md","start_line":1})
    94. read_file({"path":"k8s/devops/cronjob-runner.yaml"})
    95. search_code({"text":"devops ci test"})
    96. search_code({"text":"_indexed_repository_counts"})
    97. search_code({"text":"indexes_each_managed_repository"})
    98. read_file({"end_line":760,"path":"tests/ai/rag/test_rag_ingest.py","start_line":686})
    99. find_issues({"terms":"rag ingest coverage test"})
    100. read_issue({"number":1653})
    101. read_issue({"number":4135})
    102. read_file({"end_line":250,"path":"src/devops_cli/ai/rag/ingest.py","start_line":200})
    103. read_file({"end_line":1000,"path":"src/devops_cli/ai/rag/indexer.py","start_line":933})
    104. find_issues({"terms":"test_rag_ingest"})
    105. find_issues({"terms":"rag ingest indexes repository"})
    106. search_code({"text":"container engine"})
    107. search_code({"text":"no container"})
    108. search_code({"text":"ACTION_BY_CLASS"})
    109. search_code({"text":"ACTION_BY_CLASS"})
    110. search_code({"text":"ACTION_BY_CLASS ="})
    111. search_code({"text":"\"repair\""})
    112. file_symbols({"path":"src/devops_cli/ai/rag/ingest.py"})
    113. file_symbols({"path":"tests/support/fakes/qdrant.py"})
    114. read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":200,"end_line":460})
    115. search_code({"text":"def delete_collection"})
    116. read_file({"path":"tests/support/fakes/qdrant.py","start_line":84,"end_line":150})
    117. read_file({"end_line":130,"path":"tests/ai/rag/test_rag_ingest.py","start_line":1})
    118. read_file({"end_line":250,"path":"tests/ai/rag/test_rag_ingest.py","start_line":185})
    119. read_file({"end_line":700,"path":"src/devops_cli/ai/rag/indexer.py","start_line":639})
    120. search_code({"text":"count_points("})
    121. read_file({"path":"src/devops_cli/config/defaults.py","start_line":238,"end_line":252})
    122. find_issues({"terms":"test_rag_ingest rag ingest coverage"})
    123. search_code({"text":"delete_collection("})
    124. search_code({"text":"list_collections()"})
    125. search_code({"text":"rag-ingest"})
    126. read_file({"path":"k8s/devops/cronworkflow-rag-ingest.yaml"})
    127. read_file({"path":"k8s/devops/workflowtemplate-rag-ingest.yaml","start_line":30,"end_line":60})
    128. search_code({"text":"singleNamespace"})
    129. read_file({"end_line":14,"path":"docs/adr/0005-review-findings-come-from-tools-not-models.md","start_line":10})
    130. search_code({"text":"run_ingest_pass("})
    131. list_files({"directory":"k8s/devops"})
    132. read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":1,"end_line":130})
    133. read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":180,"end_line":260})
    134. read_file({"path":"k8s/devops/cronworkflow-rag-ingest.yaml"})
    135. read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":270,"end_line":400})
    136. read_file({"path":"tests/support/fakes/qdrant.py","start_line":120,"end_line":215})
    137. read_file({"end_line":680,"path":"src/devops_cli/ai/rag/indexer.py","start_line":630})
    138. search_code({"text":"def cleanup_removed_repos"})
    139. read_file({"end_line":200,"path":"src/devops_cli/ai/rag/ingest.py","start_line":144})
    140. read_file({"path":"k8s/devops/workflowtemplate-rag-ingest.yaml"})
    141. search_code({"text":"DEFAULT_RAG_COLLECTION = "})
    142. search_code({"text":"\"project_name\": chunk.project_name"})
    143. read_file({"end_line":852,"path":"src/devops_cli/commands/rag.py","start_line":835})
    144. read_file({"end_line":55,"path":"tests/support/fakes/qdrant.py","start_line":44})
    145. search_code({"text":"The docs ingestor writes files nothing reads."})
    146. search_code({"text":"singleNamespace"})
    147. read_issue({"number":1653})
    148. find_issues({"terms":"rag ingest coverage"})
    149. list_files({"directory":"k8s/devops"})
    150. read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":250,"end_line":430})
    151. search_code({"text":"def points_intact"})
    152. read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":620,"end_line":720})
    153. read_file({"end_line":770,"path":"src/devops_cli/ai/rag/indexer.py","start_line":711})
    154. read_file({"end_line":60,"path":"k8s/devops/cronworkflow-rag-ingest.yaml","start_line":1})
    155. read_file({"end_line":300,"path":"tests/ai/rag/test_rag_ingest.py","start_line":180})
    156. read_file({"end_line":60,"path":"k8s/devops/workflowtemplate-rag-ingest.yaml","start_line":25})
    157. read_file({"end_line":60,"path":"docs/adr/0005-review-findings-come-from-tools-not-models.md","start_line":1})
    158. read_file({"end_line":30,"path":"k8s/argo-workflows/values.yaml","start_line":15})
    159. search_code({"text":"index-libraries"})
    160. read_file({"end_line":870,"path":"src/devops_cli/commands/rag.py","start_line":820})
    161. read_file({"end_line":215,"path":"tests/support/fakes/qdrant.py","start_line":190})
    162. read_file({"end_line":250,"path":"src/devops_cli/config/defaults.py","start_line":238})
    163. read_file({"end_line":340,"path":"src/devops_cli/ai/rag/indexer.py","start_line":320})
    164. read_file({"end_line":15,"path":"k8s/devops/kustomization.yaml","start_line":1})
    165. list_files({"directory":"k8s/argo-workflows"})
    166. search_code({"text":"namespace: argo-workflows"})
    167. search_code({"text":"def ci"})
    168. search_code({"text":"--only"})
    169. search_code({"text":"ci test"})
    170. list_files({"directory":"src/devops_cli/commands"})
    171. search_code({"text":"count_points("})
    172. read_issue({"number":1653})
    173. find_issues({"terms":"rag ingest coverage"})
    174. file_symbols({"path":"tests/ai/rag/test_rag_ingest.py"})
    175. read_file({"end_line":460,"path":"tests/ai/rag/test_rag_ingest.py","start_line":418})
    176. read_file({"end_line":545,"path":"tests/ai/rag/test_rag_ingest.py","start_line":495})
    177. read_file({"end_line":870,"path":"src/devops_cli/ai/rag/indexer.py","start_line":800})
    178. read_file({"end_line":220,"path":"src/devops_cli/ai/rag/drift.py","start_line":180})
    179. read_file({"end_line":60,"path":"src/devops_cli/ai/rag/kb_sync.py","start_line":30})
    180. read_file({"end_line":30,"path":"k8s/argocd/apps/argo-workflows.yaml","start_line":1})
    181. read_file({"end_line":120,"path":"tests/ai/rag/test_rag_ingest.py","start_line":110})
    182. read_file({"end_line":45,"path":"src/devops_cli/ai/rag/ingest.py","start_line":225})
    183. read_file({"end_line":100,"path":"tests/ai/rag/test_rag_ingest.py","start_line":55})
    184. read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":250,"end_line":420})
    185. read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":1,"end_line":130})
    186. search_code({"text":"def points_intact"})
    187. read_file({"end_line":300,"path":"tests/ai/rag/test_rag_ingest.py","start_line":180})
    188. read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":720,"end_line":760})
    189. read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":636,"end_line":670})
    190. read_file({"end_line":732,"path":"src/devops_cli/ai/rag/indexer.py","start_line":690})
    191. search_code({"text":"_load_cache"})
    192. list_files({"directory":"k8s/devops"})
    193. read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":250,"end_line":400})
    194. read_file({"path":"k8s/devops/cronworkflow-rag-ingest.yaml"})
    195. read_file({"path":"k8s/devops/workflowtemplate-rag-ingest.yaml","start_line":1,"end_line":60})
    196. read_file({"path":"k8s/argo-workflows/values.yaml","start_line":1,"end_line":45})
    197. read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":630,"end_line":740})
    198. read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":180,"end_line":320})
    199. read_file({"path":"k8s/devops/kustomization.yaml"})
    200. read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":28,"end_line":60})
    201. read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":320,"end_line":340})
    202. read_file({"path":"src/devops_cli/config/defaults.py","start_line":238,"end_line":252})
    203. read_file({"path":"src/devops_cli/commands/rag.py","start_line":830,"end_line":860})
    204. search_code({"text":"def test"})
    205. list_files({"directory":"src/devops_cli/commands"})
    206. search_code({"text":"only"})
    207. read_file({"path":"src/devops_cli/commands/test_cmd.py","start_line":1,"end_line":60})
    208. search_code({"text":"--only"})
    209. search_code({"text":"ci test"})
    210. list_files({"directory":"k8s/argo-workflows"})
    211. read_issue({"number":1653})
    212. read_file({"path":"k8s/argo-workflows/kustomization.yaml"})
    213. find_issues({"terms":"rag ingest coverage"})
    214. search_code({"text":"argo-workflows"})
    215. read_file({"path":"tests/support/fakes/qdrant.py","start_line":190,"end_line":230})
    216. read_file({"path":"src/devops_cli/ai/rag/ingest.py","start_line":200,"end_line":250})
    217. search_code({"text":"project_name="})
    218. read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":740,"end_line":800})
    219. search_code({"text":"run_ingest_pass"})
    220. read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":320,"end_line":420})
    221. search_code({"text":"failure_class"})
    222. search_code({"text":"\"repair\""})
    223. read_file({"path":"src/devops_cli/roadmap/failure.py","start_line":100,"end_line":200})
    224. search_code({"text":"_run_collection"})
    225. read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":680,"end_line":770})
    226. search_code({"text":"def safe_resolve_subpath"})
    227. search_code({"text":"def is_forbidden_system_path"})
    228. read_file({"path":"tests/ai/rag/test_multi_project_indexing.py","start_line":1,"end_line":120})
    229. search_code({"text":"count_points("})
    230. search_code({"text":"_ensure_collections("})
    231. read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":800,"end_line":880})
    232. read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":920,"end_line":980})
    233. search_code({"text":"service.repos"})
    234. search_code({"text":"def load_settings"})
    235. read_file({"path":"src/devops_cli/config/settings.py","start_line":2734,"end_line":2790})
    236. search_code({"text":"repos: list[str]"})
    237. read_file({"path":"docs/adr/0005-review-findings-come-from-tools-not-models.md","start_line":1,"end_line":25})
    238. read_file({"path":"docs/adr/0005-review-findings-come-from-tools-not-models.md","start_line":35,"end_line":60})
    239. 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).

  11. added
    owner/service
    status/in-progress
    and removed
    owner/service
    status/ready
    on Nov 18, 2026
  12. added
    status/in-review
    and removed
    status/in-progress
    on Nov 18, 2026
  13. devops-cli-service commented on Nov 18, 2026

    @devops-cli-service
    ContributorAuthor

    Pull request #6266 is ready for review. The checks passed.

    Spend: 25 model requests, 1107871 input tokens, 11201 output tokens.

  14. removed
    owner/service
    on Nov 18, 2026
  15. removed
    status/in-review
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumpriority/p2-mediumscope/k8ssource/agenttype/testvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions