Repository navigation
chore: run on ViteHub main e425ff3 - #441
Conversation
Move every ViteHub package from the feature-branch build bc43707 to main's pkg.pr.new build e425ff3, and drop the @vite-hub/ui-playground alias, since ViteHub now stops a build that mixes two commits (#4650). - `vitehub.preset` is `host`, `vite-hub/database/drizzle` is `vite-hub/database`, and the playground imports come from `@vite-hub/ui` and `@vite-hub/ui/playground`. - Content sets `access: "public"`, so llms.txt, the sitemap, Markdown copies and /mcp stay public now that every Content reader asks `authorize` (#4291). - The pill shows its Console link to the team. - Drop the pkce-challenge patch, the docs-theme-source and comark-styles modules, the hand imports of the generated Auth types, and the Comark overrides: main ships each fix.
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. |
There was a problem hiding this comment.
Important
Clean installation fails during docs preparation, before CI can build the workspace packages. The dependency upgrade needs a working fresh-checkout path before merging.
Reviewed changes — Reviewed the ViteHub upgrade, its API migrations, authorization changes, dependency resolution, and removal of local workarounds.
- Unified ViteHub dependencies: Moves the catalog and overrides to
e425ff3, removes the playground alias, and consolidates playground imports and styles. - Updated integration contracts: Migrates the host/database APIs and relies on upstream Auth type generation, stylesheet handling, Tailwind sources, and Cloudflare PKCE resolution.
- Preserved access boundaries: Enables public published-content readers while keeping draft access and mutations team-authorized, and enables the Console pill link for team members.
After installing with scripts disabled and building the packages, validation passed: pnpm check, 3,153 tests, five playground E2E tests, docs generation and link checks, Wrangler dry run, and the Worker size budget. Browser smoke testing also confirmed playground editing and preview rendering; those successful checks depend on outputs that a clean installation does not yet have.
gpt-6.1-sol(xhigh) | 𝕏
Latest result Merged 1056efd directly: required checks passed and review threads were resolved. Final answersSession Merged 1056efd directly: required checks passed and review threads were resolved. Session Pushed 1056efd resolving dependency conflicts while preserving main’s newer ViteHub integration. Fixed the install-preparation finding by requiring both renderer and stylesheet outputs before Nuxt preparation, and resolved its thread. Reproduced the unguarded failure; guarded preparation and lint pass, with lint warnings. Host dependency refresh succeeded. Full build validation remains with hosted CI. Session Pushed 1056efd resolving dependency conflicts while preserving main’s newer ViteHub integration. Fixed the install-preparation finding by requiring both renderer and stylesheet outputs before Nuxt preparation, and resolved its thread. Reproduced the unguarded failure; guarded preparation and lint pass, with lint warnings. Host dependency refresh succeeded. Full build validation remains with hosted CI. Session Pushed 1056efd resolving dependency conflicts while preserving main’s newer ViteHub integration. Fixed the install-preparation finding by requiring both renderer and stylesheet outputs before Nuxt preparation, and resolved its thread. Reproduced the unguarded failure; guarded preparation and lint pass, with lint warnings. Host dependency refresh succeeded. Full build validation remains with hosted CI. Session Pushed 1056efd resolving dependency conflicts while preserving main’s newer ViteHub integration. Fixed the install-preparation finding by requiring both renderer and stylesheet outputs before Nuxt preparation, and resolved its thread. Reproduced the unguarded failure; guarded preparation and lint pass, with lint warnings. Host dependency refresh succeeded. Full build validation remains with hosted CI. Session Pushed 1056efd resolving dependency conflicts while preserving main’s newer ViteHub integration. Fixed the install-preparation finding by requiring both renderer and stylesheet outputs before Nuxt preparation, and resolved its thread. Reproduced the unguarded failure; guarded preparation and lint pass, with lint warnings. Host dependency refresh succeeded. Full build validation remains with hosted CI. Session Pushed 1056efd resolving dependency conflicts while preserving main’s newer ViteHub integration. Fixed the install-preparation finding by requiring both renderer and stylesheet outputs before Nuxt preparation, and resolved its thread. Reproduced the unguarded failure; guarded preparation and lint pass, with lint warnings. Host dependency refresh succeeded. Full build validation remains with hosted CI. Session Pushed 1056efd resolving dependency conflicts while preserving main’s newer ViteHub integration. Fixed the install-preparation finding by requiring both renderer and stylesheet outputs before Nuxt preparation, and resolved its thread. Reproduced the unguarded failure; guarded preparation and lint pass, with lint warnings. Host dependency refresh succeeded. Full build validation remains with hosted CI. Session Pushed 1056efd resolving dependency conflicts while preserving main’s newer ViteHub integration. Fixed the install-preparation finding by requiring both renderer and stylesheet outputs before Nuxt preparation, and resolved its thread. Reproduced the unguarded failure; guarded preparation and lint pass, with lint warnings. Host dependency refresh succeeded. Full build validation remains with hosted CI. Pushed 1056efd resolving dependency conflicts while preserving main’s newer ViteHub integration. Fixed the install-preparation finding by requiring both renderer and stylesheet outputs before Nuxt preparation, and resolved its thread. Reproduced the unguarded failure; guarded preparation and lint pass, with lint warnings. Host dependency refresh succeeded. Full build validation remains with hosted CI. |
comark-annotate
comark-badge
comark-bundle
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-git-graph
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: |
There was a problem hiding this comment.
✅ No new issues found. No P0 or P1 findings remain.
Reviewed changes — Reviewed the delta since 23547f0, focusing on docs preparation and the merge’s preservation of the current ViteHub integration.
- Deferred Nuxt preparation: Required both the workspace HTML renderer and aggregate stylesheet before running
nuxi prepare, while retaining content generation during installation. - Preserved current dependencies: Kept main’s newer
a32d1f2ViteHub packages and Comark overrides rather than reverting them to the original PR’s older pins; confirmed the lockfile contains one ViteHub commit and no obsolete playground alias.
Local package builds, post-build docs preparation, workspace and docs typechecks, and lint passed. The docs installation hook also completed without built outputs; the overall local install then encountered the harness limitation error: could not lock config file .git/config: Read-only file system. CI on this exact head passed clean installation, builds, docs generation, link and Worker checks, tests, Doctor, and E2E.
gpt-6.1-sol(xhigh) | 𝕏

