Xcode Cloud unable to connect to Gitlab Self-managed error, but it still works?

I'm getting the following banner at the top of the Builds tab in Xcode Cloud

Xcode Cloud is unable to connect to your GitLab Self-Managed repository. Reconnect your source control provider so Xcode Cloud can build your source code.Reconnect

Clicking on reconnect says that "GitLab Self-Managed has been successfully connected. Xcode Cloud can now access your source code. ". However, when I refresh the page, the banner comes back. In the Settings, there doesn't appear to be any error under repositories. The builds are running and cloning my repo. It's still concerning though. And for context, I was trying to unlink the gitlab self-managed integration in order to re-link it with a different account, which took days to try and figure out since I keep getting errors in some areas, but not others. I ended up trying these steps, and eventually a build kicked off:

  • Remove the app from my personal gitlab profile
  • Remove the integration to gitlab from Users & Access
  • Add the integration from Users & Access with the new account (creating the app in gitlab)
  • In one of the workflows I had already configured, adding a new primary repository, which is just the same link
  • Make sure every workflow is using that "new" primary repository
  • Delete the old primary repository from the xcode cloud settings for my app

The instructions for adding a repository really need to be updated for this type of scenario, as well as more verbose error messages and logging. For example, my build was queued for hours with no error message

Issue is still intermittently occurring, but it seems like my builds are running without issue. Apple really needs to provide more debug information when it comes to this platform

Xcode Cloud unable to connect to Gitlab Self-managed error, but it still works?
 
 
Q