Skip to content

Improve error messages when fetching github api#1781

Merged
Andarist merged 4 commits into
mainfrom
get-github-info-error-handling
Feb 24, 2026
Merged

Improve error messages when fetching github api#1781
Andarist merged 4 commits into
mainfrom
get-github-info-error-handling

Conversation

@bluwy
Copy link
Copy Markdown
Member

@bluwy bluwy commented Nov 19, 2025

fix #1715

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Nov 19, 2025

🦋 Changeset detected

Latest commit: d657a1d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@changesets/get-github-info Patch
@changesets/changelog-github Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 19, 2025

Codecov Report

❌ Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.86%. Comparing base (0e8e01e) to head (d657a1d).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
packages/get-github-info/src/index.ts 66.66% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1781      +/-   ##
==========================================
- Coverage   81.91%   81.86%   -0.06%     
==========================================
  Files          55       55              
  Lines        2356     2360       +4     
  Branches      705      700       -5     
==========================================
+ Hits         1930     1932       +2     
- Misses        421      423       +2     
  Partials        5        5              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 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.

@Andarist Andarist merged commit d4b8ad8 into main Feb 24, 2026
4 checks passed
@Andarist Andarist deleted the get-github-info-error-handling branch February 24, 2026 22:29
@github-actions github-actions Bot mentioned this pull request Feb 24, 2026
nnecec pushed a commit to nnecec/changesets-docs that referenced this pull request Apr 16, 2026
* Improve error messages when fetching github api

* Fix lint

* tweak

---------

Co-authored-by: Mateusz Burzyński <[email protected]>
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.

missing error handling for github API size limits

2 participants