Skip to content

Bug: previous run history is empty when a run has more than 30 artifacts #314

Description

@AlveElde

Hi! Just started using the test reporter, and found that the previous run history was empty in a repo with a large-ish number of artifacts.

This is likely because fetchArtifacts lists a previous run's artifacts without taking pagination into account, so it only ever sees the 30 newest artifacts of that run. If the CTRF artifact is not in that window, the run is treated as having no report, and every history-backed report falls back to displaying a single run.

Let me know if I should open a PR with a fix

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions