Sync fails sometimes with "Key not unique"

Abierto
#1,293 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
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Activo
Área
backend

Línea de trabajo

Start by investigating the sync baselining path and how ZHSLIB is loaded, since the report says it may be loaded twice and gives #1290 as context. Reproduction is still unavailable, so first establish a failing case and trace the duplicate load. The issue is done when baselining succeeds, or any non-fatal warning no longer emits text containing ERROR # that CI treats as an error.

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

Descripción

bug

Describe the bug

As a follow up to #1290, this issue tracks the underlying cause of the sync failure. The reported error is "Key not unique" on the file hash of what looks like module.xml. It looks like ZHSLIB gets loaded twice. The first time sync baselining works, but the second time it fails.

Relatedly, IPM outputs the error status using a plain write and doesn't throw, but the CI parsing interprets the ERROR # as an actual error, so we should strip that bit of string from the non-fatal warning.

To Reproduce

Unable to so far.

Expected behavior

Sync baselining doesn't fail. And if it does, it should be non-fatal to CI and not output text containing ERROR #

System information (please complete the following information):

  • IPM version: 0.10.10

Additional context

Internal reference DEVOPS-1919

Lenguaje dominante
ObjectScript
Estrellas
41
Forks
33
Merge medio
23 h 20 min
PR fusionados (30 d)
29

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 intersystems/ipm

Todos los issues de intersystems/ipm

Issues similares

Más issues de Backend & API Design

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.