Skip to content

Conversation

@spencerschrock
Copy link
Member

What kind of change does this PR introduce?

bug fix

What is the current behavior?

Some repositories have 5,000+ CODEOWNERS, which completely exhaust API quota.
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/95890e39aca378c38427afd218e76cc2bbd3fc31/.github/CODEOWNERS

What is the new behavior (if this is a feature change)?**

100 was arbitrarily chosen as the number of codeowners to parse, as a large but not extreme amount of API quota to try and stay under.

  • Tests for the changes have been added (for bug fixes/features)

Which issue(s) this PR fixes

Fixes #4816

Special notes for your reviewer

Does this PR introduce a user-facing change?

For user-facing changes, please add a concise, human-readable release note to
the release-note

(In particular, describe what changes users might need to make in their
application as a result of this pull request.)

NONE

Some repositories have 5,000+ CODEOWNERS, which completely exhaust API
quota. 100 was arbitrarily chosen, as a large but not extreme amount of
API quota to try and stay under.

https://github.com/DefinitelyTyped/DefinitelyTyped/blob/95890e39aca378c38427afd218e76cc2bbd3fc31/.github/CODEOWNERS

Signed-off-by: Spencer Schrock <[email protected]>
@spencerschrock spencerschrock requested a review from a team as a code owner October 10, 2025 23:37
@spencerschrock spencerschrock requested review from AdamKorcz and jeffmendoza and removed request for a team October 10, 2025 23:37
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Oct 10, 2025
@codecov
Copy link

codecov bot commented Oct 10, 2025

Codecov Report

❌ Patch coverage is 33.33333% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 67.89%. Comparing base (353ed60) to head (97ff623).
⚠️ Report is 260 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4817      +/-   ##
==========================================
+ Coverage   66.80%   67.89%   +1.08%     
==========================================
  Files         230      249      +19     
  Lines       16602    19128    +2526     
==========================================
+ Hits        11091    12986    +1895     
- Misses       4808     5279     +471     
- Partials      703      863     +160     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
Copy link

This pull request has been marked stale because it has been open for 10 days with no activity

@github-actions github-actions bot added Stale and removed Stale labels Oct 21, 2025
@spencerschrock
Copy link
Member Author

Spencer to look at if a test case makes sense here, and not too artficial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files.

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

BUG - Contributors check runs till rate limit is exhausted

1 participant