Skip to content

Commit 28be8e9

Browse files
MDA2AVclaude
andcommitted
Add --test CLI filter, docs links in output, and improve probe results page
CLI: - Add --test option to run specific test IDs (repeatable, case-insensitive) - Show Expected column and docs URL for each test in console output - Improve --help descriptions Website probe results: - Show language in parentheses after server name in summary and tables - Sort servers by (pass + warn) combined score - Show pass + warn breakdown in score column Also fix: - pages.yaml: cancel-in-progress to prevent duplicate artifact error - body/_index.md: "payload body" → "content" (RFC 9112 terminology) - headers/_index.md: Section 5.1 → 5.2 for obs-fold reference - README: document --test option with examples Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2fa5c93 commit 28be8e9

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

docs/static/probe/render.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,12 @@ window.ProbeRender = (function () {
223223
html += '<div style="height:100%;width:' + failPct + '%;background:' + FAIL_BG + ';transition:width 0.3s;"></div>';
224224
}
225225
html += '</div>';
226-
// Score: (pass+warn) / total
227-
var combined = s.passed + warnings;
228-
html += '<div style="min-width:130px;text-align:right;font-size:13px;">';
229-
html += '<span style="font-weight:700;color:' + PASS_BG + ';">' + combined + '</span>';
226+
// Score: pass + warn / total
227+
html += '<div style="min-width:160px;text-align:right;font-size:13px;">';
228+
html += '<span style="font-weight:700;color:' + PASS_BG + ';">' + s.passed + '</span>';
229+
if (warnings > 0) {
230+
html += ' + <span style="font-weight:700;color:' + WARN_BG + ';">' + warnings + '</span>';
231+
}
230232
if (failed > 0) {
231233
html += ' <span style="color:' + FAIL_BG + ';">' + failed + ' fail</span>';
232234
}

0 commit comments

Comments
 (0)