Skip to content

fix: enforce tracked-repo allowlist on remaining repos API routes#158

Closed
glorydavid03023 wants to merge 1 commit into
MkDev11:mainfrom
glorydavid03023:fix/repos-api-allowlist-remaining
Closed

fix: enforce tracked-repo allowlist on remaining repos API routes#158
glorydavid03023 wants to merge 1 commit into
MkDev11:mainfrom
glorydavid03023:fix/repos-api-allowlist-remaining

Conversation

@glorydavid03023
Copy link
Copy Markdown

Summary

Test plan

  • CI: pnpm run lint and pnpm build
  • GET tracked repo issues returns 200
  • GET untracked repo issues returns 404

Made with Cursor

Add assertTrackedRepo to list/meta, badges, validations, author feeds, and related-prs index handlers so untracked owner/name pairs cannot read hub cache data.

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 26, 2026

Warning

Review limit reached

@glorydavid03023, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 50 minutes and 6 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 12fc217a-20fa-412d-b207-d61c15bbc937

📥 Commits

Reviewing files that changed from the base of the PR and between aab5b71 and d00b219.

📒 Files selected for processing (9)
  • src/app/api/related-prs/[owner]/[name]/route.ts
  • src/app/api/repos/[owner]/[name]/authors/[login]/issues/route.ts
  • src/app/api/repos/[owner]/[name]/authors/[login]/pulls/route.ts
  • src/app/api/repos/[owner]/[name]/badges/route.ts
  • src/app/api/repos/[owner]/[name]/issues-meta/route.ts
  • src/app/api/repos/[owner]/[name]/issues/route.ts
  • src/app/api/repos/[owner]/[name]/pulls-meta/route.ts
  • src/app/api/repos/[owner]/[name]/pulls/route.ts
  • src/app/api/repos/[owner]/[name]/validations/[number]/route.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

Thanks for contributing. Gittensor policy allows at most 2 open pull requests per contributor at a time.

@glorydavid03023 currently has 3 open pull requests, and this is open PR #3. Please finish or close one of the older open pull requests before opening another.

@github-actions github-actions Bot closed this May 26, 2026
@glorydavid03023 glorydavid03023 deleted the fix/repos-api-allowlist-remaining branch May 26, 2026 04:19
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