"submit-requirement" in changes list show incorrect data?

130 views
Skip to first unread message

Jan Linnenkohl

unread,
Nov 2, 2023, 5:34:56 PM11/2/23
to Repo and Gerrit Discussion
Hello,

we use Gerrit version 3.8.2 and have some problems with the visualization of labels.
When going to changes list view we only see "SATSIFIED" (+1) from robot label settings.
The "UNSATISFIED" -1 from a robot are not shown. 
When I do a user -1 on the same label, I can see in the changes list. When removing it, the -1 from the robot with the correct text "Issues found" is visible.

With the "verified" submit-requirement in the screenshot, the submit requirements is still not there in the changes list view, like with the "Static-Analysis" before.
When hovering with the mouse over the status I see the correct -1 for both submit-requirements.

Another question is, how do you get other icon to the place, where the mouse cursor is located. On the Gerrit Review site I see there e.g. the red cancel icon.

Jan

[label "Static-Analysis"]
    function = NoBlock
    value = -1 Issues found
    value =  0 No score
    value = +1 Verified
    defaultValue = 0

[access "refs/heads/*"]
    label-Static-Analysis = -1..+1 group Group-Owner
    label-Static-Analysis = -1..+1 group Jenkins

[submit-requirement "Static-Analysis"]
description = A maximum Static Analysis vote is required or Code-Review +2
applicableIf = -branch:refs/meta/config
submittableIf = label:Static-Analysis=MAX
        overrideIf = label:Code-Review=MAX
canOverrideInChildProjects = true
change view.png
SA_unsatisfied.png

Jan Linnenkohl

unread,
Nov 6, 2023, 6:27:49 AM11/6/23
to Repo and Gerrit Discussion
I don't know, what the "user" setting of the label is doing, but afterwards it works like I was thinking. May be a bug, that's going to be fine, when temporary a user was accesing the label.
Reply all
Reply to author
Forward
0 new messages