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

Aperta
#150 4 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@lowlydba ci sta già lavorando.

Dal 2/12/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
Nessun dato sulla lingua
Stelle
2
Fork
1
Merge medio
7h 3m
PR unite (30g)
12

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.