Skip to content

Conversation

@andrew
Copy link
Contributor

@andrew andrew commented Nov 11, 2025

Note: I used claude code to generate this as I'm not experienced with Go, feel free to edit or completely rewrite if you wish. I noticed that there's a lot of repeated 404 requests from parlay within the same time period in the ecosyste.ms logs, I sent claude to investigate and this is what it came up with.

Previously, each SBOM enrichment created a new cache instance, causing repeated API calls for the same packages (including 404s for non-existent packages). This change introduces a global cache singleton that persists for the lifetime of the process, reducing unnecessary API calls to ecosyste.ms.

Previously, each SBOM enrichment created a new cache instance,
causing repeated API calls for the same packages (including 404s
for non-existent packages). This change introduces a global cache
singleton that persists for the lifetime of the process, reducing
unnecessary API calls to ecosyste.ms.
@andrew andrew requested review from a team and garethr as code owners November 11, 2025 15:24
@snyk-io
Copy link

snyk-io bot commented Nov 11, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

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