Skip to content

contest: gh: retry on GitHub API request errors - #148

Open
matttbe wants to merge 1 commit into
mainfrom
nipa-gh-bpf-abord-retry
Open

matttbe wants to merge 1 commit into
mainfrom
nipa-gh-bpf-abord-retry

Conversation

@matttbe

@matttbe matttbe commented Dec 5, 2026

Copy link
Copy Markdown
Member

The service crashed when GitHub closed the connection without response while polling for results, killing the whole runner because of a transient network error.

Catch request errors while polling, and retry at the next poll instead.

While at it, also set a timeout on requests, to avoid hanging forever on a stalled connection.

The service crashed when GitHub closed the connection without response
while polling for results, killing the whole runner because of a
transient network error.

Catch request errors while polling, and retry at the next poll instead.

While at it, also set a timeout on requests, to avoid hanging forever on
a stalled connection.

Signed-off-by: Matthieu Baerts <matttbe@kernel.org>
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