Tell HN: GitHub's Dependabot REST API is silently returning incomplete results

by zetaben 9 comments 8 points
Read article View on HN

9 comments

[−] sheiyei 48d ago
You can trust Microsoft of all companies to make a product with "depend" on the name become unreliable
[−] Bombthecat 48d ago
I think they need to replace more developers with AI.

The developers clearly make to many errors!

[−] PhilipRoman 48d ago
I believe you've always been supposed to handle pagination for this API: https://docs.github.com/en/rest/using-the-rest-api/using-pag...

Paginated-by-default APIs are an annoying pattern, like GitLab CI suddenly breaking after 20 builds, etc. I wish they would start making the pagination parameters required.

[−] zetaben 48d ago
Indeed this API requires pagination but the behavior we are seeing is that even the first page miss entries. A few days ago my test repo was showing 9 open issues in the API and in the UI. Today it's 1 in the API and 9 in the UI :( !
[−] Lunatic666 48d ago
I have the same problem, but you can switch to the GraphQL API, it still provides the full dependabot alerts. For me it’s a lot slower though, because I need more nested queries to get the same data.
[−] kastanie 47d ago
Seeing the exact same behavior :(
[−] zetaben 46d ago
Looks like it's been fixed now!
[−] secure-engineer 47d ago
yup, same. I've been seeing this since Friday
[−] zetaben 46d ago
Looks like it's been fixed now!