Skip to content

feat(ampup): add token resolution chain and --jobs CLI flag#1777

Closed
mitchhs12 wants to merge 3 commits intomainfrom
mitchhs12/ampup-config-token-resolution
Closed

feat(ampup): add token resolution chain and --jobs CLI flag#1777
mitchhs12 wants to merge 3 commits intomainfrom
mitchhs12/ampup-config-token-resolution

Conversation

@mitchhs12
Copy link
Contributor

@mitchhs12 mitchhs12 commented Feb 16, 2026

Summary

  • Add GitHub token resolution with fallback chain: explicit token → gh auth token → unauthenticated
  • Add --jobs / -j CLI flag to install and update commands for controlling concurrent downloads (default: 4)
  • Groundwork for bounded-concurrency parallel downloads (feat(ampup): bounded-concurrency parallel downloads #1762)

Add GitHub token resolution with fallback chain (explicit → gh auth token → unauthenticated)
and --jobs/-j flag for controlling concurrent downloads in preparation for the download manager.
@mitchhs12 mitchhs12 self-assigned this Feb 16, 2026
@LNSD
Copy link
Contributor

LNSD commented Feb 16, 2026

@mitchhs12 This PR belongs to the Ampup repo

Rename token tests to follow <function>_<scenario>_<outcome> convention,
add Given-When-Then structure, and document that --github-token values
may be visible in process listings.
…ic (#1762)

Add GitHubRateLimiter that parses X-RateLimit-Remaining, X-RateLimit-Reset,
and Retry-After headers. On 429 or rate-limit 403, sets a global pause shared
across all concurrent downloads and retries once. Preemptively pauses when
remaining hits 0. Integrates into GitHubClient via send_with_rate_limit, which
wraps all HTTP methods with rate-limit awareness.
@mitchhs12
Copy link
Contributor Author

mitchhs12 commented Feb 16, 2026

Closing as ampup has been spun off to edgeandnode/ampup.
Reopened as edgeandnode/ampup#4

@mitchhs12 mitchhs12 closed this Feb 16, 2026
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.

2 participants