Repository navigation
fix(docs): read the Content overview with a few GitHub requests - #412
Conversation
Pin ViteHub to vite-hub/vitehub#4138 (bc43707): the Content GitHub store reads the Console overview with 3 requests when KV holds its cache, and can sign in as a GitHub App installation. Turn on KV so a new Worker isolate shares that cache.
|
The workflow's GitHub's error |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Latest result Pull request merged. Final answersSession Pull request merged. Session Waiting for running checks before the next pass. Session Waiting for running checks before the next pass. |
comark-annotate
comark-badge
comark-cards
comark-carousel
comark-cast
comark-charts
comark-chat
comark-chips
comark-cjk
comark-code
comark-code-notes
comark-colors
comark-comments
comark-critic
comark-deflist
comark-details
comark-diagrams
comark-diff
comark-embed
comark-fields
comark-figure
comark-file-tree
comark-footnotes
comark-github
comark-icon
comark-include
comark-keys
comark-links
comark-linter
comark-magic-move
comark-mark
markdown-it-to-comark
marked-to-comark
comark-mathml
comark-media
comark-metrics
migrate-to-comark
comark-outline
comark-properties
comark-qr
comark-quiz
comark-reading-time
remark-to-comark
comark-sources
comark-steps
comark-table
comark-tabs
comark-tests
comark-time
comark-ui
comark-xref
comark-zoom
commit: |

The Content dashboard in the ViteHub Console never loads for comark-ui. A cold
documents.actionoverview sent 1,244 GitHub requests: on production it ended in403 Rate limited by the forgeon the shared token, or in Cloudflare1102(Worker over its resource limits).This pins every ViteHub package to vite-hub/vitehub#4138 (
bc43707, stacked on #4137), where the GitHub store reads the overview with a few requests and keeps the answers that never change in KV. It also turns onvitehub.kv, so the store gets thecomark-ui-kvnamespace that the last deploy created and a new isolate reads its cache from there.docs/CMS.mdnow says how the store signs in: as the Personal Project CMS App whenVITEHUB_GITHUB_APP_IDandVITEHUB_GITHUB_PRIVATE_KEYare set, else withVITEHUB_GITHUB_TOKEN. The Bitwarden item has the App ID and the OAuth client, but no private key, so production keeps the token for now.Signed overview calls against
wrangler devof the production build, with the real repository:304)All three return the same JSON: Pages 341 published and 1 draft (
badges), Package pages 73 published, and one save in the activity list.Also ran the CI steps: frozen install,
pnpm build,pnpm docs:generate,pnpm docs:links, the compat flag check,wrangler deploy --dry-runwith the worker budget (6.97 MiB gzip),pnpm check,pnpm test,pnpm run doctorandpnpm test:e2e. Oneremark-to-comarkCLI test hung because this machine has a stray/tmp/.git; it passes with anotherTMPDIR.Move the pin back to a
mainbuild once #4137 and #4138 merge.Prepared with Claude Opus 5.5 in T3 Code.