To reduce server-side requests to GitLab, we added the drupalorg_gitlab_users table and UserService::getGitLabUserId() method. This should be able to fully replace GitLabClientTrait::getGitLabUserIdFromUserId()

Comments

drumm created an issue. See original summary.

drumm’s picture

fjgarlin’s picture

Good find. The "getGitLabUserIdFromUserId" predated that new migration and function.

fjgarlin’s picture

Status: Active » Fixed

I had a few changes in progress and I added this as part of those. See the commit https://git.drupalcode.org/project/drupalorg/-/commit/a2dfaae63f1933b6cb.... The trait function is gone and all usages were changed to the user service function.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.