Closed souleb closed 2 months ago
gitlab tests keep failing. I tried a new version locally without success. @makkes any idea?
gitlab tests keep failing. I tried a new version locally without success. @makkes any idea?
I'll take a look.
I was able to find out that the failures start appearing with github.com/xanzy/go-gitlab v0.106.0 and v0.105.0 still works. Need to dig deeper what changed in 106.
I bisected the upstream codebase and identified the bad commit to be https://github.com/xanzy/go-gitlab/commit/f49ba027968b5a34c4f925e885c91a09e50a16df. I suppose we're depending on a specific type of error to be returned.
@souleb I pushed a commit to fix the e2e errors for GitLab. Please see the commit message for an explanation. It's awful. 🤦🏻♂️ They just changed the API surface in a breaking way.
There seems to be one case missing somewhere but I don't have time today to dig into it.
Let's go with go-gitlab v0.105.0 if that's the most recent version that works for us.
I fixed the GitLab breaking changes, but now GitHub broke their public API, the fix is here https://github.com/google/go-github/issues/3248 with no release for it. I will try pin go-github to main.
Description
Update dependencies, notably
github.com/google/go-github/v64
.