Skip to content

fix(reconciler): skip referrer tags in the indexer - #2049

Merged
tkircsi merged 1 commit into
mainfrom
fix/reconciler-indexer
Aug 19, 2026
Merged

tkircsi merged 1 commit into
mainfrom
fix/reconciler-indexer

Conversation

@tkircsi

@tkircsi tkircsi commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Referrers live in the same repository as their subject record and are tagged with their own CID, so the indexer treated every CID tag as a record and failed to decode them. This produced ERROR log noise and inflated failure counts, re-emitted in full on every restart because the tag snapshot is in-memory.
Inspect the manifest behind each new tag and skip the ones carrying an OCI subject field or the Dir referrer type annotation. Tags that cannot be inspected are still indexed, so a transient registry error does not drop a record.

Fixes #2043

@tkircsi
tkircsi requested a review from a team as a code owner August 19, 2026 11:44
@tkircsi tkircsi self-assigned this Aug 19, 2026
@github-actions github-actions Bot added the size/M Denotes a PR that changes 200-999 lines label Aug 19, 2026
@tkircsi tkircsi added area/dir/server kind/bug Categorizes issue or PR as related to a bug. area/dir/api go Pull requests that update go code and removed size/M Denotes a PR that changes 200-999 lines labels Aug 19, 2026
@codecov

codecov Bot commented Aug 19, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 84.61538% with 6 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
reconciler/tasks/indexer/task.go 71.4% 2 Missing and 2 partials ⚠️
reconciler/tasks/indexer/manifest.go 90.9% 1 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@tkircsi
tkircsi merged commit d272687 into main Aug 19, 2026
33 checks passed
@tkircsi
tkircsi deleted the fix/reconciler-indexer branch August 19, 2026 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/dir/api area/dir/server go Pull requests that update go code kind/bug Categorizes issue or PR as related to a bug.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Reconciler indexer treats referrer CID tags as records and fails to decode them

2 participants