Build passing despite errors/warnings

オープン
#1,112 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@a-zw がすでに取り組んでいます。

2026年12月1日 から。

  • #1127 @a-zw による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
Python
スター
11
フォーク
39
平均マージ
1日 13時間
マージ済み PR(30日)
65

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

eclipse-score/docs-as-code のほかの issue

eclipse-score/docs-as-code の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。