Repository navigation
[docs-site] Add "Moving faster with AI" dashboard to the AI page - #4318
Merged
Merged
Conversation
Add a new dashboard section to the /ai/ site page with three panels: - Adoption at a glance: total + current-GA downloads and a per-release-line table (cumulative stable vs preview downloads) for the last 5 major.minor lines, from the NuGet search API. - Time to keep up with upstream (the hero): a table of recent Skia milestone bumps showing days behind Chrome (branch cut -> PR opened), review time (PR opened -> merged) and time to first NuGet release, each with the day and percent change vs the previous milestone; newest highlighted. - What the automation costs: per-run effective tokens and turns for the sync and API-docs agentic workflows. Data is cached at build time (we regenerate often) rather than fetched live in the browser. A committed dashboard-data.json is the source of truth and the graceful-degradation fallback; scripts/infra/docs/generate-ai-dashboard.py refreshes it from git history (milestone bump PRs -> no GitHub API), the Chromium Dashboard (branch/stable dates) and the NuGet APIs (downloads and first-release dates). Each source degrades independently to its last-known value with an "as of" date, and day-deltas are computed in code, never stored. build-site.yml runs the generator best-effort during "Assemble site". Co-authored-by: Copilot <[email protected]>
Contributor
📦 Try the packages from this PRWarning Do not run these scripts without first reviewing the code in this PR. Step 1 — Download the packages bash / macOS / Linux: curl -fsSL https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.sh | bash -s -- 4318PowerShell / Windows: iex "& { $(irm https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.ps1) } 4318"Step 2 — Add the local NuGet source dotnet nuget add source ~/.skiasharp/hives/pr-4318/packages --name skiasharp-pr-4318More options
Or download manually from Azure Pipelines — look for the Remove the source when you're done: dotnet nuget remove source skiasharp-pr-4318 |
A dual-model consistency review (GPT-5.5 + Opus 4.7) against the workflow files and the new dashboard data surfaced stale hardcoded numbers: - Skia upstream sync runs every 6 hours (cron `0 */6 * * *` = 00/06/12/18 UTC = 4x/day), matching the new cost panel. The hero said "3x" and the workflow card listed "07:00, 12:00, 17:00 UTC"; both corrected. - `.agents/skills/` has 21 skills, not 20 — the page was missing `skill-creator`. Added it (new "Authoring" group) and bumped the hero count; the page list now matches the folder exactly. Verified triage (04:05 UTC, cron `5 4 * * *`) and release-notes (push to main + 00:00 UTC) cards are already correct. Co-authored-by: Copilot <[email protected]>
Contributor
|
📖 Documentation Preview The documentation for this PR has been deployed and is available at: 🔗 View Staging Site This preview will be updated automatically when you push new commits to this PR. This comment is automatically updated by the documentation staging workflow. |
mattleibow
pushed a commit
that referenced
this pull request
Jul 3, 2026
Brings in the 7 commits that landed on main after this sync branch was originally cut (yesterday's automated main-tip run): - e00fa55 [skia-sync] Merge upstream chrome/m151 bug fixes (#4312) - a1ecb75 docs: regenerate API diffs and polish release notes (#4322) - 1c49b4a Remove unnecessary 'unsafe' modifier from GRContextOptions (#3991) - 2d15749 Update docs submodule to latest main (#4304) - 7356c75 [docs-site] Skip PR staging previews for non-site file changes (#4321) - a95cc35 [docs-site] Add 'Moving faster with AI' dashboard to the AI page (#4318) - 72ce599 [infra] Remove obsolete skiasharp-docker registry auth (#4310) Conflicts resolved: - cgmanifest.json: took origin/main (will be overwritten by update-versions.ps1 in the next commit with the new sync SHAs). - externals/skia: took ours (90a2d04943 is a descendant of 98877992a5 from PR #4312 via the corresponding submodule merge PR #278). - docs submodule pointer: took origin/main (b64a0266c from PR #4304). Co-authored-by: Copilot <[email protected]>
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.
Summary
Adds a "Moving faster with AI" dashboard section to the
/ai/site page (documentation/site/ai/), with three panels:major.minorlines.How the data flows
Data is cached at build time (we regenerate the site often) rather than fetched live in the browser:
dashboard-data.jsonis the source of truth and the graceful-degradation fallback.scripts/infra/docs/generate-ai-dashboard.pyrefreshes it from git history (milestone-bump PRs — no GitHub API), the Chromium Dashboard (branch/stable dates) and the NuGet APIs (downloads + first-release dates), reusing the conventions already ingenerate-release-notes.py.build-site.ymlruns the generator best-effort during "Assemble site" (keeps the committed snapshot on failure).Files
documentation/site/ai/index.html— new section +dashboard.jsincludedocumentation/site/ai/ai.css— panel/table styles (theme-aware)documentation/site/ai/dashboard.js— renderer (fetches the cached JSON)documentation/site/ai/dashboard-data.json— committed cache / fallbackscripts/infra/docs/generate-ai-dashboard.py— build-time refresher.github/workflows/build-site.yml— best-effort refresh hookVerified in-browser (light + dark, zero console errors); JS/JSON/PY/YAML all validate.