Repository navigation
Conversation
Co-authored-by: Codex <codex@openai.com>
prdai
marked this pull request as ready for review
November 29, 2026 02:19
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
what changed
benchmark/grafana/: local Grafana + Postgres stack with a provisioned dashboard that mirrors every CSV figure (scaling, cost, per-tree phases, selected sizes, cost by service, runs table). Includes the image renderer pinned to 3.12.9; v4/v5 crash on this setup withchrome_crashpad_handler: --database is required.benchmark/src/grafana_load.py: loadsresults/phase-timings.csvinto Postgres directly viapsycopg.benchmark/src/grafana_site.py: renders each Grafana panel to PNG and writes a single self-containedresults/site/index.html.benchmark/wrangler.jsonc+make site-deploy: publish that directory as a Cloudflare Worker with static assets.dashboard-up/dashboard-load/dashboard-downfor local Grafana, andsite/site-deployfor the Grafana-rendered static page.benchmark/README.mdanddocs/running.md.why
There is no Grafana plugin that emits a self-contained static HTML; the official image renderer emits panel PNGs, and snapshots/public dashboards still need a running Grafana. So the deployed static page is built from renderer output. Grafana is the local interactive view; the static page is the deployed artifact.
verification
make -C benchmark dashboard-upstarts Grafana + Postgres and loads the rows;dashboard-loadre-runs idempotently.make -C benchmark siterenders the panels and writes a ~677 KBindex.html.make -C benchmark site-deploydeploys it. Live at https://sce-benchmark.secure-rads-research-site.workers.dev (HTTP 200, 693,180 bytes).uvx ruff==0.17.4 check .andformat --check .pass underbenchmark/.Not verified: custom domain / DNS routing. Deploy requires
CLOUDFLARE_ACCOUNT_IDin the root.env.screenshots
Local Grafana dashboard (the deployed artifact is the static page built from the same panel renders):