Skip to content

feat(pkgsite): adapt v1 API and redis rate limiting - #28

Merged
garrettladley merged 1 commit into
mainfrom
gml/pkgsite-api-adaptation
Sep 13, 2026
Merged

garrettladley merged 1 commit into
mainfrom
gml/pkgsite-api-adaptation

Conversation

@garrettladley

Copy link
Copy Markdown
Owner
  • switches upstream requests to pkg.go.dev/v1 with filter, pagination, ambiguity, and structured error handling
  • exposes typed v1 package, module, list, vulnerability, and imported-by fields through primitive JSON_DATA and pkgsite_explain
  • coordinates the upstream 45 qps courtesy limit through shared kv.Store windows with context-aware waiting, retry accounting, and no 429 caching
  • documents the v1 filter syntax and redis-backed caching and rate-limiting behavior

@garrettladley
garrettladley marked this pull request as ready for review September 13, 2026 00:01

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Your trial has ended. Reactivate Greptile to resume code reviews.

@garrettladley
garrettladley merged commit 9f60242 into main Sep 13, 2026
3 checks passed
@garrettladley
garrettladley deleted the gml/pkgsite-api-adaptation branch September 13, 2026 00:01
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