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
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