Skip to content

Feat/configurable GitHub query limits#165

Open
ShashwatUpadhayay wants to merge 2 commits into
O2sa:mainfrom
ShashwatUpadhayay:feat/configurable-github-query-limits
Open

Feat/configurable GitHub query limits#165
ShashwatUpadhayay wants to merge 2 commits into
O2sa:mainfrom
ShashwatUpadhayay:feat/configurable-github-query-limits

Conversation

@ShashwatUpadhayay

Copy link
Copy Markdown
Contributor

Summary

  • Make GitHub query limits configurable through environment variables:
    • GITHUB_REPO_COUNT
    • GITHUB_PR_COUNT
    • GITHUB_ISSUE_COUNT
    • GITHUB_DISCUSSION_COUNT
  • Add parsing and validation with sensible defaults and upper bounds
  • Replace hardcoded query limits with runtime configuration
  • Document the new environment variables
  • Add unit tests for parsing and validation logic

Testing

  • Verified default values are used when environment variables are missing or invalid
  • Verified valid values are parsed correctly
  • Verified oversized values are clamped to the configured maximum
  • Ran the test suite successfully

@vercel

vercel Bot commented Jun 21, 2026

Copy link
Copy Markdown

@ShashwatUpadhayay is attempting to deploy a commit to the osama's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown

Thank you for the pull request! ✅

A maintainer will review this soon. Please be patient while we take a look. 🙌

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