Frontmatter
| id | 9171 |
| title | DevIndex: Include Repo Owner in Top Repo Logic |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Feb 15, 2026, 6:00 PM |
| updatedAt | Feb 15, 2026, 6:12 PM |
| githubUrl | https://github.com/neomjs/neo/issues/9171 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 9106 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Feb 15, 2026, 6:12 PM |
DevIndex: Include Repo Owner in Top Repo Logic

tobiu
Feb 15, 2026, 6:11 PM
Input from Gemini 3 Pro:
✦ I have increased
maxRepositoriesfrom 5 to 10 in thecommitContributionsByRepositoryquery.Reasoning: Since we cannot sort the contributions by count at the API level (default sort is
OCCURRED_AT), fetching only 5 repositories per year creates a risk of missing a high-contribution repository if the user was active in many other repositories during that year. Increasing the sample size to 10 significantly reduces this statistical risk with negligible impact on API payload size and performance.Changes:
- Updated GraphQL query to fetch
owner { login }.- Updated aggregation logic to use
owner/nameas the key.- Increased
maxRepositoriesto 10.- Added architectural documentation to
Updater.mjs.
tobiu assigned to @tobiu on Feb 15, 2026, 6:12 PM
tobiu added parent issue #9106 on Feb 15, 2026, 6:12 PM
tobiu closed this issue on Feb 15, 2026, 6:12 PM
The Updater service currently stores the top repo as
["name", count]. This is insufficient for linking to the repo or displaying it correctly if the name is ambiguous. We need to store["owner/name", count].Tasks:
fetchUserDatainapps/devindex/services/Updater.mjsto fetchowner { login }in the GraphQL query.repoMapaggregation logic to use${owner}/${name}as the key.