Detect unmarked breaking changes before a release

Abierto
#1,900 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
22/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
docker-compose, typescript
Área
ci-cd, release

Línea de trabajo

Start with increment-version.ts, which decides when a release becomes a major, and with the v* tag comparison the checks would share. Each check diffs a different artifact against the last tag: /spec.json, .env.template, docker-compose.yaml, and the export column names. The upgrade test also depends on the release workflow from #1870. Done means CI fails on an unmarked breaking change and passes on additions.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Area: Infrastructure Difficulty: High Enhancement Priority: Medium

Follow-up to #1870. A breaking change has to be marked ! today, and increment-version.ts makes the next release a major once one is in range. Nothing yet catches a breaking change that was not marked. Each check below compares against the last v* tag and fails CI on a change that breaks a promise in Versioning and Support when the range has no breaking commit.

  • HTTP API: diff /spec.json against the last tag. Additions pass; a removed or changed path, parameter or schema fails.
  • Deployment config: diff .env.template and docker-compose.yaml against the last tag. A removed or renamed variable, a variable that loses its default, or a removed service, volume or port fails.
  • Export formats: snapshot the column and field names of each export format, so a rename shows up as a snapshot diff.
  • Upgrade test: boot the previous release's images against fresh data, upgrade to the new images, and check that every record still reads and exports. It covers releases made after #1870's release workflow lands; older releases are out of scope.
Lenguaje dominante
TypeScript
Estrellas
119
Forks
19
Merge medio
1 d 18 h
PR fusionados (30 d)
61

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de DouglasNeuroInformatics/OpenDataCapture

Todos los issues de DouglasNeuroInformatics/OpenDataCapture

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.