Skip to content

docs: add the public testing dashboard page - #3846

Merged
mkoura merged 2 commits into
masterfrom
feat/dashboard-page
Nov 30, 2026
Merged

mkoura merged 2 commits into
masterfrom
feat/dashboard-page

Conversation

@OlufemiAdeOlusile

Copy link
Copy Markdown
Collaborator

The public testing dashboard had no home: its page was carried inside the testing-results-cache service and served from the cache host. On the 2026-11-10 sync we agreed that the static front end is hosted on GitHub Pages from this repository, and the cache stays the back end that publishes the data.

This adds the page under src_docs/source/extra/dashboard/, three static files with no build step, and lists that folder in html_extra_path, so the docs build copies it into the site root and the page is served at /dashboard/ next to the documentation. The page reads its data URL from one meta tag in index.html; nothing else in it points at the cache. The data, dashboard.json, is built by the cache after each stats upload (mkoura/testing-results-cache#27 and #28) and served with a CORS header for this site's origin.

Tested by building the docs with the docs dependency group: the site root still holds the documentation index and CNAME, and dashboard/index.html, dashboard.css and dashboard.js sit beside them. The built site was served locally on one origin with the meta tag pointed at a local cache on another origin, behind a Caddy that sends the CORS header; the page fetched the data across origins and rendered two real runs, a smoke regression and a three-step upgrade of 5,529 tests, with the issues panel and the charts. Lint is green.

To deploy: set the meta tag to the cache's public dashboard host, publish with make doc, and give the cache's Caddy block Access-Control-Allow-Origin https://tests.cardano.intersectmbo.org, as the cache README shows.

OlufemiAdeOlusile and others added 2 commits November 30, 2026 12:50
The public testing dashboard is a static page that shows how much
testing runs: runs, tests, test time, CLI invocations, releases
tested, sync runs and the issues our testing found upstream. Its data
is built and published by the testing-results-cache service; the
page itself needs only static hosting, so it lives here and the docs
site serves it at /dashboard/.

The page reads its data URL from a meta tag in index.html, so the
address of the cache is set in one place. It points at the cache's
public dashboard site, which serves dashboard.json with a CORS header
for this site's origin. The folder is listed in html_extra_path and
copied into the site root as is, next to CNAME.
Use the run name and source for metadata, and use per-run release
flags when the feed provides them. Align the charts and tables with
the snapshot date and explain the limits of the recent-run sample.

Label CLI counts and sync attempts accurately, clarify the regression
chart and table timestamps, and retain refresh errors until a fetch
succeeds. Preserve keyboard focus and make selected filters visibly
focused in both themes.
@mkoura
mkoura force-pushed the feat/dashboard-page branch from 0417892 to de0ed4a Compare November 30, 2026 13:03
@mkoura
mkoura merged commit 7c1f1a8 into master Nov 30, 2026
3 checks passed
@mkoura
mkoura deleted the feat/dashboard-page branch November 30, 2026 13:07
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