Skip to content

Fix duplicate documents in Bazel index aggregation#972

Merged
jupblb merged 1 commit into
mainfrom
fix-bazel-duplicate-documents
Jul 2, 2026
Merged

Fix duplicate documents in Bazel index aggregation#972
jupblb merged 1 commit into
mainfrom
fix-bazel-duplicate-documents

Conversation

@jupblb

@jupblb jupblb commented Jul 2, 2026

Copy link
Copy Markdown
Member

The final bazel-out walk matched both the per-target <target>.scip outputs and the per-source shards inside <target>.scip-targetroot/, so every document appeared twice in index.scip. Skip the targetroot subtrees during aggregation and fix the manual merge command in the aspect docstring accordingly.

Verified on bazelbuild/examples java-tutorial: documents dropped from 4 to 2 (one per source file), occurrences/definitions halved.

@jupblb jupblb merged commit a609ba1 into main Jul 2, 2026
23 checks passed
@jupblb jupblb deleted the fix-bazel-duplicate-documents branch July 2, 2026 20:11
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