You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[github-data] fix: switch contributions queries from user(login) to viewer form
GitHub treats `user(login: $login).contributionsCollection` as a third-party
query and only returns what's visible on the user's public profile graph --
private contributions get omitted from per-repo / per-day breakdowns even when
the authenticated user IS that login and the "Include private contributions on
profile" toggle is enabled. Result: every private commit silently dropped out
of the activity feed regardless of PAT scope or profile settings.
Switch all four contributions queries (main, paginate PRs, paginate issues,
paginate reviews) to the `viewer` form which returns the authenticated
viewer's complete contributions including granular private-repo data.
Drops the now-unused $login variable from each query and the `login`
parameter from `fetchContributionsCollection`. The viewer login is still
captured via `fetchViewerLogin` for the SyncActivityResult diagnostic.
Tests updated to use the `viewer` mock shape; 489/489 pass.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: manifest.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
2
"id": "github-data",
3
3
"name": "GitHub Data",
4
-
"version": "0.0.4",
4
+
"version": "0.0.5",
5
5
"minAppVersion": "1.0.0",
6
6
"description": "Mirror GitHub state (repos, issues, PRs, releases, Dependabot, Actions, contribution activity) into vault-native markdown. Pull-in only; vault data stays in the vault.",
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "obsidian-github-data",
3
-
"version": "0.0.4",
3
+
"version": "0.0.5",
4
4
"description": "Mirror GitHub state (repos, issues, PRs, releases, Dependabot, Actions, contribution activity) into vault-native markdown. Pull-in only; vault data stays in the vault.",
0 commit comments