fix pr-merge relitegation papercuts
Los mantenedores suelen responder en 1 día
@vvbandeira ya está trabajando en esto.
Desde el 28/9/2026.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- git, github
- Área
- ci-cd, developer-experience, devops
Línea de trabajo
Comienza rastreando el punto de entrada de la reevaluación nocturna de CI-Public/pr-merge y su gestión del estado de Jenkins; después, revisa el comportamiento de GitHub API utilizado para los estados de commits y los comentarios de PR. Se considera completado cuando el primer resultado de pr-merge permanece intacto, los resultados nocturnos se publican como un comentario de PR y los fallos repetidos, como #11123, son visibles sin sobrescribir el estado del commit.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Suggested Solution
The first pr-merge is worth keeping and is where nearly all the true signal lands.
Beyond that, one true positive in three weeks.
Perhaps just drop pr-merge litegation and accept and fix the occasional master regression. Regressions happen today and it is dealt with. 1 more regression in three weeks is perhaps the best way. Quality is not about perfection, it is making sound choices.
If re-running pr-merge, have the nightly relitigation post its result as a PR comment instead of overwriting the status. Then #11123 shows up as "failed 9 nights running on jpeg_sky130hd", and the rest shows up as what it is, without a red check on a commit that was green yesterday and will be green tomorrow.
CI stability is an ongoing concern. Possibly re-trigger pr-merge until it goes green, rather than pester the maintainers with empty commits or manual retriggering?
Description
The nightly pr-merge relitigation repaints the check on commits nobody has touched, and it is mostly wrong when it does.
Three weeks of CI-Public/pr-merge status history (187 PR heads, 632 builds, 2026-08-21 -> 2026-09-10):
| builds | red | |
|---|---|---|
| First pr-merge run on a commit | 187 | 12% |
| Nightly reruns of those same commits | 445 | 23% |
| master job, same pipeline, same window | 100 | 2% |
23 PRs were flipped green -> red on code nobody had pushed to. 22 of those were the CI hiccuping: the build died before any test ran, a test timed out, or in one case 4,241 targets went NO STATUS at once. 13 of them went back to green on their own, same commit, no push.
The exception is the interesting part. #11123 is a real catch: pr-head green, pr-merge red on //test:jpeg_sky130hd-tcl_test (Metrics do not satisfy limits: DRT::ANT::errors 1 > 0), every night since 09-02. That is the signal pr-merge exists for, and note what made it legible: nine identical failures in a row, not one red X.
Additional Context
Method. For every open and recently closed PR I pulled the full CI-Public/pr-merge commit-status history for its head SHA from the GitHub API. Because each nightly relitigation is a distinct Jenkins build of the same, unchanged commit, the status history gives a sequence of verdicts per commit. For each red verdict I pulled the tail of the Jenkins console log and extracted the failing bazel targets. Window: 2026-08-21 → 2026-09-10, bounded by Jenkins log retention. 187 PR heads, 632 pr-merge builds.
Categories
| Category | What it means | Signature in the data | |
|---|---|---|---|
| C1 | True positive | The PR merged with current master genuinely breaks something. Actionable by the PR author. | A named test target fails, and keeps failing on every relitigation until the PR or master changes. |
| C2 | False positive — CI instability | Agent/container lost, network, image pull, bazel dies, test timeout. Nothing to do with the PR. | Build ends red with no failing test, or thousands of targets go NO STATUS at once, or a test TIMEOUTs. Same commit is green before and after. |
| C3 | False positive — real failure unrelated to the PR | master itself is broken, or a test is broken/flaky for everyone. | The same failure hits several unrelated PRs the same night. |
| C4 | Unknown | Jenkins discarded the log before I looked. | — |
How often relitigation changes a verdict
| builds | red | red rate | |
|---|---|---|---|
| First pr-merge run on a commit | 187 | 23 | 12% |
| Nightly relitigations of those same commits | 445 | 103 | 23% |
| master branch job, same window | 100 | 2 | 2% |
The master job runs essentially the same pipeline (it adds clang-tidy), and both of its non-green builds were a Jenkins Timeout after 180 seconds and one flaky test — so the pipeline against known-good code is red 2% of the time, while relitigating unchanged PR commits is red 23% of the time.
Every PR that relitigation turned from green to red on unchanged code
. = green, X = red, one character per nightly build of the same commit — no pushes, no rebases in any of these rows.
| PR | nightly pr-merge verdicts on the same, unchanged commit | cause of the red run(s) |
|---|---|---|
| #9097 | ..X.X............. (08-21→09-10) |
C4 log discarded ×2 |
| #10545 | .......X (08-21→08-28) |
C2 timeout: //src/cgt/test:ibex_sky130hd-tcl_test |
| #10847 | ...X..XX.......... (08-22→09-10) |
C4 log discarded ×3 |
| #10983 | ..X. (08-21→08-24) |
C4 log discarded |
| #11025 | ..X..... (08-21→08-28) |
C4 log discarded |
| #11061 | ...........X (08-21→09-03) |
C4 log discarded |
| #11070 | ...........X.. (08-21→09-05) |
C4 log discarded |
| #11121 | .X.. (08-25→08-28) |
C4 log discarded |
| #11123 | .XXXXXXXXX (09-01→09-10) |
C1 //test:jpeg_sky130hd-tcl_test FAILED ×7, C4 ×2 |
| #11196 | .....X....X. (08-22→09-04) |
C4 log discarded ×2 |
| #11211 | ......X..... (08-27→09-10) |
C2 timeout: //src/grt/test:repair_antennas_post_drt_cugr-tcl_test |
| #11225 | .......X (09-03→09-10) |
C2 build died, no test failed |
| #11270 | ...X... (08-30→09-06) |
C4 log discarded |
| #11283 | ....X.... (08-31→09-09) |
C2 build died, no test failed |
| #11286 | ..X. (08-31→09-04) |
C4 log discarded |
| #11303 | ..X.....X (09-02→09-10) |
C2 build died, no test failed ×2 |
| #11311 | ......X (09-03→09-10) |
C2 build died, no test failed |
| #11317 | .......X (09-02→09-10) |
C2 build died, no test failed |
| #11320 | .......X (09-02→09-10) |
C2 build died, no test failed |
| #11323 | ...X..X (09-04→09-10) |
C2 build died; C2 whole build collapsed, 4241 targets FAILED/NO STATUS |
| #11352 | ..X (09-07→09-10) |
C2 build died, no test failed |
| #11355 | ..X (09-08→09-10) |
C2 build died, no test failed |
| #11362 | .X (09-09→09-10) |
C2 build died, no test failed |
Summary of those 37 red runs: C1 7, C2 14, C4 16 — and 13 of the 23 PRs went back to green on the same commit with no push, which settles them as false positives whatever the discarded log said. Most of the remaining ones flipped red for the first time on 09-10 and simply have not had another nightly run yet.
One true positive in three weeks: #11123 (gpl: accumulate nonPlaceArea before multiplying density). pr-head is green, pr-merge has failed every night since 09-02 on //test:jpeg_sky130hd-tcl_test with Metrics do not satisfy limits: DRT::ANT::errors 1 > 0. That is exactly the signal pr-merge exists for — and note how it announced itself: the same failure, reproducibly, every night, not one red build.
All 126 red pr-merge runs in the window, by cause
| cause | red runs |
|---|---|
| A named test target failed | 55 |
| Jenkins log discarded before I could look (C4) | 42 |
| Build died with no test failure (C2) | 15 |
| Whole build collapsed, >20 targets FAILED/NO STATUS at once (C2) | 10 |
| Test timeout/abort only (C2) | 4 |
The named-test failures are not spread across the PR population: 55 of the 63 are on PRs that were already red on their very first pr-merge run, where the author was told on day one and relitigation adds nothing. Only 8 are on PRs that pr-merge had passed, and 7 of those 8 are #11123.
The most frequently failing targets across all red runs — //:fmt_tcl_test (17), //:lint_bzl_test (17), //test:aes_sky130hd-tcl_test (13), //:fmt_bzl_test (12), //test:jpeg_sky130hd-tcl_test (11) — are formatting/lint checks and flow tests that recur across unrelated PRs, which is the C3 shape: the PR is not what changed.
The reds are correlated across unrelated PRs
Distinct PRs red per day, out of all pr-merge builds that day:
| date | builds | distinct PRs red |
|---|---|---|
| 08-21 | 31 | 7 |
| 08-25 | 25 | 4 |
| 09-03 | 29 | 8 |
| 09-04 | 42 | 9 |
| 09-05 | 33 | 9 |
| 09-08 | 43 | 11 |
| 09-09 | 57 | 11 |
| 09-10 | 63 | 23 |
18 of the 19 days with any red had two or more unrelated PRs red. 23 unrelated PRs did not each independently break on 09-10 — that day the master job failed too, on a Jenkins step timeout.
Why this matters for the proposal
A single red pr-merge carries almost no information: 4% of the PRs it newly reddened had a real problem. What does carry information is persistence — the same named test failing night after night, like #11123. A comment listing the recent nightly results makes persistence visible and legible to the reviewer, while a red check mark on a green commit does not, and costs every author an investigation into someone else's infrastructure.
- Lenguaje dominante
- Verilog
- Estrellas
- 3.4k
- Forks
- 1.1k
- Merge medio
- 3 d 11 h
- PR fusionados (30 d)
- 245
Preparar el entorno
- Incluye un Dockerfile o un 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 The-OpenROAD-Project/OpenROAD
-
odb LEF58_MINIMUMCUT: per-cut-class form never sets isPerCutClass, so drt silently drops the rulePosiblemente ocupada @LucasYuki la tomó hace 26 días. Abiertobug drt odb
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
The-OpenROAD-Project/OpenROAD#12176 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
drt: LEF58_SPACING ENDOFLINE MINLENGTH l TWOSIDES is checked one-sided (io passes the TWOEDGES flag as TWOSIDES)Posiblemente ocupada @osamahammad21 la tomó hace 26 días. Abiertobug drt
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
The-OpenROAD-Project/OpenROAD#12173 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
cleanup-opportunity: BUILD files never refer to mockturtle in third-partty/Quizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertobazel enhancement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 76/100
The-OpenROAD-Project/OpenROAD#12160 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
odb: Bazel build fails on linux/aarch64 — char fc compared to EOF in def/lef lexersPosiblemente ocupada @shivarammysore la tomó hace 32 días. Abiertobazel bug odb
Dificultad 1/5 Menos de una hora Aptitud para principiantes 80/100
The-OpenROAD-Project/OpenROAD#12095 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
syn: acd_resynth -apply segfaults on a database resynthesized in an earlier processQuizá libre de nuevo @povik la tomó hace 31 días y no hay ningún pull request abierto. Abiertobug syn
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
The-OpenROAD-Project/OpenROAD#12046 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de The-OpenROAD-Project/OpenROAD
Issues similares
-
Emulator tests fail on mainAbiertoarea: ci
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
GlassworksHQ/glassworks#1548 ·
Los mantenedores suelen responder en 1 día
-
agent/quality testing
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
Los mantenedores suelen responder en 1 día
-
ci
Dificultad 2/5 Medio día Aptitud para principiantes 76/100
ft-dev-org/cloudbridge-oss#103 ·
Los mantenedores suelen responder en 1 día
-
enhancement github_actions good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 94/100
Los mantenedores suelen responder en 1 día
-
documentation ready size:S
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día