Skip to content

Docs: add PR triage dashboard - #2045

Open
mokkamokacaffe wants to merge 2 commits into
xcl-dev:mainfrom
mokkamokacaffe:site/triage-dashboard
Open

mokkamokacaffe wants to merge 2 commits into
xcl-dev:mainfrom
mokkamokacaffe:site/triage-dashboard

Conversation

@mokkamokacaffe

@mokkamokacaffe mokkamokacaffe commented Nov 25, 2026 •

Copy link
Copy Markdown

Addresses #1607 by making its maintained triage digest easier to browse and use.

This imports the user-authored RepoPulse dashboard as a GitHub Pages site for https://xcl-dev.github.io/xcl/triage/. It reads only public GitHub data, keeps personal pins and notes in browser storage, and does not request or embed a GitHub token.

What is in it

  • Add the React/Vite triage dashboard under site/.
  • Show complete paginated issue and pull-request lists, recent commits, and the maintained PR triage: duplicate PRs and batch-tested PRs, each checked by two contributors #1607 digest.
  • Keep keyboard navigation, filters, the local triage queue, report helpers, and dark mode.
  • Cache only successful GitHub responses. If GitHub is unavailable or rate-limited, show real previously cached data or an explicit error; no bundled repository data is presented as factual.
  • Remove unused AI Studio, Gemini, Express, dotenv, animation dependencies, and configuration.
  • Lock the dependency graph and use the /xcl/triage/ GitHub Pages base path.
  • Add a Pages workflow that tests, type-checks, builds, uploads, and deploys the static site. The build job has only contents: read; Pages and OIDC write permissions are limited to deployment. Deployment is restricted to main, including manual runs.

Tested

  • Node.js 24.22.3, npm 11.19.1 on Linux x86-64.
  • npm ci: passed.
  • npm test: 13 passed, 0 failed, 0 skipped, including multi-page and empty-list pagination tests.
  • npm run lint (tsc --noEmit): passed.
  • npm run build: passed; Vite generated the production dist/ bundle with /xcl/triage/ asset paths.
  • git diff --check: passed.
  • Independent contributor check on Windows 11 / NVIDIA RTX 3060 Ti: cargo test -p xcl --lib passed after merging the earlier head with then-current main; the reported parallel test flake is tracked separately in Test suite: parallel cargo test intermittently dies with 0xc0000005 (hle::d3d12x queue_tests × list_x race) #1978.

Not tested

  • The final upstream Pages deployment; Pages is not enabled for this repository yet and requires a separate maintainer decision after merge.
  • Visual browser automation was unavailable in the build environment. The responsive layouts were type-checked and built, but no screenshot comparison is claimed.
  • Authenticated/private repositories; the site intentionally uses only GitHub's public REST API.
  • xcl-smoke is not applicable: this PR changes only the static documentation site and its Pages workflow, not the XCL runtime.

AI use

  • The account owner designed and authored the uploaded RepoPulse site and confirmed ownership/licensing.
  • OpenAI Codex (GPT-5) audited and imported the archive, removed generated/fabricated fallback content and unused dependencies, added complete GitHub pagination and regression tests, restricted workflow permissions and deployment, rebased onto current main, updated the Pages path and documentation, and ran the checks listed above.

@mokkamokacaffe

Copy link
Copy Markdown
Author
image image image

@mokkamokacaffe

Copy link
Copy Markdown
Author

Live preview: https://mokkamokacaffe.github.io/xcl/triage/

@DavidM1911

Copy link
Copy Markdown
Contributor

Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

Thanks!

@throny throny added the off-goal Does not bear on the current goal (world loading); waits until it is reached label Nov 25, 2026
@ivall

ivall commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

Thank you for this. The size is not a problem. I read the workflow, the API client and the bundled data at 7536ce9, and scanned the rest (nothing was built or run). It asks for no token, the only hosts it calls in code are the GitHub API and Google Fonts, the packages come only from npm, and I found no raw HTML injection. These need fixing before it can be merged:

  1. The bundled fallback is not a snapshot of this repository. In site/src/data/seedData.ts:

    Visitors will see this often: the site reads the API without a login (60 requests an hour per address), and githubApi.ts shows this data as a "bundled xcl-dev/xcl snapshot" when that runs out. Please remove it and show an error or the last cached data, or generate a real snapshot with a script and print its date.

  2. It does not cover the open list. It loads the 80 most recently updated issues and 80 PRs, open and closed together. There are over 1000 open PRs, so counts and filters are wrong for anything older. Please page through them, or have the workflow build a data file the site reads, which also avoids the rate limit.

  3. Workflow permissions. pages: write and id-token: write are set for every job. Please give the build job contents: read only and set the other two on the deploy job.

  4. Deploy branch. A push to site/triage-dashboard deploys too. Please keep only main and the manual run, and let the manual run deploy only from main.

  5. Description. It says the site is at /xcl/; the code uses /xcl/triage/.

Pages is not enabled on this repository. That would be a separate decision after these are fixed.

AI use: Claude Code (Claude Opus 5.5) read the diff, compared the bundled data with the repository and wrote this on the maintainer's behalf.

Import the user-authored RepoPulse frontend under site/, trim unused AI and server dependencies, and deploy its tested production build through GitHub Pages at the /xcl/ project path.\n\nAssisted-by: OpenAI Codex (GPT-5)
@mokkamokacaffe

Copy link
Copy Markdown
Author

@ivall Thank you, all five points shown were addressed in pushed commit 8fba735.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

off-goal Does not bear on the current goal (world loading); waits until it is reached

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants