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

BUG: test-reporter does not load all the artifacts

Open STRRL opened this issue 2 years ago • 2 comments

test-reporter would only fetch the first page of artifacts, so it would loss some when the number of artifacts > 30.

GitHub API Reference: https://docs.github.com/en/rest/reference/actions#list-workflow-run-artifacts

Failed CI: https://github.com/chaos-mesh/chaos-mesh/actions/runs/2069421829

Related GitHub API: https://api.github.com/repos/chaos-mesh/chaos-mesh/actions/runs/2069365380/artifacts

Related Codes:

https://github.com/dorny/test-reporter/blob/main/src/input-providers/artifact-provider.ts#L53-L56

STRRL avatar Mar 31 '22 07:03 STRRL

I noticed that here is already a PR relates to this issue: https://github.com/dorny/test-reporter/pull/165

STRRL avatar Mar 31 '22 07:03 STRRL

+1 I am also facing this issue.

macrogreg avatar May 17 '22 09:05 macrogreg