-
-
Notifications
You must be signed in to change notification settings - Fork 27
Fail corpus validation when no Wave sources are discovered #810
Copy link
Copy link
Closed
Labels
bugA problem that causes incorrect behavior or crashes.A problem that causes incorrect behavior or crashes.good first issueIssues that are good for newcomers or first-time contributors.Issues that are good for newcomers or first-time contributors.needs testingIssues that require additional testing or verification.Issues that require additional testing or verification.
Description
Activity
Metadata
Metadata
Assignees
Labels
bugA problem that causes incorrect behavior or crashes.A problem that causes incorrect behavior or crashes.good first issueIssues that are good for newcomers or first-time contributors.Issues that are good for newcomers or first-time contributors.needs testingIssues that require additional testing or verification.Issues that require additional testing or verification.
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
ade878134519b0f957ca28a23c6f9cd98e43dff3are byte-identical to canonical master286dad9c8fcb0616f7c719c72cbf453a7d9925fd.Observed:
Corpus result: 0 passed, 0 failedandexit: 0. This isolates discovery; no compiler process is started.Scope
Easy: reject an empty maintained corpus. When
--run-std-examplesis requested, also reject an empty std-example selection. This adds failure behavior beyond the general test-coverage tracking in #354.Completion criteria