Description
Does this issue occur when all extensions are disabled?: Yes/No
VS Code Version: Version: 1.102.0-insider (Universal)
Commit: 01fc0c9
Date: 2025-06-25T13:58:59.902Z
Electron: 35.5.1
ElectronBuildId: 11727614
Chromium: 134.0.6998.205
Node.js: 22.15.1
V8: 13.4.114.21-electron.0
OS Version: Darwin arm64 24.5.0
Title: GitHubSourceControlHistoryItemDetailsProvider fails to get commit author despite valid local commit and GitHub authentication
Description:
Does this issue occur when all extensions are disabled?: No (this appears to be related to the GitHub extension)
Bug Description:
VS Code repeatedly logs warnings about failing to get commit author from GitHub API, despite:
Commit exists locally with valid author info
User is authenticated to GitHub (confirmed in account panel)
Repository exists and is accessible on GitHub
Error Message:
[GitHubSourceControlHistoryItemDetailsProvider][_getCommitAuthor] Failed to get commit author for JDUXer/PomonaRecipeApp/a8d348d8e56c3d593fccb687baec808ba2a64f17: TypeError: Cannot read properties of null (reading 'author')
Steps to Reproduce:
Open repository with GitHub remote
Ensure GitHub authentication is active (confirmed in account panel)
View Git history/timeline or perform Git operations
Error appears repeatedly in output logs (GitHub channel)
Expected Behavior: No errors when fetching commit author data
Actual Behavior: TypeError due to null author property
Additional Information:
git show [commit-hash] --format=fuller shows complete author information locally
Repository URL format is correct: https://github.com/JDUXer/PomonaRecipeApp.git
GitHub authentication is confirmed working (user shown as "JDUXer (GitHub)" in account panel)
Issue persists after reloading window and re-authenticating
Github Output:
2025-06-25 12:40:52.449 [info] Log level: Info
2025-06-25 12:59:55.428 [warning] [GitHubSourceControlHistoryItemDetailsProvider][_getCommitAuthor] Failed to get commit author for JDUXer/PomonaRecipeApp/a8d348d8e56c3d593fccb687baec808ba2a64f17: TypeError: Cannot read properties of null (reading 'author')
2025-06-25 13:10:10.537 [info] Log level: Info
2025-06-25 13:10:23.418 [warning] [GitHubSourceControlHistoryItemDetailsProvider][_getCommitAuthor] Failed to get commit author for JDUXer/PomonaRecipeApp/a8d348d8e56c3d593fccb687baec808ba2a64f17: TypeError: Cannot read properties of null (reading 'author')
2025-06-25 13:14:24.943 [info] Log level: Info
2025-06-25 13:17:13.936 [warning] [GitHubBranchProtectionProvider][updateRepositoryBranchProtection] Failed to update repository branch protection: No GitHub authentication session available.
2025-06-25 13:17:13.959 [warning] [GitHubBranchProtectionProvider][updateRepositoryBranchProtection] Failed to update repository branch protection: No GitHub authentication session available.
2025-06-25 13:17:13.967 [warning] [GitHubBranchProtectionProvider][updateRepositoryBranchProtection] Failed to update repository branch protection: No GitHub authentication session available.
2025-06-25 13:17:41.554 [warning] [GitHubBranchProtectionProvider][updateRepositoryBranchProtection] Failed to update repository branch protection: No GitHub authentication session available.
2025-06-25 13:17:41.555 [warning] [GitHubBranchProtectionProvider][updateRepositoryBranchProtection] Failed to update repository branch protection: No GitHub authentication session available.
2025-06-25 13:18:37.882 [info] Log level: Info