Roll up sub-issue statuses to the parent issue in sync-project-status

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

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

@lowlydba đang làm issue này rồi.

Từ ngày 2/12/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

Parent issues on our project boards drift out of date because their Status is set by hand while the real progress happens in their sub-issues. A parent can sit in Backlog while its children are in progress, or stay open after every child is done. The sync-project-status action only mirrors Status between projects today. We'd like it to also derive each parent's Status from its sub-issues, so the boards reflect the work without manual upkeep.

Closing a parent whose children are all done relies on each project's built-in "Auto-close issue" workflow: the action sets the parent to Done and the workflow closes the issue. That workflow is enabled today on all four synced projects (Overture #84, places-surge #78, CloudDevOps #54, Road to GERS extensions #85), so this part should only need confirming, and enabling on any project added to the sync later. Reopening a closed parent is new for the action and needs the overture-project-manager app to have Issues write, which is managed in omf-github-terraform.

Proposed rules

For an issue that has sub-issues, the first matching rule sets its Status:

# Sub-issues Parent Status
1 All Done or closed Done (Auto-close issue then closes the parent)
2 Any In Progress In Progress
3 Any Blocked Blocked
4 Some Done, the rest Ready or Backlog In Progress
5 Any Ready Ready
6 Otherwise Backlog
  • The rollup is authoritative: a parent Status set by hand is overwritten on the next run.
  • A closed parent whose rollup is no longer Done is reopened and given the rolled-up Status.
  • Sub-issues closed as not planned are ignored, and a parent closed as not planned is never reopened or changed.
  • A sub-issue with no Status counts as Backlog if it is open and Done if it is closed.
  • A sub-issue in several projects uses the Status the existing cross-project sync settles on.
  • Nested parents are evaluated bottom-up so they settle in one run.
  • The result is written to every synced project that contains the parent.

One case is still open: what a parent should get when every one of its sub-issues was closed as not planned.

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
2
Fork
1
Merge trung bình
7 giờ 3 phút
Pull request đã merge (30 ngày)
12

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.

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.