Repository navigation
docs: add the public sync analyzer page - #3859
Open
OlufemiAdeOlusile wants to merge 1 commit into
Open
OlufemiAdeOlusile wants to merge 1 commit into
OlufemiAdeOlusile wants to merge 1 commit into
Conversation
OlufemiAdeOlusile
requested review from
ArturWieczorek,
mkoura and
saratomaz
as code owners
November 17, 2026 12:18
OlufemiAdeOlusile
force-pushed
the
feat/sync-analyzer-page
branch
7 times, most recently
from
November 17, 2026 14:13
dd668e0 to
7d6437a
Compare
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.
OlufemiAdeOlusile
force-pushed
the
feat/sync-analyzer-page
branch
from
November 17, 2026 15:14
7d6437a to
d809bce
Compare
This branch has not been deployed
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.
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-datameta tag inindex.htmlto 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.