Skip to content

clone / fetch operations are extremely slow on gitlab cloud repos #1372

Open
@nadavhaik

Description

@nadavhaik

Reproduces on pygit2 1.17.0/1.18.0 / python 3.11 on Mac / Linux:

import pygit2
pygit2.clone_repository("https://gitlab.com/antora/antora", "/tmp/antora")

Takes more than 10 minutes, while the cli equivalent:

git clone https://gitlab.com/antora/antora /tmp/antora 

Takes a few seconds.
Started happening ~10 days ago in our production env, worked well before and still works well for github and bitbucket hosted repos (moving the problematic repos to github solves it).
Started happening out of no where - we didn't deploy or made any change in our environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions