Add configurable project quality-gate policies

Đang mở
#237 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 4 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
typescript
Lĩnh vực
devtools

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
TypeScript
Star
1k
Fork
144
Merge trung bình
4 ngày 19 giờ
Pull request đã merge (30 ngày)
28

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của johannesjo/parallel-code

Tất cả issue của johannesjo/parallel-code

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.