Skip to content

[Bug][Github_graphql] Job_collector not paginating correctly #8615

@FlomoN

Description

@FlomoN

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

We have repositories with github actions pipelines that consistently have around 30+ Jobs to a run and we noticed we were missing many deployments (which was usually the last job of a run) to be reported in the DORA metrics.

What do you expect to happen

All deployments should be identified correctly, even for github action workflow runs with more than 20 jobs.

How to reproduce

Have multiple github actions workflow runs with more than 20 jobs representing a deployment

Anything else

By peeking at the raw tables in the database we could determine, that these runs that were not detected correctly only ever had exactly 20 jobs in the database instead of the full 30+. So something seems wrong with the pagination of the graphql query.

Version

v1.0.3-beta6

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

type/bugThis issue is a bug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions