Closed schwern closed 10 years ago
It's coming from inside libgit2 (ie. Git::Raw) which makes it difficult to get a stack trace.
It's coming from clone. Despite double checking with the API that the repository exists after creating it, "git clone" can still get a 404. How frustrating.
Put a backoff wrapper around clone so it tries it several times. Along with push and pull that should cover all the git network interaction.
We get a lot of "Unexpected HTTP status code: 404" in the tests and running of the code. These are not logged indicating they're happening outside the import_releases() function.
Track them down. Consider turning on Carp::Always to get a stack trace.