pre-pr-quality-gates: GitHub branch protection is server-side but is required as a file; message prints "Missing " with an empty list
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 74/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- github, typescript
Línea de trabajo
Start in pre-pr-quality-gates.ts, especially the host check around lines 251–268 and message generation around lines 387–402; trace how the law handles remote hosts and collects violations. Check the existing tests for this law and add coverage for GitHub and GitLab remotes and for a branch-protection-only failure. Done means server-side protection is not reported as a missing local file, and the message names the actual violations.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Found in the 8.0.0 self-audit triage: RoC 7.29.1 (npm, 5fc54afe) on a clean clone of develop at 2d2fa9a, with typescript resolvable (verdict compliance, 0 failed / 46 warnings). The bucket method and per-law tables are kept by QA; counts are from that run.
What happens
The law reports "Missing branch protection configuration" for a GitHub repository whose develop and master are protected (GitHub API protected: true, two active rulesets). The detector only looks for .github/{branch_protection,branch-protection,settings}.yml (pre-pr-quality-gates.ts:196-247); isServerSideProtectionHost (:251-268) exempts Bitbucket and Azure but not GitHub or GitLab, although the code comment says protection is server-side. Also, generateMessage (:387-402) prints "Missing " with an empty list when only branch protection failed.
Suggested direction
Treat github.com and gitlab.com remotes as server-side protection hosts (or report not-judged instead of missing); build the message from the actual violations.
- Lenguaje dominante
- TypeScript
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 38 min
- PR fusionados (30 d)
- 96
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 Rule-Of-Code/RoC
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Rule-Of-Code/RoC#436 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Rule-Of-Code/RoC#439 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 49/100
Rule-Of-Code/RoC#438 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 53/100
Rule-Of-Code/RoC#437 ·
Los mantenedores suelen responder en 1 día
-
audit-invocation evidence: committed hooks, CI steps and `node dist/cli.js audit` are not recognisedAbiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
Rule-Of-Code/RoC#434 ·
Los mantenedores suelen responder en 1 día
Todos los issues de Rule-Of-Code/RoC
Issues similares
-
documentation lens:human needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
thebristolsound/birdbrain#2246 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
A voting window past about 69.9 million hours stores a deadline that reads back as no deadlineAbiertobug ready-for-human
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
BoardGamesEmpire/board-games-empire-backend#1452 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
good first issue stretch
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día