Skip to content

๐Ÿ—๏ธ๐Ÿ”ง๏ผšsay which verify task failed - #1776

Merged
OpenINFbot merged 1 commit into
livefrom
fix/verify-diagnostics
Aug 8, 2026
Merged

๐Ÿ—๏ธ๐Ÿ”ง๏ผšsay which verify task failed#1776
OpenINFbot merged 1 commit into
livefrom
fix/verify-diagnostics

Conversation

@DerekNonGeneric

Copy link
Copy Markdown
Member

๐Ÿ—๏ธ๐Ÿ”ง Running nps test in a fresh clone ends in a two-hundred-line vnu
usage page and a bare exit 1, with nothing to say which of the thirteen
tasks produced it.

Two separate problems, neither of which CI ever sees.

vnu had nothing to check. verify.htmlValidForVNU globs _site/**.html,
which is empty in a clone nobody has built yet. Handed no files, vnu prints
its entire manual and exits non-zero. CI never hits it because Build runs
before Test. The task now checks first and says one line instead.

verify.all did not name the tasks. It ran them in a loop without
announcing them, so a failure had to be inferred from whichever tool's
output looked wrong. It now announces each task as it starts and lists the
failures at the end.

Before:

NAME
vnu โ€“ The Nu Html Checker
... 200 lines of usage ...
The script called "verify.all" ... failed with exit code 1

After:

==> build/tasks/verify/verify-html-valid-for-vnu.mts
No HTML under _site/ to check. Run `nps build` first.
FAILED: build/tasks/verify/verify-html-valid-for-vnu.mts

This surfaced now rather than earlier because #1774 made verify.all
report failures at all; before that the whole suite reported on whichever
task sorted last.

Verified both ways: with no _site, exactly one task fails and says why;
after nps build, all thirteen pass and nps test exits 0.

@netlify

netlify Bot commented Aug 8, 2026

Copy link
Copy Markdown

โœ… Deploy Preview for gh-pages-openinf ready!

Name Link
๐Ÿ”จ Latest commit eb4e1e7
๐Ÿ” Latest deploy log https://app.netlify.com/projects/gh-pages-openinf/deploys/6a76cc0bb47d2e0008c304d3
๐Ÿ˜Ž Deploy Preview https://deploy-preview-1776--gh-pages-openinf.netlify.app
๐Ÿ“ฑ Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@OpenINFbot
OpenINFbot force-pushed the fix/verify-diagnostics branch from 8bab4b2 to 0552da0 Compare August 8, 2026 06:10
Running `nps test` in a fresh clone ends in a two-hundred-line vnu usage
page and a bare exit 1, with no indication of which of the thirteen tasks
produced it.

Two separate problems.

vnu prints its whole manual when handed no files, and it gets no files
when _site does not exist -- which is the normal state of a clone nobody
has built yet. CI never sees this because Build runs before Test. The task
now says so in one line instead.

And verify.all ran the tasks without naming them, so any failure had to be
inferred from whichever tool's output looked wrong. It now announces each
task as it starts and lists the failures at the end.

Before:

  NAME
  vnu - The Nu Html Checker
  ... 200 lines ...
  failed with exit code 1

After:

  ==> build/tasks/verify/verify-html-valid-for-vnu.mts
  No HTML under _site/ to check. Run `nps build` first.
  FAILED: build/tasks/verify/verify-html-valid-for-vnu.mts

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@DerekNonGeneric
DerekNonGeneric force-pushed the fix/verify-diagnostics branch from 0552da0 to eb4e1e7 Compare August 8, 2026 06:26
@OpenINFbot
OpenINFbot merged commit 2734eaf into live Aug 8, 2026
13 checks passed
@OpenINFbot
OpenINFbot deleted the fix/verify-diagnostics branch August 8, 2026 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants