Skip to content

Conversation

@nilehmann
Copy link
Member

Track the set of IDs that have been used in a query. This way, we can collect the transitively set of included items. With this set, we avoid triggering queries for ignored items (not in the set of transitively included items) during metadata encoding. This allows us to remove the HACK in core that avoids metadata encoding.

Note that if a def id is included in the final set without producing errors, this does not mean metadata encoding will succeed for this item. This is because checking may not trigger all queries for that item.

@nilehmann nilehmann changed the title Do not trigger queries during metadta encoding for (implicitly) ignored items Do not trigger queries during metadata encoding for (implicitly) ignored items Feb 10, 2026
@nilehmann
Copy link
Member Author

@copilot fix the clippy error in CI

Copy link
Contributor

Copilot AI commented Feb 11, 2026

@nilehmann I've opened a new pull request, #1477, to work on those changes. Once the pull request is ready, I'll request review from you.

@nilehmann nilehmann merged commit f0b3517 into main Feb 11, 2026
9 checks passed
@nilehmann nilehmann deleted the push-vmkzyrtksykv branch February 11, 2026 14:23
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.

2 participants