feat(ci): live health dashboard — GitHub API + Gradio Space#3324
Merged
pkooij merged 2 commits intofeat/benchmark-cifrom Apr 8, 2026
Merged
feat(ci): live health dashboard — GitHub API + Gradio Space#3324pkooij merged 2 commits intofeat/benchmark-cifrom
pkooij merged 2 commits intofeat/benchmark-cifrom
Conversation
- spaces/health-dashboard/app.py: Gradio Space that queries the GitHub Actions API directly (no extra datastore). Shows benchmark status badges, success-rate and duration trend charts, and embeds the latest rollout video per benchmark. Results cached 5 min in-memory; video files cached on disk by artifact ID so downloads only happen once. - spaces/health-dashboard/requirements.txt + README.md: Space card with setup instructions for the GITHUB_RO_TOKEN secret (actions:read, metadata:read only). - scripts/ci/parse_eval_metrics.py: runs on the CI host after each eval, reads eval_info.json written by lerobot-eval, extracts pc_success and n_episodes, and writes metrics.json to the artifacts dir. - .github/workflows/benchmark_tests.yml: add "Parse … metrics" and "Upload … metrics" steps (if: always()) after each eval so the dashboard has data even when the eval fails. The Space should be deployed as a private Space under the huggingface org. Required secret: GITHUB_RO_TOKEN (fine-grained, read-only). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…n HF Hub The Gradio Space is now a standalone repo deployed to https://huggingface.co/spaces/lerobot/health-dashboard (private). Only the CI scripts and workflow changes belong in this repo. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
7 tasks
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 CI infrastructure so the private LeRobot health dashboard at
lerobot/health-dashboard
has data to display. Stacked on top of #3319.
The Space itself lives in a standalone HF Spaces repo — this PR only adds the
two files needed on the lerobot side:
How the dashboard works (no extra datastore):
(`Actions=read`, `Metadata=read` on `huggingface/lerobot` only)
so scheduled/nightly jobs (Nightly Deps, Docker) are always shown regardless of run frequency
success rate and episode count
Dashboard panels:
Test plan
🤖 Generated with Claude Code