Fail corpus validation when no Wave sources are discovered
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 82/100
調査の方向性
tools/check_wave_corpus.py から始め、corpus_files と resolve_wavec にパッチを適用する、提供された Python の再現コードを実行します。空の maintained-corpus と --run-std-examples のパスを追跡します。完了条件は、空の選択がどちらもコンパイラを起動せずに明確に失敗し、空でない通過する選択がゼロを返すことです。
索引モデルが issue の本文から書いたものです。
説明
Problem
The corpus gate returns success when source discovery yields no files. An incomplete checkout or moved/deleted source tree can therefore produce a green validation run that checked nothing.
Starting points: tools/check_wave_corpus.py.
Reproduction
Executed on Linux amd64 with Python 3.14.7. The affected files at local ade878134519b0f957ca28a23c6f9cd98e43dff3 are byte-identical to canonical master 286dad9c8fcb0616f7c719c72cbf453a7d9925fd.
python3 -B - <<'PYREPRO'
import sys
from pathlib import Path
from unittest.mock import patch
from tools import check_wave_corpus as c
with patch.object(c, 'corpus_files', return_value=[]), \
patch.object(c, 'resolve_wavec', return_value=Path(sys.executable)):
print('exit:', c.main([]))
PYREPRO
Observed: Corpus result: 0 passed, 0 failed and exit: 0. This isolates discovery; no compiler process is started.
Scope
Easy: reject an empty maintained corpus. When --run-std-examples is requested, also reject an empty std-example selection. This adds failure behavior beyond the general test-coverage tracking in #354.
Completion criteria
- An empty corpus returns nonzero with a clear diagnostic.
- Requested example execution cannot pass with zero selected examples.
- A nonempty passing selection still returns zero, and an empty selection launches no compiler.
- 主要言語
- Rust
- スター
- 56
- フォーク
- 21
- 平均マージ
- 4時間 58分
- マージ済み PR(30日)
- 54
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
wavefnd/Wave のほかの issue
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
good first issue performance
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue needs testing
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
swc-project/swc#12576 ·
メンテナーはふだん 1 日以内に返信
-
good first issue gpu serve
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
biomejs/biome#12475 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信