kiegroup / kiegroup/git-backporting

Keep track of requested user ids on Gitlab client

Open
#61 0 comments 0 reactions 0 assignees View on GitHub
good first issue performance
Dominant language
TypeScript
Stars
30
Forks
13
Avg merge
5d 5h
Merged PRs (30d)
4

Description

In the Gitlab client we have to perform additional request to retrieve the user ids in order to correctly setup reviewers and assignees, since it could happen that an assignee is also a reviewers (especially if you consider that backporting is generally automatically executed by CI/CD tools) we could keep track of already requested user ids and check it before doing the rest call.

From a technical point of view this could be implemented as simple key-value map where the key is the `username` and the value is the `userId`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the GitLab client and trace the requests used to resolve users for reviewers and assignees. Implement the username-to-user ID tracking described in the issue, then verify that repeated users reuse the stored ID and do not trigger another REST request.

Written by the indexing model from the issue text.

Assessment

Tech stack
gitlab, typescript
Domain
tooling
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.