Actions
action #179509
openbot-ng tries to lookup empty user-id
Status:
New
Priority:
Normal
Assignee:
-
Category:
Regressions/Crashes
Target version:
Start date:
2025-03-26
Due date:
% Done:
0%
Estimated time:
Tags:
Description
Observation¶
From
https://gitlab.suse.de/qa-maintenance/bot-ng/-/jobs/4042675#L105
+++ curl -s --fail-with-body --request GET --header 'PRIVATE-TOKEN: [MASKED]' 'https://gitlab.suse.de/api/v4/users?username=jbaier'
+++ jq -r '.[].id?'
++ uid=
++ curl -s --fail-with-body --request GET --header 'PRIVATE-TOKEN: [MASKED]' https://gitlab.suse.de/api/v4/users//gpg_keys
IMHO we should not continue trying to look-up an empty uid but not fail the pipeline as we must not expect all "suse" looking commits to have an according user on gitlab.
Updated by okurz 5 days ago
- Copied from action #179503: »bot-ng | Failed pipeline for master« due to gpg issues added
Updated by tinita 5 days ago
But the problem needs to be fixed even on a higher level.
For example Jan's email address in the commit is jbaier@suse.cz
but his username on gitlab is jbaier_cz
.
I guess I will have the same problem (timueller vs. tinita).
Should we just use a fake email address for our commits to make that logic work?
Actions