DocsPricingBlogChangelog
Sign inStart free
All systems operational
Product
  • Dashboard
  • Documentation
  • Pricing
  • Changelog
Company
  • Blog
  • Why Suga
  • Brand Assets
  • Support
Legal
  • Privacy Policy
  • Terms of Service
  • Acceptable Use
© 2026 Nitric Inc.
DiscordXLinkedIn
Changelog/Fix

Empty repo imports

Apr 22, 2026

If you tried to import a repo you'd just pushed commits to, you might have seen it show up as "empty" and refuse to import, leaving you stuck with no obvious way forward. Fixed now.

Worth sharing the lesson: the GitHub API exposes a `size` field on each repo, and `size === 0` is a tempting shortcut for detecting empty ones. It isn't reliable. That field is updated by a background job on GitHub's side that can lag by up to an hour, so a repo you just pushed to can still report zero size well after the fact. We now detect empties at the branch-fetch stage instead: no branches, no commits, nothing to import. Repos with actual content sail through, regardless of what `size` claims.

Back to changelog