Skip to content

Prevent Scanner From Blocking Auto-approval - #25258

Draft
chrstinalin wants to merge 1 commit into
mozilla:masterfrom
chrstinalin:scanner
Draft

Prevent Scanner From Blocking Auto-approval#25258
chrstinalin wants to merge 1 commit into
mozilla:masterfrom
chrstinalin:scanner

Conversation

@chrstinalin

@chrstinalin chrstinalin commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Relates to mozilla/addons#14853

Description

Testing

Checklist

  • Add #ISSUENUM at the top of your PR to an existing open issue in the mozilla/addons repository.
  • Successfully verified the change locally.
  • The change is covered by automated tests, or otherwise indicated why doing so is unnecessary/impossible.
  • Add before and after screenshots (Only for changes that impact the UI).
  • Add or update relevant docs reflecting the changes made.

@chrstinalin
chrstinalin marked this pull request as draft August 6, 2026 15:40
and summary.scanner_actions_executed is not False
)
if already_executed:
if version.channel == amo.CHANNEL_ENTERPRISE:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From a cursory look, nothing wrong with that but I am wondering whether we should do this check in run_actions() directly:

def run_actions(cls, version):

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any case where scanners would need to be run manually on a specific add-on?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants