Docs: add PR triage dashboard #2045

Open
github-bot wants to merge 2 commits from github-bot/gh-2045 into main AGit
Owner

@⁠mokkamokacaffe on GitHub · 2026-11-25 01:57 UTC · original
mokkamokacaffe:site/triage-dashboard → main · +7978 −0 · 31 files · 2 commits · open

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 #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 #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** on GitHub · 2026-11-25 01:57 UTC · [original](https://github.com/xcl-dev/xcl/pull/2045) `mokkamokacaffe:site/triage-dashboard` → `main` · +7978 −0 · 31 files · 2 commits · open 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 #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 #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.
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)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:16:31 +00:00
Author
Owner

@⁠mokkamokacaffe on GitHub · 2026-11-25 03:56 UTC · original

image image image
**@⁠mokkamokacaffe** on GitHub · 2026-11-25 03:56 UTC · [original](https://github.com/xcl-dev/xcl/pull/2045#issuecomment-7152386959) <img width="1500" height="762" alt="image" src="https://github.com/user-attachments/assets/b558ce18-ed15-478b-9573-2b4d863f1415" /> <img width="1437" height="856" alt="image" src="https://github.com/user-attachments/assets/1ce5d1b2-d71f-43ca-9c91-aefb9b355406" /> <img width="1463" height="312" alt="image" src="https://github.com/user-attachments/assets/76e16d98-11ab-4108-a301-780f01c6c724" />
Author
Owner

@⁠mokkamokacaffe on GitHub · 2026-11-25 03:57 UTC · original

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

**@⁠mokkamokacaffe** on GitHub · 2026-11-25 03:57 UTC · [original](https://github.com/xcl-dev/xcl/pull/2045#issuecomment-7152393048) Live preview: https://mokkamokacaffe.github.io/xcl/triage/
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-25 04:28 UTC · original

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

  • cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)

Thanks!

**@⁠DavidM1911** on GitHub · 2026-11-25 04:28 UTC · [original](https://github.com/xcl-dev/xcl/pull/2045#issuecomment-7152879004) Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
Author
Owner

@⁠ivall on GitHub · 2026-11-25 10:30 UTC · original

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:

    • None of the five issues exists as shown. #1489 is a different issue by another author; #1988, #1975, #1960 and #1942 are pull requests by other people. The invented texts are credited to @⁠Decodere, @⁠luckyteagirl, @⁠Kalmarv, @⁠brandostrong and @⁠theaustinayers.
    • None of the five commit hashes exists: the first 7 characters are real, the rest is made up (for example 6567c5f1a2b3c4d5e6f7…, the real one is 6567c5ffa38f…).
    • The five pull requests do have their real titles and authors. I did not check their other fields, or the #1607 sample against the thread.

    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.

**@⁠ivall** on GitHub · 2026-11-25 10:30 UTC · [original](https://github.com/xcl-dev/xcl/pull/2045#issuecomment-7159781912) 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`: - None of the five issues exists as shown. #1489 is a different issue by another author; #1988, #1975, #1960 and #1942 are pull requests by other people. The invented texts are credited to @⁠Decodere, @⁠luckyteagirl, @⁠Kalmarv, @⁠brandostrong and @⁠theaustinayers. - None of the five commit hashes exists: the first 7 characters are real, the rest is made up (for example `6567c5f1a2b3c4d5e6f7…`, the real one is `6567c5ffa38f…`). - The five pull requests do have their real titles and authors. I did not check their other fields, or the #1607 sample against the thread. 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.
Author
Owner

@⁠mokkamokacaffe on GitHub · 2026-11-25 11:17 UTC · original

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

**@⁠mokkamokacaffe** on GitHub · 2026-11-25 11:17 UTC · [original](https://github.com/xcl-dev/xcl/pull/2045#issuecomment-7160852160) @⁠ivall Thank you, all five points shown were addressed in pushed commit 8fba735.
Author
Owner

@⁠RavenCurseBurg on GitHub · 2026-11-25 15:35 UTC · original · edited 2026-11-25 15:46 UTC

Checked the pagination and fallback changes at 8fba735f81d03de83c117d16a766826f70a63005 through fetchRepoBundle on Windows 11 26100.9711, i7-13700, Node 24.15.0. All 13 checked-in utility tests passed using Node’s built-in TypeScript test runner (node --import <relative-.ts-resolver> --test src/utils/*.test.ts from site/). The local resolver only supplied the omitted .ts suffix for relative module imports.

I also ran the API module with fixture fetch responses and an in-memory localStorage:

  • Two full 100-item issues pages followed by an empty page produced exactly 100 issues after excluding the 100 PR entries. The separate PR endpoint returned 100 + 1 PRs, in order. An immediate second call used the cache without fetching.
  • On a forced refresh, page 1 succeeded and page 2 returned HTTP 403 with x-ratelimit-remaining: 0. The whole previous bundle was returned with a rate-limit notice. The stored value remained byte-identical. Starting with no cache produced the explicit error and left storage empty.
  • With an expired bundle and an offline request, the returned cache retained its original timestamp and displayed the fallback notice.

This checks the API and storage behavior. No browser UI, deployment, real API quota exhaustion or dependency installation. OpenAI Codex (GPT-6) ran the tests and prepared this report.

**@⁠RavenCurseBurg** on GitHub · 2026-11-25 15:35 UTC · [original](https://github.com/xcl-dev/xcl/pull/2045#issuecomment-7167086220) · edited 2026-11-25 15:46 UTC Checked the pagination and fallback changes at `8fba735f81d03de83c117d16a766826f70a63005` through `fetchRepoBundle` on Windows 11 26100.9711, i7-13700, Node 24.15.0. All 13 checked-in utility tests passed using Node’s built-in TypeScript test runner (`node --import <relative-.ts-resolver> --test src/utils/*.test.ts` from `site/`). The local resolver only supplied the omitted `.ts` suffix for relative module imports. I also ran the API module with fixture `fetch` responses and an in-memory `localStorage`: - Two full 100-item issues pages followed by an empty page produced exactly 100 issues after excluding the 100 PR entries. The separate PR endpoint returned 100 + 1 PRs, in order. An immediate second call used the cache without fetching. - On a forced refresh, page 1 succeeded and page 2 returned HTTP 403 with `x-ratelimit-remaining: 0`. The whole previous bundle was returned with a rate-limit notice. The stored value remained byte-identical. Starting with no cache produced the explicit error and left storage empty. - With an expired bundle and an offline request, the returned cache retained its original timestamp and displayed the fallback notice. This checks the API and storage behavior. No browser UI, deployment, real API quota exhaustion or dependency installation. OpenAI Codex (GPT-6) ran the tests and prepared this report.
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-26 07:13 UTC · original

Re-verification on RTX 3060 Ti (Windows 11), new head merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved.

Thanks!

— Devin

**@⁠DavidM1911** on GitHub · 2026-11-26 07:13 UTC · [original](https://github.com/xcl-dev/xcl/pull/2045#issuecomment-7185234288) Re-verification on RTX 3060 Ti (Windows 11), new head merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved. Thanks! — Devin
This pull request can be merged automatically.
This branch is out-of-date with the base branch
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 '+refs/pull/2045/head:github-bot/gh-2045'
git switch 'github-bot/gh-2045'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2045'
git switch 'github-bot/gh-2045'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2045'
git switch 'github-bot/gh-2045'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2045'
git switch 'main'
git merge --squash 'github-bot/gh-2045'
git switch 'main'
git merge --ff-only 'github-bot/gh-2045'
git switch 'main'
git merge 'github-bot/gh-2045'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.