Skip to content

Better account for GitHub App installation tokens - #39

Merged
lkubb merged 1 commit into
mainfrom
tests-updates
Oct 16, 2026
Merged

lkubb merged 1 commit into
mainfrom
tests-updates

Conversation

@lkubb

@lkubb lkubb commented Oct 16, 2026

Copy link
Copy Markdown
Member

What does this PR do?

Fix user-owned repo listing/creation crashing with GitHub App installation tokens (no user account): list falls back to the public listing, create raises the intended error. The fake API now models such tokens, with functional coverage.

Merge requirements satisfied?

Commits signed with GPG?

Yes

@codecov

codecov Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.83%. Comparing base (cfcdbdd) to head (66ba7ed).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
+ Coverage   95.80%   95.83%   +0.03%     
==========================================
  Files         137      139       +2     
  Lines        8311     8385      +74     
  Branches      616      618       +2     
==========================================
+ Hits         7962     8036      +74     
  Misses        296      296              
  Partials       53       53              
Flag Coverage Δ
Linux 95.83% <100.00%> (+0.03%) ⬆️
macOS 95.83% <100.00%> (+0.03%) ⬆️
project 93.02% <100.00%> (+0.01%) ⬆️
py310 87.03% <96.05%> (+0.07%) ⬆️
py311 87.03% <96.05%> (+0.07%) ⬆️
py314 95.79% <100.00%> (+0.03%) ⬆️
salt_3006_27 87.03% <96.05%> (+0.07%) ⬆️
salt_3008_2 95.79% <100.00%> (+0.03%) ⬆️
tests 97.49% <100.00%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 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.

@lkubb
lkubb merged commit 5ae9cd8 into main Oct 16, 2026
16 checks passed
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