Roll up sub-issue statuses to the parent issue in sync-project-status
メンテナーはふだん 1 日以内に返信
@lowlydba がすでに取り組んでいます。
2026年12月2日 から。
評価
この issue はまだ評価されていません。
説明
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
Statusset 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
Statuscounts as Backlog if it is open and Done if it is closed. - A sub-issue in several projects uses the
Statusthe 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.
- 主要言語
- 言語のデータがありません
- スター
- 2
- フォーク
- 1
- 平均マージ
- 7時間 3分
- マージ済み PR(30日)
- 12
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。