Add a `max-annotations` input
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 78/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- github-actions, javascript
- Área
- ci-cd
Línea de trabajo
Empieza por action.yml, src/inputs.js y src/action.js para seguir cómo se gestionan las entradas, los findings, las anotaciones y el resumen; después, lee test/inputs.test.js y ejecuta npm test -- test/inputs.test.js. Añade un límite configurable de anotaciones con un valor predeterminado alto, conservando el recuento de findings y el código de salida. El trabajo estará terminado cuando las anotaciones de salida mantengan el orden existente, el resumen indique las omisiones y pasen las pruebas de entradas.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Context
A first run on a legacy workspace can emit hundreds of annotations, which floods the diff and makes the action feel hostile. A cap keeps the first pull request readable.
Scope
action.ymlsrc/inputs.jssrc/action.jstest/inputs.test.js
Acceptance criteria
- At most
nannotations are emitted, in the existing order. - The summary says how many were omitted.
- Counts and the exit code still reflect every finding.
- The default is high enough to preserve today's behaviour.
Verification
npm test -- test/inputs.test.js
Complexity
Small (2 hours)
Part of Stellar Wave. Comment to claim this issue before starting.
- Lenguaje dominante
- JavaScript
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 7 h 28 min
- PR fusionados (30 d)
- 10
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin 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 codepacct/codepact-action
-
documentation good first issue wave
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
codepacct/codepact-action#68 ·
Los mantenedores suelen responder en 1 día
-
documentation good first issue wave
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
codepacct/codepact-action#67 ·
Los mantenedores suelen responder en 1 día
-
good first issue tests wave
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
codepacct/codepact-action#66 ·
Los mantenedores suelen responder en 1 día
-
good first issue tests wave
Dificultad 1/5 1-3 horas Aptitud para principiantes 79/100
codepacct/codepact-action#65 ·
Los mantenedores suelen responder en 1 día
-
good first issue tests wave
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
codepacct/codepact-action#64 ·
Los mantenedores suelen responder en 1 día
Todos los issues de codepacct/codepact-action
Issues similares
-
bug security
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
IbrahimHafez1/loadwise#251 ·
Los mantenedores suelen responder en 1 día
-
documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 87/100
erkamyaman/unslop-anything#421 ·
Los mantenedores suelen responder en 1 día