-
Notifications
You must be signed in to change notification settings - Fork 551
Don't create fake CinderJob for requeues; expose notes in log #24155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't create fake CinderJob for requeues; expose notes in log #24155
Conversation
willdurand
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fine by me, thanks
does that mean if you make a decision that does resolve a job, we will use the flow described in the issue? |
Not sure which flow you're referencing, but the process would be same as now - the job is requeued so it can be resolved again, with the same outcomes (specific appeal response to developers; abuse report resolution response to reporters; etc) |
The flow I was referring to is the flow I have described in the description of the issue, as it is happening as of now on production. If a reviewer makes a decision that does resolve a job, and that decision is then held and subsequently canceled and the version(s) re-enqueued, will that cancel and re-enqueue activity/decision be shown as a an activity in the version history, and will that activity contain the reason the second level reviewer entered? |
The version history would be as the screenshot shows. |
wagnerand-moz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good from a UX perspective, I didn't review the code.
Fixes: mozilla/addons#15652
Description
This attempts to fix the issue in a minimal way: for decisions that weren't originally connected to a job, no "fake" job is created to re-enqueue the decision; and for all cancellations, the notes entered are stored in the activity log and exposed in the reviewer tools version history.
Context
Testing
Checklist
#ISSUENUMat the top of your PR to an existing open issue in the mozilla/addons repository.