[go: up one dir, main page]

Getting source from Git repository step takes over 10 minutes for each workload

Whenever the flow gets created and started, Getting source from Git repository step takes over 10 minutes. Full discussion: &16050 (comment 2794618364)

Here are the detailed logs to showcase the exact problem from the production environment:

  • When I requested a review from GitLabDuo, it almost immediately created a workload and I was able to see it at https://gitlab.com/gitlab-org/gitlab Screenshot_2025-10-02_at_6.40.50_PM

  • From the job logs, I can see it was picked up pretty fast: Running on runner--azerasqr-project-278964-concurrent-0 via runner-azerasqr-s-l-s-amd64-1759444748-6ea2c946...

  • However, it got stuck after the Created fresh repository. step (line 17). Screenshot: Screenshot_2025-10-02_at_6.43.10_PM

  • So, the delay is between Line 17 -> Line 18. Checking out ea5a48f1 as detached HEAD (ref is workloads/8e388f0f861)... showed up after ~12 minutes Screenshot_2025-10-02_at_6.57.40_PM

  • After line 18 appeared, everything else executed pretty fast

  • Basically, Getting source from Git repository step took ~11 minutes Screenshot_2025-10-03_at_12.01.16_AM

  • Job: https://gitlab.com/gitlab-org/gitlab/-/jobs/11584586929

Hopefully this provides the full picture of where it's getting stuck.


To me, it seems like we fetch the fresh clone of the repository for each workload. I think we need to use a pre-built image with the repository already cloned for workload jobs or maybe shallow cloning? 😅

Edited by Kinshuk Singh