Add configurable project quality-gate policies

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

メンテナーはふだん 4 日以内に返信

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
typescript
領域
devtools

調査の方向性

No files or test paths are named; first read the existing merge-readiness and structured-findings implementation, then trace the project settings and merge-dialog entry points. The dependencies listed are advisory merge summaries, structured findings, and coverage deltas. Done means configured policies evaluate deterministically, report failed rules and overrides accessibly, and have unit tests covering the stated acceptance criteria.

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

説明

enhancement ux

Context

After merge readiness and structured findings are available, projects should be able to decide which signals are informational and which must pass before merging.

GitHub Code Quality uses ruleset thresholds and supports gradual evaluation before enforcement:
https://docs.github.com/en/code-security/how-tos/maintain-quality-code/set-pr-thresholds

Dependencies

  • Advisory “Ready to merge?” summary
  • Structured quality findings
  • Coverage deltas for coverage-based rules

Scope

  • Add per-project policy modes: Off, Advisory, and Block merge.
  • Allow policy rules for:
    • required structured verification
    • PR checks
    • maximum unresolved finding severity
    • minimum coverage and maximum coverage regression
  • Default existing projects to Advisory.
  • Show exactly which policy rule failed in the merge dialog.
  • Provide an explicit, auditable override path where policy allows overrides.

Non-goals

  • Organization-level administration
  • Cloud policy synchronization
  • Opaque aggregate quality scores
  • Letting subjective AI-only notes block merges by default

Acceptance criteria

  • Existing projects retain current merge behavior after upgrade.
  • Advisory mode never disables merge but clearly reports failures.
  • Blocking mode disables merge only for configured, evaluated rules.
  • Missing/unavailable signals have an explicit configurable treatment.
  • Policy evaluation is deterministic and unit tested.
  • Settings and merge UI are keyboard accessible and explain overrides.
主要言語
TypeScript
スター
1k
フォーク
144
平均マージ
4日 19時間
マージ済み PR(30日)
28

環境構築

はじめの一歩

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

johannesjo/parallel-code のほかの issue

johannesjo/parallel-code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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