Add test setup for automated response to Node.js releases
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Dockerfile
- Estrellas
- 8.6k
- Forks
- 2k
- Merge medio
- 10 h 19 min
- PR fusionados (30 d)
- 16
Descripción
What would you like
Add a test setup so that automation responses to new Node.js releases can be tested without requiring production server availability.
Add unit tests and integration tests.
Mock relevant endpoints, such as:
Determine if tests should still assume sourcing musl builds from https://unofficial-builds.nodejs.org or if this should fast-forward to a scenario where this is no longer necessary.
Why is it needed
Automation that deals with processing Node.js updates often fails, leading to manual effort to correct the situation.
Problems have been known about for some time, but efforts so far to correct the issues have had limited success. The outcome of new releases has tended to cause surprises.
Security updates, which typically cause release of updates for each supported release line on the same day, have proved particularly difficult to deal with correctly. Automation is supposed to proceed without waiting for musl builds, which can take many hours, and instead is waiting when it shouldn't.
Planned upstream changes mean that code changes will be necessary:
- promotion of Alpine to Tier 2
- Node.js introduction with alpha releases
If these can be tested before their function is needed, that would help with automation predictability.
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.
Línea de trabajo
No se indican archivos ni puntos de entrada de pruebas. Empieza localizando la automatización que procesa las versiones de Node.js y cómo gestiona nodejs.org/download/release/index.json y las compilaciones de musl. Añade cobertura unitaria y de integración mediante endpoints simulados, incluidos los escenarios security-update y upstream-release, y verifica que la automatización no espere innecesariamente a las compilaciones de musl.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- nodejs
- Área
- release, testing-qa
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 52/100