Skip to content

fix: retry an owner when GitHub sends one of its repos back as null - #33

Merged
NotAFlightRisk merged 1 commit into
mainfrom
fix/null-repo-nodes
Nov 26, 2026
Merged

NotAFlightRisk merged 1 commit into
mainfrom
fix/null-repo-nodes

Conversation

@NotAFlightRisk

Copy link
Copy Markdown
Owner

Category

Bugfix

Overview

The refresh crashed twice this morning with Cannot read properties of null (reading 'databaseId'). GitHub can send a single repo back as null (with an error next to it) and still answer the rest, and that one null took the whole batch down with it.

Just skipping the null would have been worse, as a list that's short of a repo looks complete, so the save would have deleted that repo and knocked its stars off the owner. So an owner with a gap in its list is treated like one GitHub didn't answer: the crawl snoozes it and tries again later, a later page with a gap cuts the walk short, and a lookup fails the same way it does when GitHub sends nothing back.

Issue Number

N/A

@github-actions github-actions Bot added the bug Something isn't working label Nov 26, 2026
@NotAFlightRisk
NotAFlightRisk merged commit 8486450 into main Nov 26, 2026
9 checks passed
@NotAFlightRisk
NotAFlightRisk deleted the fix/null-repo-nodes branch November 26, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant