[Task]: Allow for different enforcement actions based on version status

オープン
#16,520 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
領域
backend

調査の方向性

The issue does not name implementation files or tests. Start by tracing how reviewer policy decisions select enforcement actions for pending and public versions, then identify where version status is available in that flow. Done means one decision can trigger different actions for each version status, including multiple actions where needed.

索引モデルが issue の本文から書いたものです。

説明

Description

With changes we made earlier this year, e.g. to retroactive reviews, actioning a public version would be different from actioning pending versions for many policies.

As an example, a reviewer selecting policy violation X might result in:

  • The pending versions being rejected immediately.
  • The public versions being rejected with a delay.

The distinction for public vs pending versions for actions is needed to accommodate appropriate enforcement, balancing safety and developer friction and meeting requirements from initiatives like the ones mentioned above.

This feature is needed in order to enable the policy selections-only work in the reviewer tools, which in turn was made a dependency on re-enabling content-review.

Acceptance Criteria
  • Enforcement actions take into account versions status and one decision can take different and multiple actions depending on the version status.

┆Issue is synchronized with this Jira Task

主要言語
Makefile
スター
135
フォーク
52
平均マージ
6日 18時間
マージ済み PR(30日)
7

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mozilla/addons のほかの issue

mozilla/addons の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。