Bug: surface actionable errors when component PURL encoding fails (no silent omit)

Abierto
#250 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

  • #331 de @vibgrate-team — cerrado sin fusionar

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
typescript
Área
cli

Línea de trabajo

Start with the vg sbom and vg scan entry points and trace where resolved components are converted to PURLs and omitted on failure. Add a fixture with a pathological package name or path and cover the failure in a test. Done means diagnostics are deterministic, name the package or path, appear in human and machine-readable output, and the chosen handling of the component is documented.

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

Descripción

bug

Context

SBOM / scan pipelines elsewhere have failed or dropped components when package names or paths contain non-ASCII or otherwise invalid PURL characters. Vibgrate should stay local-first and deterministic: never silently omit a component when PURL construction fails.

What to do

  • When vg sbom / vg scan cannot build a valid PURL for a resolved component, emit an actionable error or structured warning (what failed, which package/path, what to do) instead of dropping the row with no trace.
  • Prefer keeping the component in the inventory with a clear “purl unavailable” marker over deleting it, if that matches existing output contracts — document the choice.
  • Add a small fixture with a pathological name/path that exercises the path.

Acceptance

  • Failure mode is visible in human and machine-readable output (no silent omit)
  • Message names the package/path and suggests a next step (no secrets)
  • Deterministic: same tree → same diagnostics
  • Test/fixture covers at least one encoding failure
  • DCO sign-off (git commit -s)
Lenguaje dominante
TypeScript
Estrellas
4
Forks
3
Merge medio
1 d 22 h
PR fusionados (30 d)
76

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 vibgrate/cli

Todos los issues de vibgrate/cli

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.