Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

perf(pr-pipeline): end the demotion alert's re-run wait as soon as main recovers

Chiusa Adatta ai principianti
#9,013 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Una pull request collegata è già stata integrata.

  • #9082 di @kyle-sexton — integrata

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
76/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, shell
Ambito
ci-cd

Direzione di ricerca

Leggi .github/workflows/post-merge-demotion-alert.yml e segui il controllo di ripristino esistente dopo il ciclo di attesa. Aggiorna il test del ciclo di attesa per verificare che termini al primo controllo quando su main è presente un’esecuzione riuscita più recente di pr-require-checks e che l’output recovered=true e l’avviso corrispondano al percorso attuale dopo il ciclo.

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

Descrizione

needs-human

Refs: #8897, #8898

Problem

post-merge-demotion-alert.yml waits up to 40 one-minute polls for a re-run of a bot-dispatched red run (polls=40), and only after that loop checks whether a newer pr-require-checks run on main succeeded. pr-merge does not re-run these dispatched reds (no red reached attempt 2), so the wait always times out.

All seven dispatched reds between 2026-10-21 20:37Z and 2026-10-22 03:40Z ran the full 40 minutes, then filed nothing because main had already recovered 8 to 30 minutes after the red. For example, alert run 39688650626 ran 22:44:24 to 23:24:43, while main passed at run 39689621793 before 23:00. That is about 280 runner-minutes for no filing. Details: #8898.

Fix

Inside the wait loop, also run the recovery check for a newer successful pr-require-checks run on main after the red run. When one exists, exit with the same "main already recovered" notice and recovered=true output as today. Filing behavior does not change.

Done when a test of the wait loop shows it exits on the first poll where a newer success exists, and the output and notice match the current post-loop path.

Lingua principale
Shell
Stelle
22
Fork
2
Merge medio
6h 58m
PR unite (30g)
951

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.

Altre issue di melodic-software/claude-code-plugins

Tutte le issue di melodic-software/claude-code-plugins

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.