test-reporter icon indicating copy to clipboard operation
test-reporter copied to clipboard

Add retries on check creation failure

Open nipunn1313 opened this issue 1 year ago • 1 comments

In a build on our project, we saw something like this:

Creating test report Rust Test Results
  Processing test results for check run Rust Test Results
  Creating check run Rust Test Results
Error: HttpError: Server Error

If I am reading the source correctly, the checks are created here https://github.com/dorny/test-reporter/blob/main/src/main.ts#L163 via octokit rest API.

Something like https://octokit.github.io/rest.js/v19#automatic-retries would be nice

nipunn1313 avatar May 10 '23 18:05 nipunn1313

Would be nice. I've gotten the same error and had to re-run the entire workflow.

timcassell avatar May 10 '23 18:05 timcassell