From c2ec58d7d49ca2f037853db87450da6fb589398a Mon Sep 17 00:00:00 2001 From: LE COZ Cedric <12274523+cedriclecoz@users.noreply.github.com> Date: Tue, 3 Nov 2026 11:56:55 +0000 Subject: [PATCH] fix(github): reduce workflow jobs page size GitHub's /actions/runs/{id}/jobs endpoint times out and returns 502 with per_page=100 on workflow runs with many jobs (~70+), which permanently fails Collect Job Runs and blocks PR conversion for the repo. Reuse PAGE_SIZE (30), as cicd_run_collector already does to avoid oversized responses (#3199). --- backend/plugins/github/tasks/cicd_job_collector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/plugins/github/tasks/cicd_job_collector.go b/backend/plugins/github/tasks/cicd_job_collector.go index 670230d6ce9..b8a01bbd90c 100644 --- a/backend/plugins/github/tasks/cicd_job_collector.go +++ b/backend/plugins/github/tasks/cicd_job_collector.go @@ -95,7 +95,7 @@ func CollectJobs(taskCtx plugin.SubTaskContext) errors.Error { Table: RAW_JOB_TABLE, }, ApiClient: data.ApiClient, - PageSize: 100, + PageSize: PAGE_SIZE, Input: iterator, UrlTemplate: "repos/{{ .Params.Name }}/actions/runs/{{ .Input.ID }}/jobs", Query: func(reqData *api.RequestData) (url.Values, errors.Error) {