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

Abierto
#150 4 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@lowlydba ya está trabajando en esto.

Desde el 2/12/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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.

Lenguaje dominante
Sin datos de lenguaje
Estrellas
2
Forks
1
Merge medio
7 h 3 min
PR fusionados (30 d)
12

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.