Skip to content
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

[Bug]: Several pending rejections for the same version leading to using the wrong rejection message #14793

Closed
1 task done
wagnerand opened this issue May 16, 2024 · 3 comments · Fixed by mozilla/addons-server#22256

Comments

@wagnerand
Copy link
Member

wagnerand commented May 16, 2024

What happened?

When a version has multiple delayed-rejections pending (issues on different days), when the delay times out, we seem to use the copy of the first delayed-rejection, instead of the last.

STR (not verified, but we believe this is what happened on prod):

  1. A developer submits an add-on
  2. A reviewer delay-rejects with message "A"
  3. A few days later, a reviewer delay-rejects with message "B" (this can happen when A was missing source code which was provided by the developer in the meantime)
  4. When the delay times out, the rejection is executed with reason "A"

What did you expect to happen?

When the delay times out, the rejection is executed with reason "B" (the copy of the last delayed-rejection issued).

Is there an existing issue for this?

  • I have searched the existing issues

┆Issue is synchronized with this Jira Task

@diox diox self-assigned this May 16, 2024
@diox diox added this to the 2024.05.30 milestone May 16, 2024
@ioanarusiczki
Copy link

I tried with this version

  1. delay rejected with reason A
  2. sent the source code , the version shows up in the Manual Review queue
  3. delay rejected with reason B
  4. waited for the delay to expire (been changing it from admin to get the email today)

it's reason A in the final email (probably content is a bit different, I've the prefs for abuse reports set and it's also sending an appeal url)

delay rejected with reason A

@ioanarusiczki
Copy link

I've 2 add-ons set with delayed rejections, I'll let them expire and then check the final email sent.

https://reviewers.addons-dev.allizom.org/en-US/reviewers/review-listed/630914
and
https://reviewers.addons-dev.allizom.org/en-US/reviewers/review/630916

@ioanarusiczki
Copy link

This is verified on -dev

reasonB when rejected

reason B final email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants