Skip to content

chore(deps): bump vite-task to the auto-tracking classification branch#2260

Draft
wan9chi wants to merge 1 commit into
mainfrom
feat/vite-task-auto-tracking
Draft

chore(deps): bump vite-task to the auto-tracking classification branch#2260
wan9chi wants to merge 1 commit into
mainfrom
feat/vite-task-auto-tracking

Conversation

@wan9chi

@wan9chi wan9chi commented Jul 26, 2026

Copy link
Copy Markdown
Member

Motivation

Picks up voidzero-dev/vite-task#571
so it can be exercised end to end from a published preview build.

That change teaches automatic tracking how to classify a path that a task both
reads and writes. Two cases are currently broken without it:

  • a task that publishes its output directory by renaming a staging directory
    into place records all of its writes against a path that no longer exists at
    archive time, so the archive is empty and a later cache hit restores nothing
  • a task that reads its own generated files records them as inputs, so its
    fingerprint changes every run and it can never hit

The practical effect is that workspaces of plain tsdown/tsc packages need
hand-written input/output patterns to cache at all.

This PR is only a dependency bump — no vite-plus code changes.

Notes

Needs the preview-build label so publish-preview.yml produces a pkg.pr.new
release to test against a real workspace.

@netlify

netlify Bot commented Jul 26, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit 88ab459
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a6623ddc749b00008aa83ba

@wan9chi wan9chi added the preview-build Publish this PR's commits to the registry bridge as preview builds label Jul 26, 2026
@github-actions

github-actions Bot commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Native binary sizes (88ab459)

Final release artifacts built by the canonical build-upstream and build-windows-cli actions.

Artifact Format Base PR Change
vp (Linux x64) Binary 10.31 MiB 10.31 MiB 0 B (0.00%)
vp (Linux x64) gzip -9 4.42 MiB 4.42 MiB -3.31 KiB (-0.07%)
NAPI (Linux x64) Binary 33.07 MiB 33.10 MiB +32.00 KiB (+0.09%)
NAPI (Linux x64) gzip -9 12.72 MiB 12.74 MiB +17.56 KiB (+0.13%)
vp (macOS ARM64) Binary 7.64 MiB 7.65 MiB +16.13 KiB (+0.21%)
vp (macOS ARM64) gzip -9 3.84 MiB 3.84 MiB +1.87 KiB (+0.05%)
NAPI (macOS ARM64) Binary 40.50 MiB 40.51 MiB +16.14 KiB (+0.04%)
NAPI (macOS ARM64) gzip -9 16.97 MiB 16.98 MiB +13.46 KiB (+0.08%)
vp (Windows x64) Binary 8.35 MiB 8.35 MiB +1.50 KiB (+0.02%)
vp (Windows x64) gzip -9 3.64 MiB 3.63 MiB -617 B (-0.02%)
NAPI (Windows x64) Binary 27.51 MiB 27.54 MiB +30.00 KiB (+0.11%)
NAPI (Windows x64) gzip -9 10.70 MiB 10.71 MiB +7.79 KiB (+0.07%)
Trampoline (Windows x64) Binary 203.00 KiB 203.00 KiB 0 B (0.00%)
Trampoline (Windows x64) gzip -9 97.91 KiB 97.91 KiB -1 B (-0.00%)
Installer (Windows x64) Binary 4.44 MiB 4.44 MiB 0 B (0.00%)
Installer (Windows x64) gzip -9 2.08 MiB 2.08 MiB -55 B (-0.00%)

@github-actions

github-actions Bot commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Registry bridge build (88ab459)

This commit build is published to the registry bridge, which serves these as ordinary npm versions (every other package proxies to npmjs):

Package Version
vite-plus 0.0.0-commit.88ab4592d55342c11a070c47e8fc7205f675fda3
@voidzero-dev/vite-plus-core 0.0.0-commit.88ab4592d55342c11a070c47e8fc7205f675fda3

Install the Vite+ CLI built from this commit, then migrate a project:

# macOS / Linux
curl -fsSL https://vite.plus | VP_PR_VERSION=2260 bash
# Windows (PowerShell)
$env:VP_PR_VERSION="2260"; irm https://vite.plus/ps1 | iex

After installing, upgrade the current project's vite-plus to this test build with:

vp migrate

Or point your package manager at the bridge registry https://registry-bridge.viteplus.dev/:

Package manager Registry config
npm / pnpm / Bun .npmrc: registry=https://registry-bridge.viteplus.dev/
Yarn (v2+) .yarnrc.yml: npmRegistryServer: "https://registry-bridge.viteplus.dev/"

Then pin the build (vite aliases to vite-plus-core; pnpm can use a catalog, npm an overrides entry):

{
  "devDependencies": {
    "vite-plus": "0.0.0-commit.88ab4592d55342c11a070c47e8fc7205f675fda3",
    "vite": "npm:@voidzero-dev/vite-plus-core@0.0.0-commit.88ab4592d55342c11a070c47e8fc7205f675fda3"
  }
}

@github-actions

Copy link
Copy Markdown
Contributor

🐳 Docker preview image

Built from this PR's registry bridge build:

Image Compressed size
ghcr.io/voidzero-dev/vite-plus:pr-2260 237MB
# remove any stale local copy from a previous run, then pull fresh
docker rmi ghcr.io/voidzero-dev/vite-plus:pr-2260 2>/dev/null; docker pull ghcr.io/voidzero-dev/vite-plus:pr-2260

Quick check:

docker run --rm ghcr.io/voidzero-dev/vite-plus:pr-2260 vp --version

See docs/guide/docker.md for usage.

Picks up voidzero-dev/vite-task#571, which classifies automatically
tracked paths that a task both reads and writes.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
@wan9chi
wan9chi force-pushed the feat/vite-task-auto-tracking branch from 7ebf31e to 88ab459 Compare July 26, 2026 15:12
@wan9chi wan9chi added preview-build Publish this PR's commits to the registry bridge as preview builds and removed preview-build Publish this PR's commits to the registry bridge as preview builds labels Jul 26, 2026
wan9chi added a commit to wan9chi/emdash that referenced this pull request Jul 26, 2026
TEMPORARY, not for merge. Pins vite-plus to the preview build of
voidzero-dev/vite-plus#2260, which carries the automatic tracking change
in voidzero-dev/vite-task#571, so CI exercises it on this workspace.

The bridge registry is what makes the same version resolve in CI, so it
goes in .npmrc rather than being passed on the command line. Bridge builds
carry no provenance attestation and are published minutes before use, so
they need exemptions from both the trust policy and the release-age
cooldown.

Revert all four pieces to return to the published release: the .npmrc
registry, the version pin, and the two pnpm-workspace exclusions.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preview-build Publish this PR's commits to the registry bridge as preview builds

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant