Skip to content

[CIFuzz] Stop listing artifacts at an empty page - #16192

Open
LucaCappelletti94 wants to merge 1 commit into
google:masterfrom
LucaCappelletti94:upstream/cifuzz-artifact-list-paging
Open

LucaCappelletti94 wants to merge 1 commit into
google:masterfrom
LucaCappelletti94:upstream/cifuzz-artifact-list-paging

Conversation

@LucaCappelletti94

Copy link
Copy Markdown

_get_items keeps paging until it has seen the total_count reported by the first page. If an artifact expires or is deleted mid-listing, later pages come back empty and the loop requests pages until GitHub's API rate limit fails it. It now stops at the first empty page.

And with this PR, I am hopefully done reporting deployment bugs. Thank you very much for making this marvelous tool, we really appreciate it at DataFusion SQLparser.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant