Skip to content

feat: add cache for source metadata#4958

Merged
nichmor merged 15 commits intoprefix-dev:bas/wip/develop-dependenciesfrom
nichmor:feat/add-cache-for-source-metadata
Nov 30, 2025
Merged

feat: add cache for source metadata#4958
nichmor merged 15 commits intoprefix-dev:bas/wip/develop-dependenciesfrom
nichmor:feat/add-cache-for-source-metadata

Conversation

@nichmor
Copy link
Contributor

@nichmor nichmor commented Nov 21, 2025

Description

Adding a cache for SourceMetadata, similar to BuildMetadata.

If BuildMetadata is responsible for answering - what packages ( outputs ) from this package can build,
SourceMetadata is responsible for returning all outputs with run_exports and dependencies solved.

This PR aims to cache these results.

How Has This Been Tested?

AI Disclosure

  • This PR contains AI-generated content.
    • I have tested any AI-generated content in my PR.
    • I take responsibility for any AI-generated content in my PR.

Tools: Claude

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

@lucascolley lucascolley added the enhancement New features label Nov 24, 2025
@nichmor nichmor marked this pull request as ready for review November 24, 2025 12:54
Copy link
Contributor

@baszalmstra baszalmstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should create a cache per package name

@nichmor nichmor merged commit 3ddbbb0 into prefix-dev:bas/wip/develop-dependencies Nov 30, 2025
32 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants