As getLastRunTime() only fetches the default number of pipelines, which is 20 as of today, it thinks it never ran.
As we use a monorepo for all CI stuff getting more than 20 pipelines between the daily run of this fantastic tool, we sometimes get duplicated issues.
Adding ListOptions does at least an enhancement to 100 pipelines, but maybe a configurable parameter, and pagination would be an awesome benefit at this.
ListOptions: gitlab.ListOptions{
PerPage: 100,
Page: 1,
},
Pagination example: https://github.com/xanzy/go-gitlab/blob/master/examples/pagination.go
As
getLastRunTime()only fetches the default number of pipelines, which is 20 as of today, it thinks it never ran.As we use a monorepo for all CI stuff getting more than 20 pipelines between the daily run of this fantastic tool, we sometimes get duplicated issues.
Adding
ListOptionsdoes at least an enhancement to 100 pipelines, but maybe a configurable parameter, and pagination would be an awesome benefit at this.Pagination example: https://github.com/xanzy/go-gitlab/blob/master/examples/pagination.go