Revised PER-34 checkpoint 2: Serve the ClickHouse-backed Usage dashboard #20

Open
dev-sync wants to merge 3 commits from agent/dashboard-clickhouse-release-9c109839 into main
Collaborator

The compiled Usage dashboard could be served with a fake reader, but there was no release startup that connected it to the real Usage API.

Start the standalone backend with explicit server-side reader configuration. Ring serves only the checked build at /dashboard and its staged asset URLs, alongside the anonymous same-origin /api/usage/v1. Query semantics, budgets and admission are unchanged. The local fake preview and offline Portfolio remain available.

Passed on TobServer: web and backend format, lint and unit tests; Usage contract, release build and classpath checks; compiled preview parity and a Docker-free release smoke against a controlled HTTP stub. The browser assets are byte-identical to the baseline. No before/after screenshots were captured: there is no UI change and browser review is reserved for TobBook.

Verification gate pending: Run bb check-dashboard-e2e and local browser acceptance on TobBook at this candidate SHA after separate owner authorization for Docker. ClickHouse framing, grants and resource/termination behavior are not accepted by this PR. No activation or deployment.

Model: gpt-6.2-sol · Harness: Pi

The compiled Usage dashboard could be served with a fake reader, but there was no release startup that connected it to the real Usage API. Start the standalone backend with explicit server-side reader configuration. Ring serves only the checked build at `/dashboard` and its staged asset URLs, alongside the anonymous same-origin `/api/usage/v1`. Query semantics, budgets and admission are unchanged. The local fake preview and offline Portfolio remain available. Passed on TobServer: web and backend format, lint and unit tests; Usage contract, release build and classpath checks; compiled preview parity and a Docker-free release smoke against a controlled HTTP stub. The browser assets are byte-identical to the baseline. No before/after screenshots were captured: there is no UI change and browser review is reserved for TobBook. **Verification gate pending:** Run `bb check-dashboard-e2e` and local browser acceptance on TobBook at this candidate SHA after separate owner authorization for Docker. ClickHouse framing, grants and resource/termination behavior are not accepted by this PR. No activation or deployment. Model: gpt-6.2-sol · Harness: Pi
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin agent/dashboard-clickhouse-release-9c109839:agent/dashboard-clickhouse-release-9c109839
git switch agent/dashboard-clickhouse-release-9c109839

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff agent/dashboard-clickhouse-release-9c109839
git switch agent/dashboard-clickhouse-release-9c109839
git rebase main
git switch main
git merge --ff-only agent/dashboard-clickhouse-release-9c109839
git switch agent/dashboard-clickhouse-release-9c109839
git rebase main
git switch main
git merge --no-ff agent/dashboard-clickhouse-release-9c109839
git switch main
git merge --squash agent/dashboard-clickhouse-release-9c109839
git switch main
git merge --ff-only agent/dashboard-clickhouse-release-9c109839
git switch main
git merge agent/dashboard-clickhouse-release-9c109839
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
oibot/agent-dashboard!20
No description provided.