Skip to content

revert: remove in-memory TTL cache for GitHub API responses#108

Closed
John-David Dalton (jdalton) wants to merge 1 commit intomainfrom
revert-api-cache
Closed

revert: remove in-memory TTL cache for GitHub API responses#108
John-David Dalton (jdalton) wants to merge 1 commit intomainfrom
revert-api-cache

Conversation

@jdalton
Copy link
Copy Markdown
Collaborator

Summary

Reverts the in-memory TTL cache added in 3d14b95 which caused test failures in CI.

The cache interfered with vitest mocks — cached responses from one test leaked into subsequent tests running concurrently, causing 25 test failures in releases-github.test.mts.

The rate limit issue that motivated the cache should be addressed at the build layer (skip rebuild when fresh) rather than the API layer.

@jdalton
Copy link
Copy Markdown
Collaborator Author

Closing — the TTL cache code was already removed in e438710 (PR #107).

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