Build passing despite errors/warnings

Abierto
#1,112 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@a-zw ya está trabajando en esto.

Desde el 1/12/2026.

  • #1127 de @a-zw — abierto

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python

Línea de trabajo

Start by tracing how the project configures Sphinx logging and handles docutils.nodes.system_message entries added to the doctree; the issue does not name specific files or tests. Reproduce the reported score-report-bars warning with the custom needs template, then check that a build fails when an error-level system message is present. Look for other build paths that bypass Sphinx logging.

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

Descripción

Description

It is safety-relevant that any warning and error results in a failed build. However, this is only true for warnings going through sphinx.util.logging.

A raw docutils.nodes.system_message (level 3/ERROR) appended to the doctree does not. That happens for content generated within needs templates, for example. Found as score-report-bars resulted in an error but the build passed.

Needs-templates are probably not the only blind spot.

Solution

No response

How to reproduce

We had a custom needs template which relied on score-report-pie. Then #1053 removed it (and added score-report-bars) instead. Upon updating the dependency version, it resulted in Unknown directive type "score-report-bars" but the build succeeded. The output was broken as pie diagrams were simply missing.

Classification

Minor

First Affected Release

All

Last Affected Release

9.1.1

Expected Fixed Release

before release (main)

Category
  • Safety Relevant
  • Security Relevant
Lenguaje dominante
Python
Estrellas
11
Forks
39
Merge medio
1 d 13 h
PR fusionados (30 d)
65

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

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 eclipse-score/docs-as-code

Todos los issues de eclipse-score/docs-as-code

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.