Repository navigation
fix(cli): track TSRS_LINT_RUN_EXTERNAL_CODE for type-aware lint caching and document it - #3477
Draft
voidzero-bot[bot] wants to merge 1 commit into
Draft
voidzero-bot[bot] wants to merge 1 commit into
voidzero-bot[bot] wants to merge 1 commit into
Conversation
…ng and document it
Contributor
|
✅ Staging deployment successful! Preview: https://viteplus-staging.void.app/ |
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://triagebot-fix-3476-viteplus-dev.voidzero-docs.workers.dev (commit 3b48f36)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
Contributor
CLI artifact sizes (
|
| Artifact | Format | Base | PR | Change |
|---|---|---|---|---|
packages/cli/dist |
Directory total | 2.36 MiB | 2.36 MiB | 0 B (0.00%) |
packages/core/dist |
Directory total | 4.11 MiB | 4.11 MiB | 0 B (0.00%) |
| Combined package dist | Directory total | 6.47 MiB | 6.47 MiB | 0 B (0.00%) |
vp (Linux x64) |
Binary | 8.35 MiB | 8.35 MiB | 0 B (0.00%) |
vp (Linux x64) |
gzip -9 | 3.82 MiB | 3.82 MiB | 0 B (0.00%) |
| NAPI (Linux x64) | Binary | 37.06 MiB | 37.06 MiB | 0 B (0.00%) |
| NAPI (Linux x64) | gzip -9 | 14.79 MiB | 14.80 MiB | +641 B (+0.00%) |
vp (macOS ARM64) |
Binary | 5.46 MiB | 5.46 MiB | 0 B (0.00%) |
vp (macOS ARM64) |
gzip -9 | 3.25 MiB | 3.25 MiB | 0 B (0.00%) |
| NAPI (macOS ARM64) | Binary | 43.65 MiB | 43.65 MiB | 0 B (0.00%) |
| NAPI (macOS ARM64) | gzip -9 | 18.94 MiB | 18.94 MiB | +56 B (+0.00%) |
vp (Windows x64) |
Binary | 6.19 MiB | 6.19 MiB | 0 B (0.00%) |
vp (Windows x64) |
gzip -9 | 2.86 MiB | 2.86 MiB | 0 B (0.00%) |
| NAPI (Windows x64) | Binary | 33.03 MiB | 33.03 MiB | 0 B (0.00%) |
| NAPI (Windows x64) | gzip -9 | 13.53 MiB | 13.53 MiB | +105 B (+0.00%) |
| Trampoline (Windows x64) | Binary | 13.50 KiB | 13.50 KiB | 0 B (0.00%) |
| Trampoline (Windows x64) | gzip -9 | 7.09 KiB | 7.09 KiB | 0 B (0.00%) |
| Installer (Windows x64) | Binary | 4.69 MiB | 4.69 MiB | 0 B (0.00%) |
| Installer (Windows x64) | gzip -9 | 2.25 MiB | 2.25 MiB | 0 B (0.00%) |
fengmk2
marked this pull request as draft
November 17, 2026 07:53
This branch has not been 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.
Type-aware
vp lintuses the bundledtsrs-lintbackend. When atsconfig.jsondeclarescontentMappers(e.g.vizefor.vuefiles), that backend requires the--runExternalCodeflag, which Oxlint does not currently forward fromlint.options.The existing
TSRS_LINT_RUN_EXTERNAL_CODEenvironment variable already reaches the backend and lets linting proceed, but it was undocumented and not included in the task-cache fingerprint.This change documents the environment variable in the Lint guide and adds it to the cached env list for
vp lintandvp check, so toggling the opt-in correctly invalidates cached results.Note: adding a
lint.options.runExternalCodeconfig key would require an upstream Oxlint schema change, because Oxlint rejects unknown fields when it parsesvite.config.ts.Closes #3476
Automated triage bot fix (AI-assisted).