Skip to content

docs: add the public sync analyzer page - #3859

Open
OlufemiAdeOlusile wants to merge 1 commit into
feat/dashboard-pagefrom
feat/sync-analyzer-page
Open

OlufemiAdeOlusile wants to merge 1 commit into
feat/dashboard-pagefrom
feat/sync-analyzer-page

Conversation

@OlufemiAdeOlusile

@OlufemiAdeOlusile OlufemiAdeOlusile commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

Stacked on #3846.

Node sync runs can only be compared by hand today, from downloaded results and the sync tests' graph script.

This adds the sync analyzer, a public page in the dashboard's three-column shell: a visitor picks one to four stored node sync runs of one network and sees them on the same graphs, with the sync time per era, slots per second and the run facts in two tables, and a download link for each run's results zip. Like the testing dashboard, its data comes from the testing-results-cache service, which draws the graphs with the sync tests' own script, so the page needs only static hosting and the docs site serves it at /sync-analyzer/. The list of published sync reports is read from this site's Sync Tests page at each visit, so the page holds no report text. A comparison has an address, #<run ids>, that can be shared.

Tested against a local cache holding the four stored mainnet runs and one preview run, on two origins as GitHub Pages and the cache will serve them: all five graphs, both tables, the downloads, the network switch, the deep link and the phone-width layout, in headless Chromium.

Before the next docs deploy, set the sync-analyzer-data meta tag in index.html to the cache's public dashboard host; the committed value is a placeholder like the dashboard's. The cache side is mkoura/testing-results-cache#30; its Caddy block for the dashboard host must forward /sync-analyzer/* to the service under the same allowed origin.

@OlufemiAdeOlusile
OlufemiAdeOlusile force-pushed the feat/sync-analyzer-page branch 7 times, most recently from dd668e0 to 7d6437a Compare November 17, 2026 14:13
The sync analyzer is a static page where a visitor picks one to four
stored node sync runs of one network and sees them on the same graphs,
with the sync time per era, slots per second and the run facts in two
tables, and a download link for each run's results zip. Like the
testing dashboard, its data comes from the testing-results-cache
service: the run list `sync_analyzer.json`, the graphs drawn on the
server by `sync_static_graphs.py` from cardano-sync-tests, and the
zips. The page needs only static hosting, so it lives here and the
docs site serves it at /sync-analyzer/.

The page uses the dashboard's three-column shell: the network switch
and the version pickers in the left rail, the selected runs, the
graphs and the numbers in the middle, the published reports and the
notes on the right. It reads the run list URL from a meta tag in
index.html and reaches the graphs and zips under /sync-analyzer/ on
that URL's origin, so the cache's address is set in one place. The
value committed here is a placeholder, the same as the dashboard's;
set it to the cache's public dashboard host before the next docs
deploy. The list of published sync reports is read from this site's
Sync Tests page at each visit, so the page holds no report text and
no list to keep up to date. A comparison has an address, #<run ids>,
that can be shared.

Tested against a local cache holding the four stored mainnet runs
and one preview run: all five graphs, both tables, the downloads, the
network switch and the phone-width layout.

This branch has not been deployed

No deployments
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.

1 participant