Skip to content

feat(authn): add fallback name and email for GitHub auth#5154

Merged
erka merged 2 commits into
v2from
rd/v2/github-no-email
Dec 8, 2025
Merged

feat(authn): add fallback name and email for GitHub auth#5154
erka merged 2 commits into
v2from
rd/v2/github-no-email

Conversation

@erka

@erka erka commented Dec 8, 2025

Copy link
Copy Markdown
Contributor

When a GitHub user does not have a public name or email configured,
the Github API returns null. This change provides sensible fallbacks:

  • Name: Falls back to GitHub login
  • Email: Falls back to GitHub-provided format [email protected]

related #5152

When a GitHub user does not have a public name or email configured,
the Github API returns null. This change provides sensible fallbacks:

- Name: Falls back to GitHub login
- Email: Falls back to GitHub-provided format <id>+<login>@users.noreply.github.com

Signed-off-by: Roman Dmytrenko <[email protected]>
@erka
erka requested a review from a team as a code owner December 8, 2025 13:31
@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Dec 8, 2025
@dosubot

dosubot Bot commented Dec 8, 2025

Copy link
Copy Markdown

Related Documentation

Checked 4 published document(s) in 1 knowledge base(s). No updates required.

How did I do? Any feedback?  Join Discord

@codecov

codecov Bot commented Dec 8, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.56%. Comparing base (7e5bc49) to head (5be2684).
⚠️ Report is 1 commits behind head on v2.

Additional details and impacted files
@@            Coverage Diff             @@
##               v2    #5154      +/-   ##
==========================================
+ Coverage   60.50%   60.56%   +0.05%     
==========================================
  Files         138      138              
  Lines       13495    13499       +4     
==========================================
+ Hits         8165     8175      +10     
+ Misses       4641     4636       -5     
+ Partials      689      688       -1     
Flag Coverage Δ
integrationtests 34.70% <50.00%> (+0.15%) ⬆️
unittests 51.82% <100.00%> (+0.01%) ⬆️

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

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

@markphelps markphelps left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@erka
erka merged commit 485b5d3 into v2 Dec 8, 2025
29 checks passed
@erka
erka deleted the rd/v2/github-no-email branch December 8, 2025 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants