PR pickup time is considering any comment rather than review comment #8317
Unanswered
AnkeshThakur
asked this question in
Q&A
Replies: 4 comments
-
Make sense, would you like to put up an PR for that? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes. Sure thing! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Nice, looking forward to it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
is this fixed? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The PR pickup time calculation in DORA does not account for review comment. It picks any type of comment for calculation. Any automation (CI/bots etc) can comment on the PR and it would consider it to be picked up.
Code -
incubator-devlake/backend/plugins/dora/tasks/change_lead_time_calculator.go
Lines 183 to 191 in e0584d6
It should filter based on comment type 'REVIEW' and first review comment's timestamp should be used for pickup time calculation. In case there is no review comment, pickup time should be equal to time diff between created_date and merge date.
Beta Was this translation helpful? Give feedback.
All reactions