feat(github): add owner-scoped aggregation with optional token auth - #39
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add owner-scoped GitHub aggregation for bindings that use
scope.ownerandscope.owner_type.The GitHub fetcher now lists public repositories for organization/user owners, aggregates owner-level snapshots across those repositories, and uses
GITHUB_TOKENwhen present to improve rate-limit headroom. The PR also documents current archived/fork behavior and keeps owner-scopedgithub.contributorsexplicitly deferred.Linked issue(s)
Milestone fit
This advances
v0.3.0by covering the generic GitHub owner aggregation path needed by the demo/runtime. Scheduler work, advanced retry/caching, and owner-scoped contributors remain intentionally out of scope.What changed
ownerandowner_typeGITHUB_TOKENfor GitHub API requestsreposwithowner/owner_typeOut of scope
github.contributorsValidation
Mark what you actually ran:
python3 ./scripts/trim-whitespace.py --checkgo vet ./...go test ./...make ciDocumentation impact
README.mdSPEC.mddocs/AGENTS.md,CONTRIBUTING.md)CHANGELOG.mdReviewer focus
internal/fetch/github.gofor owner-scope parsing, owner repository listing, aggregation, and optional token authinternal/fetch/github_test.gofor deterministic coverage of aggregation and paginationinternal/config/validator.gofor mixed repo/owner scope rejectiondocs/configuration.mdanddocs/reference-dataset.mdfor archived/fork/rate-limit documentationAuditability checklist
Notes for merge
Preferred merge method: