Repository navigation
feat: compare results with an earlier moment, and self-contained HTML reports - #152
Merged
Merged
Conversation
…L report - POST /api/v1/runs/compare groups each check as newly failing, fixed, still failing, slower (50% and 50 ms, as on Trends), or only in one side. - POST /api/v1/reports/html renders a run or coverage report: one file, styles inline, no scripts, every value escaped, evidence for failures only unless asked. - api-qa run: --html FILE, --baseline FILE (an earlier --json report), and --fail-on new to fail only on checks that passed in the baseline. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eports - Coverage & Risk: Compare with… (before the latest run, 24 hours ago, 7 days ago) lists what is newly failing, fixed, still failing, or slower; each row opens its run. - Run details: Compare with the previous run, and Download HTML report (evidence of passed checks on request; the comparison with the previous run is included). - Coverage & Risk: Export HTML, with the open comparison. - Bulk runs get a batch id, so a whole bulk run counts as the latest run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # backend/app/cli.py
…I reference Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # CHANGELOG.md # README.md # frontend/src/RunDetail.jsx # frontend/src/styles.css
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
POST /api/v1/runs/comparegroups each check as newly failing, fixed, still failing (noting a changed reason), slower (50% and 50 ms, as on Trends), or only on one side.batchIdso a whole bulk run counts as one run.api-qa run --baseline last.jsonprints and records the changes;--fail-on newfails only on checks that passed in the baseline.POST /api/v1/reports/htmlrenders one self-contained file (inline styles, no scripts or external resources, strict CSP meta, every value escaped). Evidence for failures and errors only unless asked.--html report.html(header values masked).docs/GUIDE.md,docs/API.md, and CHANGELOG (Unreleased) updated. Additive only: two new routes, new CLI options, an optionalcomparisonkey in the--jsonreport.Test plan
pytest(333 passed): comparison rules, HTML escaping/CSP/evidence, routes, CLI--baseline/--fail-on new/--htmlnpm test(246 passed),npm run buildnpm run test:e2e(28 passed), including a demo-API test that creates a real new failure, compares, downloads both reports, and opens a run from a row🤖 Generated with Claude Code