Skip to content

fix: send rag_for_content for GitLab code_files RAG indexing#7

Merged
fuse merged 1 commit into
developfrom
fix/gitlab-code-files-rag-for-content
Jun 18, 2026
Merged

fix: send rag_for_content for GitLab code_files RAG indexing#7
fuse merged 1 commit into
developfrom
fix/gitlab-code-files-rag-for-content

Conversation

@fuse

@fuse fuse commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Populate rag_for_content on code_files when fields.content.rag is enabled (control plane indexes rag_for_<field> per schema).
  • Omit raw content from ingest when RAG is on to avoid doubling payload size (fixes HTTP 413 on large corpora).
  • Update schema.yml description and add unit test for the RAG payload shape.

Test plan

  • go test ./internal/probe/entities/...
  • Deploy rebuilt gitlab-probe and confirm code_files ingest succeeds
  • Confirm snapshots expose rag_for_content and CP RAG reindex produces chunks

Populate rag_for_content when fields.content.rag is enabled and omit raw
content from ingest to avoid doubling the code_files payload size.
@fuse fuse merged commit 6980aa3 into develop Jun 18, 2026
4 checks passed
@fuse fuse deleted the fix/gitlab-code-files-rag-for-content branch June 18, 2026 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant