Live, self-updating test dashboard (continuous guiding light)#135
Merged
Conversation
…g light) A local read-only web dashboard (npm run dashboard → http://localhost:3199) that watches every graphdone.unified-report/1 run across BOTH repos (Core test-artifacts/unified* + Cloud live-full-report/<stamp>), accumulates trend history that survives Core's per-run overwrite, and updates itself LIVE over SSE when a new run lands — no zip, no manual refresh. - Performance & health trend charts over time (suite pass-rate/failures/duration; graph idle/drag/interaction FPS, load, tick cost, query p95, drift; physics settle; VLM score) — hand-rolled inline SVG, zero deps. - Runs timeline + per-check drill-down (citable §-refs) with embedded screenshots and video clips; a media gallery. - Append-only JSONL history + retention-capped media snapshots of clobber-prone runs (under the already-gitignored test-artifacts/dashboard/). Zero runtime deps (node:http + SSE + native-ESM modules shared by Node tests and the browser). Read-only, bound to 127.0.0.1; media served only from within a run's report dir (realpath-checked, traversal/symlink-escape rejected, media-ext allowlist) with HTTP Range support; CSP on the shell; /static is a 3-file allowlist. 31 unit tests; hardened against a 4-lens adversarial review (Range suffix-bytes, runId/snapshot/history-staleness, canonical metric keys). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
🧪 Comprehensive Test Suite
Full-stack smoke gate runs in the CI workflow. |
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.
A local, read-only web dashboard —
npm run dashboard→ http://localhost:3199 — that is the single guiding-light surface for test health + performance as you work.graphdone.unified-report/1run across both repos (Coretest-artifacts/unified*+ Cloudlive-full-report/<stamp>), accumulates trend history that survives Core's per-run overwrite, and updates live over SSE when a new run lands (no zip, no refresh).node:http+ SSE + native-ESM modules shared by Node tests and the browser). Read-only, bound to127.0.0.1; path-safe media serving (realpath + traversal/symlink reject + media-ext allowlist) with HTTP Range; CSP on the shell;/static3-file allowlist.Verified: 26 unit→31 pass; live server indexed 10 runs + metrics from both repos; charts/drill-down/media render with zero console errors; SSE live-update + keyboard activation confirmed; Range (incl. suffix bytes) + traversal blocks validated.
🤖 Generated with Claude Code