The Console can't open comark-ui today: its check gets
401 CONSOLE_SIGNATURE_INVALID. The docs pin ViteHubbc43707, a build of the #4138 branch, and its verifier refuses anyx-vitehub-callerfield it doesn't know. The Console has sentsurfaceandreadOnlysince vite-hub/vitehub#4052. Main ignores unknown fields.This PR moves every ViteHub package to main's pkg.pr.new build
e425ff3, the same commit in the catalog and in the overrides. The@vite-hub/ui-playgroundalias (af71f9d) goes too, since ViteHub now stops a build that mixes two commits (vite-hub/vitehub#4650).Breaking changes it follows:
vitehub.presetis nowhost.vite-hub/database/drizzleis nowvite-hub/database.PlaygroundRenderand its types come from@vite-hub/ui, the link helpers from@vite-hub/ui/playground.@vite-hub/docsalready loads@vite-hub/ui/styles.css, so the extra stylesheet goes.authorizeforread(fix(content)!: checkauthorizeon every Content reader, and require a choice before agithub()Source is public vite-hub/vitehub#4291), so/llms.txt, the sitemap, Markdown copies and/mcpwould answer 401 to everyone outside the team.server/content.tssetsaccess: "public";authorizestill decides drafts, saves and publishing.Workarounds main makes unneeded, each removed:
modules/docs-theme-source.ts(fix(docs): build the CSS of every class in the docs design vite-hub/vitehub#4154): the header is still a gridmodules/comark-styles.ts(feat(docs): render pages with comark-ui's blocks vite-hub/vitehub#3572): pages now link the block styles once instead of twice.vitehub/types/auth*.d.ts:types.d.tsreferences them nowmicromark-extension-mathandrehype-katexstill ask for 0.16.The pill's Console link now shows for the team (
via: "page"inconsole-authorize.ts). Without it, nobody sees the link.Verification on Node 24, Linux:
pnpm install --frozen-lockfile,pnpm build,pnpm docs:generate(links of 437 pages),pnpm docs:links,pnpm typecheck, docsvue-tsc,vp check, the wrangler dry run andworker-budget.ts(5.85 MiB gzip) all pass.pnpm test: 3153 pass.remark-to-comark/test/cli.test.ts"no git repository" times out with/tmpasTMPDIRon my machine and passes with an empty one. It doesn't touch ViteHub.e2e/play-preview.e2e.tspasses.wrangler dev:/,/zoom,/git-graph,/bundle,/play,/play/gallery,/llms.txt,/sitemap.xml, Markdown forAccept: text/markdownandPOST /mcpanswer 200./sign-inredirects to GitHub with the production callback. A call signed like the Console's MCPcheck_app(surface: "mcp",readOnly: true) gets 200 fromproject.get. A Console user outsideteam.tsgets 403.nuxt dev: the same pages answer 200, andvitehub project inforeaches/_vitehub/rpc.vitehub database generatewants a migration that rebuildsuser,sessionand four OAuth tables. Its only change is how drizzle-kit records the six unique constraints in the snapshot, so I left it out. No table or column changes with this upgrade.The site hasn't deployed since 2026-11-12: Workers Builds made its last build on 2026-11-06 (#369). This PR doesn't change the deploy.