[bug] Repair project issue/PR automation and blocker reconciliation

Aperta
#340 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@qiuethan ci sta già lavorando.

Dal 3/11/2026.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
15/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, python
Ambito
devops, tooling

Direzione di ricerca

Review PR #344 and the .github/PROJECT-BOARD.md runbook first; it contains the replacement workflow and the state policy. After the PR merges, run the hosted workflow in dry-run mode to validate PROJECTS_TOKEN permissions, then write mode and check convergence. Done means hosted transitions and the explicitly linked issue are validated across draft, review, rework, approval, merge, abandonment and reopening while on-hold work and incomplete acceptance remain intact.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area/tooling type/bug
Current status — 2026-11-10

Native project workflows are enabled. The replacement repository reconciler and operational reports remain in open PR #344, awaiting approval and merge into staging. Contributor documentation #345 and agent guidance #346 have already merged.

PR #344's current head, d7edb79dc346261f8ab75424fcef6d9689b01550, has passing CI, including the activation regression guard. The October 27 hosted reconcile failure predates that fix; it is not the current head's CI result. The replacement workflow and scripts are still absent from staging, so hosted token validation, convergence and lifecycle/scheduled acceptance remain outstanding. Keep this issue open until those steps pass; do not re-enable the old workflow.

Area

tooling

Findings
  • blocked-ready-automation.yml is manually disabled; its last runs were in August. Its code never adds project cards and has no PR lifecycle triggers.
  • That old workflow targets a deleted Blocked status option, and its blocker-closure path can reset assigned dependents to Ready. Errors can be warnings in otherwise green runs.
  • Project 13 had no general auto-add rule. It had only sub-issue auto-add. Review changes/approval and reopening rules were disabled.
  • The default branch is already staging. Explicit closing links work there; a plain issue mention is not a closing link, and merge does not establish unperformed acceptance.
Completed configuration and verification
  • Enable native auto-add for open issues/PRs in UTMIST/Misty; exclude only the consolidated automation/report label.
  • Enable changes-requested → In progress, approved → In review and reopened → Backlog.
  • Verify existing new-item → Backlog, linked-PR → In progress, closed/merged → Done and Done → issue close settings; retain two-week closed-issue auto-archive.
  • Verify native issue auto-add, Done-to-close, reopen-to-Backlog and close-to-Done using temporary #343; close as not planned and archive the probe afterwards.
  • Verify native PR auto-add using the substantive on-hold bookkeeping update on #266. Its existing review state initially selected In progress; the explicit Backlog hold was restored manually. Native rules do not honor the new hold label until the replacement reconciler is live.
  • Record explicit on-hold labels for existing deferrals, so later reconciliation does not resume them.
  • Implement local current-state reconciliation for issue/PR/review events and a periodic repair pass, resolving live Status options by name and preserving unrelated project metadata.
  • Pass offline regression tests, Actionlint and label consistency; inspect a read-only live-API plan. No provider/runtime tests or deployment were performed.
Additional automations requested
  • Implement an independent workflow health check with a reusable incident and recovery handling.
  • Implement warning-only PR issue-link and full-scope closure advice.
  • Implement actual Railway deployment evidence on the exact merged PR and its explicit closing issues.
  • Implement one weekly exceptions report, including epic completion/acceptance review.
  • Pass Node 22 offline regression tests, Actionlint and label consistency; preview all additions through read-only live API requests.
  • Create automation/report, automation/health and no-issue-needed labels; save and read back the native auto-add exclusion for report issues.
  • Merge the additional workflows, validate hosted credentials and permissions with manual dry runs, then verify actual scheduled/event-driven execution.

Historical October 26 previews identified review/ownership exceptions and epic #60's acceptance gap. Production deployment 7323061607 resolved to PR #330 with three Railway service observations. Those previews posted no report issues or deployment comments; their queue and ownership snapshot is historical. The new Actions workflows remain pending installation through #344. Documentation companions #345 and #346 are merged.

Remaining before closure
  • Merge documentation companions #345 and #346.
  • Review and merge #344 into staging. It supplies the referenced runbook and replaces the disabled workflow with project-board.yml; do not re-enable the old implementation.
  • Run the new hosted workflow in dry-run mode to validate PROJECTS_TOKEN permissions, then run the write mode and confirm convergence.
  • Exercise draft/review/rework/approval/merge and abandoned/reopened PR transitions during legitimate development, checking the explicitly linked issue too. Preserve on-hold work and incomplete acceptance.
Policy and implementation

The .github/PROJECT-BOARD.md runbook in #344 records the native rules, exact state policy, validation limits, rollout/recovery and rationale for each changed file. GitHub owns issue closure through explicit closing links; the reconciliation code does not invent closure from arbitrary references or a merged partial implementation. Native settings are live; the additional Actions behavior remains pending merge.

Lingua principale
Python
Stelle
0
Fork
2
Merge medio
3g 3h
PR unite (30g)
31

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

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.

Altre issue di UTMIST/Misty

Tutte le issue di UTMIST/Misty

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.