Repository navigation
refactor: generate schema artifacts during workspace setup - #4385
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
vincentkoc
marked this pull request as ready for review
November 4, 2026 02:23
vincentkoc
force-pushed
the
refactor/stop-tracking-schema-build-output
branch
from
November 4, 2026 02:26
5080879 to
422a6c3
Compare
vincentkoc
force-pushed
the
refactor/stop-tracking-schema-build-output
branch
from
November 4, 2026 02:34
422a6c3 to
d45d89b
Compare
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Schema edits duplicate canonical TypeScript in 81 tracked JavaScript, declaration, and source-map files.
User Impact
Removes 9,891 net tracked lines. A normal workspace
bun installgenerates the same schema output; Worktrunk, Codex setup, and seed entrypoints rebuild when reusing dependencies. Installs that suppress lifecycle scripts must runbun run --cwd packages/schema buildwith development dependencies before using the workspace.Why This Change Was Made
Keep generated artifacts out of Git while preserving compiled package exports and standalone CLI builds. Canonical schema sources, exports, compiler pins, lockfile, and both CLI artifact build helpers are unchanged from base
aebfd3336b9796eac6fdcb29bfbcbe968f485755.Preserves the newer security and package-validation source in #4384 and #4379. Also removes two obsolete VT-era mock expressions left in their combined publish test: an undefined storage context type and ignored arguments to a zero-argument fallback. This fixes the inherited TypeScript errors without changing the mock's behavior.
Evidence
Validated the final frozen tree
d45d89bcb03adfd4191adbf0a77ee7786f275951on the native testbox:--ignore-scriptsplus explicit build, Worktrunk dependency reuse, and both CLI builds starting without schema output.bunx --no-install tsrs --noEmitpassed.bun run ci:static,bun run ci:unit(8,862 passed, 5 skipped),bun run ci:types-build,bun run ci:packages(750 passed, including packed artifacts), andbun run ci:e2e-http(28 passed, 11 skipped) passed.Hosted preview status for head
d45d89bcb03adfd4191adbf0a77ee7786f275951: Vercel reports failure. The deployment page/logs were inaccessible, so the cause remains unverified. The native validation above and GitHubtypes-build, HTTP, and Playwright smoke checks passed. This is not a claim that the preview passed.No production deployment, production data changes, or release.
AI-assisted; I understand and can maintain this refactor.