Label resolver: one of its three head comparisons does not fold case, and edited PRs never reconcile
Los mantenedores suelen responder en 3 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- github-actions, typescript
- Área
- ci-cd
Línea de trabajo
The pull_request_target types are listed in label-pr-review-state.yml (lines 21-33), and the head-branch comparison is in the resolver those tests exercise. Read pr-review-state-workflow.test.ts (around lines 4398-4410) and fork-review-followup-workflow.test.ts (around lines 216-230). Done means both case-insensitive matching and the edited type are covered by passing tests. Open PR #2489 already carries the resolver fix and awaits approval, so coordinate there first.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happens
-
The resolver that decides whether a
workflow_runbelongs to a PR compares head branch, head SHA and base repository; two fold case andpr.head?.ref === run.head_branchdoes not. A run whose branch differs only in case resolves to "no PR", and that PR never learns its checks finished. -
Reconcile never runs when a PR's title or body is edited. The
pull_request_targettypes areopened, reopened, ready_for_review, converted_to_draft, synchronize, review_requested, review_request_removed, labeled, unlabeled(label-pr-review-state.yml:21-33) - noedited. A description fix does not refresh the labels a maintainer reads.
Evidence
- Case: two CI-run tests in #2489 -
pr-review-state-workflow.test.ts:4398-4410andfork-review-followup-workflow.test.ts:216-230. edited: the trigger block above, read at head2b70528c00; noeditedappears underpull_request_target.is:issue is:open workflow_run reconcile labelsreturns nothing, and #1707, #2046, #2086 and #2133 - cited by these workflows' comments - are all closed. Nothing open tracks either defect, which is why #2489 says "Closes: # none".
Where the fix is
#2489 carries the resolver fix (4 files, +433/-17; 23/23 checks success at 18:30Z) and waits on a human approval. Adding edited to that same trigger block is a one-line change and is not part of that PR.
Limits
- Not a claim that the label service fails generally: it reconciles on push, review and comment events plus the hourly sweep. The gaps are case-sensitive branch matching and the missing
editedtype. - A fork account cannot label, merge or edit a workflow file; this states only what the files say.
- Lenguaje dominante
- TypeScript
- Estrellas
- 2k
- Forks
- 301
- Merge medio
- 3 d 14 h
- PR fusionados (30 d)
- 103
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Zoo-Code-Org/Zoo-Code
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Zoo-Code-Org/Zoo-Code#2773 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Zoo-Code-Org/Zoo-Code#2717 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Zoo-Code-Org/Zoo-Code#2515 ·
Los mantenedores suelen responder en 3 días
-
fix(scripts): stryker-diff.mjs spawns the extensionless .bin shim and cannot run on WindowsPosiblemente ocupada @easonLiangWorldedtech la tomó hace 15 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Zoo-Code-Org/Zoo-Code#2514 ·
Los mantenedores suelen responder en 3 días
-
[BUG] search_files hides matching text on long linesPosiblemente ocupada @DananjayaNadun la tomó hace 9 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Zoo-Code-Org/Zoo-Code#2496 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 3 días
Todos los issues de Zoo-Code-Org/Zoo-Code
Issues similares
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
EPPIcenter/sampledb3#162 ·
-
Particle-1 modelAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
tashfeenahmed/freellmapi#2169 ·
Los mantenedores suelen responder en 1 día
-
via-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
Los mantenedores suelen responder en 1 día
-
🎙️ task - feat(mechanic): pave git.pull.close, a close of a superseded pull with its why on recordAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ehmpathy/rhachet-roles-ehmpathy#1576 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
vercel-labs/ui#1563 ·
Los mantenedores suelen responder en 1 día