Repository navigation
Render optional tables from generic dashboard summaries - #23
Merged
Merged
Conversation
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 test artifact can now carry an optional table inside
dashboard-summary.json. The E2E page renders that table for any repository: declared columns, declared row order, and the producer's final display strings, escaped as text. The page does not recalculate tokens, memory, scores, or duration, and it does not branch on a repository name, workflow name, or artifact prefix.A summary without
tablekeeps the current counts-only view. A malformed table is omitted and does not invalidate otherwise valid counts.docs/test-reports.mddocuments this generic contract. Existing score history is unchanged.Validation
On
8a305f80a4e5814b4e964ca2fd6b28b362c103c4:PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s tests -p test_reports.py -v: 15 passed, 0 failed. This includes collection through a repository namedacme/weather-serviceand an artifact namedservice-test-results, and it checks that private extra fields are not retained.python3 -m unittest discover -s tests -vpassed 170/170, and Playwright passed 32/32, includingtest/journey-summary-table.spec.cjs(5 passed) at 1440, 900, and 390 pixel widths.This review re-ran the report parser tests on the same commit. The browser suite was run on this commit before push. The 390px check scrolls the table inside its region and keeps the page from growing wider than the viewport.
Release
User impact: when a test artifact includes
table, the existing E2E page shows it. There is no new navigation path.Compatibility and migration: summaries that omit
tablerender as they do today.