Skip to content

Node bootstrap hard-fails when SHASUMS256.txt.asc is blocked (403), and vp env off can't run to switch to system Node #3613

Backlog

Description

@xmlking

Describe the bug

After upgrading to Vite+ 1.8.0 (Homebrew), every vp command fails during startup on a network where https://nodejs.org/dist/*/SHASUMS256.txt.asc returns 403 Forbidden (a corporate proxy that blocks .asc files).

1.8.0 added the PGP signature check for Node downloads (#1807), so the bootstrap now fetches SHASUMS256.txt.asc. When that request fails, the whole install is a hard error. There is no fallback to checksum-only verification, even though the docs say mirrors that don't publish an .asc fall back to checksum-only.

It also blocks the documented way out. vp env off (system-first mode) can't run either, because the CLI bootstraps its own Node runtime before it handles any command. My previous Vite+ home was already in system_first mode with a working system Node (v26.13.1), but the new 1.8.0 home has no config yet, so there is no way to switch it without first downloading Node.

Expected, in rough order of preference:

  1. If the .asc can't be fetched (4xx or a network error), fall back to SHA-256-only verification with a warning, the same as for mirrors without an .asc. Or, at least, print an error that names VP_NODE_SKIP_SIGNATURE_VERIFY and VP_NODE_DIST_MIRROR.
  2. Let vp env off / vp env on and vp --version run without bootstrapping a managed Node, or let the bootstrap use a suitable system Node when one is on PATH.
  3. Carry over config.json (shim mode) from the previous Vite+ home when the home directory moves on upgrade.

Reproduction

No repository needed; it depends only on the network. Any environment where https://nodejs.org/dist/v24.22.3/SHASUMS256.txt.asc returns 403 while the rest of nodejs.org/dist is reachable.

Steps to reproduce

  1. Be on a network or proxy that returns 403 for https://nodejs.org/dist/*/SHASUMS256.txt.asc.
  2. brew upgrade voidzero-dev/vite-plus/vp (to 1.8.0).
  3. Run vp --version, or vp env off, in a project whose engines.node is >=24.20.0.

System Info

macOS 26 (Darwin 25.6.0), Apple silicon
vp 1.8.0 (Homebrew)
System Node: v26.13.1 (Homebrew)
pnpm (packageManager field: pnpm@10.x)
Previous Vite+ home config: { "shimMode": "system_first" }

Used Package Manager

pnpm

Logs

$ vp --version
info: installing vite-plus@1.8.0...
error: Setup error: Failed to install Node.js 24.22.3: Failed to download from https://nodejs.org/dist/v24.22.3/SHASUMS256.txt.asc: HTTP status client error (403 Forbidden) for url (https://nodejs.org/dist/v24.22.3/SHASUMS256.txt.asc)

$ vp env off
info: installing vite-plus@1.8.0...
info: Preparing Node.js and pnpm...
error: Setup error: Failed to install Node.js 24.22.3: Failed to download from https://nodejs.org/dist/v24.22.3/SHASUMS256.txt.asc: HTTP status client error (403 Forbidden) for url (https://nodejs.org/dist/v24.22.3/SHASUMS256.txt.asc)

Workarounds I found in the docs (env.md): VP_NODE_SKIP_SIGNATURE_VERIFY=1 or VP_NODE_DIST_MIRROR. Neither is mentioned in the error, and the first turns off a security check for an issue that could fall back safely.

Validations

Activity

  1. added theissue type on Nov 29, 2026
  2. voidzero-bot commented on Nov 29, 2026

    @voidzero-bot
    Contributor
    • Reproduced: Yes
    • Exploration: Yes
    • Unit Test: No — no fix was attempted; this triage stopped at diagnosis/verification, so no test was added.
    • Priority P2: Has Workaround. This only affects users on networks that block SHASUMS256.txt.asc, and the documented escape hatches (VP_NODE_SKIP_SIGNATURE_VERIFY=1 or VP_NODE_DIST_MIRROR) were verified to work end-to-end during the reproduction, so there is a straightforward way to unblock the install.

    I reproduced the exact failure by simulating the reporter's network (a fake nodejs.org HTTPS server returning 403 only for SHASUMS256.txt.asc) and a Homebrew-style install: both vp --version and vp env off hard-fail with the identical Setup error: Failed to install Node.js 24.22.3: ... 403 Forbidden message, with no checksum-only fallback. The root cause is resolve_shasums_content() in crates/vp_js_runtime/src/runtime.rs:152 (Err(e) if signature.required => Err(e)): ShasumsSignature::required is true for the official nodejs.org host (crates/vp_js_runtime/src/providers/node.rs:653), so any .asc fetch failure — 403, 404, or a network error — is fatal; the checksum-only fallback only applies to non-nodejs.org mirrors. vp env off is additionally unreachable during the broken bootstrap because Homebrew self-setup (crates/vp_global_cli/src/main.rs:443) runs before command dispatch, and the recovery-bypass list in main.rs:341-357 includes env doctor but not env on/env off.

    Verification concluded the hard error itself is intended behavior (per rfcs/verify-node-shasums-signature.md — "A missing or invalid signature is a hard error" for the official host — plus docs/guide/env.md, which documents VP_NODE_SKIP_SIGNATURE_VERIFY for blocked downloads, and tests pinning the semantics), so I made no code changes.

    I wasn't able to find a fix, but I identified some areas that may be relevant: crates/vp_js_runtime/src/runtime.rs:129-158 (resolve_shasums_content, where an actionable error naming VP_NODE_SKIP_SIGNATURE_VERIFY/VP_NODE_DIST_MIRROR could be added — the code comments already anticipate "a signature-fetch failure" as the escape-hatch case), crates/vp_js_runtime/src/providers/node.rs:586-653 (is_official_dist_host/required), and crates/vp_global_cli/src/main.rs:341-357 (is_homebrew_recovery_command, where adding the JS-payload-free env on/env off commands would keep the escape hatch reachable while the bootstrap is broken). Whether to soften the hard error into a checksum-only fallback is a security trade-off that needs a maintainer decision against the RFC. A failing-test reproduction was not added.

    Full Triage Report

    Triage report — issue #3613

    Stage: reproduce
    Result: REPRODUCED on current checkout (vite-plus/vp v1.8.0, branch triagebot/fix-3613)
    Issue type: Bug

    Issue summary

    After upgrading to Vite+ 1.8.0 (Homebrew), every vp command fails during startup on
    networks where https://nodejs.org/dist/*/SHASUMS256.txt.asc returns 403 (corporate
    proxy blocking .asc files). The Node bootstrap treats the .asc fetch failure as a
    hard error with no checksum-only fallback and no hint at the documented escape hatches
    (VP_NODE_SKIP_SIGNATURE_VERIFY, VP_NODE_DIST_MIRROR). vp env off cannot run
    either, because the Homebrew self-setup bootstraps Node before dispatching any
    command, so there is no way to switch the fresh home to system Node.

    Expected (reporter's preference order): fall back to SHA-256-only verification with a
    warning on .asc fetch failure, and/or name the escape hatches in the error; allow
    vp env off / vp --version to run without bootstrapping a managed Node.

    Actual: hard setup error on every command; no fallback; escape hatches not mentioned.

    Environment

    • Vite+ checkout: /home/runner/work/vite-plus/vite-plus, branch triagebot/fix-3613,
      vp v1.8.0 (local-dev build installed by the workflow at ~/.vite-plus)
    • OS: Ubuntu Linux x64 (GitHub Actions runner)
    • Node.js: v24.22.3 (system), pnpm 12.11.2
    • Triage dir: /tmp/vite-plus-triage/gh-3613 (all logs, fixtures, fake server, homes)

    How the network condition was simulated

    The report's trigger is a network/proxy condition (403 for nodejs.org/dist/*/SHASUMS256.txt.asc
    while the rest of nodejs.org works). It was simulated without changing any vp code:

    • /etc/hosts entry 127.0.0.1 nodejs.org (restored after the run) plus a local HTTPS
      server on 127.0.0.1:443 presenting a cert for nodejs.org signed by a test CA
      installed into the runner's system trust store (removed after the run).
      Server: $TRIAGE_DIR/fake-nodejs/server.py, fixtures under $TRIAGE_DIR/fake-nodejs/fixtures/dist/
      (real prefetched index.json, SHASUMS256.txt, SHASUMS256.txt.asc,
      node-v24.22.3-linux-x64.tar.gz). Request log: $TRIAGE_DIR/fake-nodejs/server.log.
      A mode file switches .asc responses between 403 (block) and 200 (serve).
    • The Homebrew installation from the report was simulated per the existing snapshot
      pattern (crates/vp_cli_snapshots/.../command_self_setup_external/homebrew.mjs):
      $TRIAGE_DIR/repro/brew-prefix/ containing bin/vp (copy of the built global CLI)
      and INSTALL_RECEIPT.json
      ({"homebrew_version":"7.0.2","source":{"tap":"voidzero-dev/vite-plus","path":"/tap/HomebrewFormula/vp.rb"}}),
      which makes vp_global_cli::homebrew claim the binary so the self-setup
      ("installing vite-plus@1.8.0..." → "Preparing Node.js and pnpm...") runs on every
      invocation, exactly like the reporter's Homebrew install.
    • Repro project: $TRIAGE_DIR/repro/project/package.json with
      "engines": { "node": ">=24.20.0" } and "packageManager": "pnpm@10.15.0".
    • Every run used a fresh VP_HOME under $TRIAGE_DIR/repro/ and
      VP_SELF_SETUP_NO_MODIFY_PATH=1. The default VP_NODE_DIST_MIRROR was unset, so
      downloads go to https://nodejs.org/dist (host nodejs.org →
      ShasumsSignature::required = true in vp_js_runtime).

    Commands attempted and results

    1. Trigger: blocked .asc, vp --version — REPRODUCED

    $ cd $TRIAGE_DIR/repro/project
    $ env VP_HOME=$TRIAGE_DIR/repro/vp-home-brew-blocked VP_SELF_SETUP_NO_MODIFY_PATH=1 \
        $TRIAGE_DIR/repro/brew-prefix/bin/vp --version
    info: installing vite-plus@1.8.0...
    info: Preparing Node.js and pnpm...
    error: Setup error: Failed to install Node.js 24.22.3: Failed to download from https://nodejs.org/dist/v24.22.3/SHASUMS256.txt.asc: HTTP status client error (403 Forbidden) for url (https://nodejs.org/dist/v24.22.3/SHASUMS256.txt.asc)
    exit code 1
    

    Identical shape to the reporter's log (same message, same version 24.22.3, same URL).
    Server log shows the .asc was requested 4 times (1 + 3 backon retries in
    download_text) and nothing else was fetched from nodejs.org — the bootstrap never
    falls back to the plain SHASUMS256.txt, never attempts the archive, and the error
    mentions neither VP_NODE_SKIP_SIGNATURE_VERIFY nor VP_NODE_DIST_MIRROR.
    Log: $TRIAGE_DIR/repro/trigger-brew-version.log.

    2. Trigger: blocked .asc, vp env off — REPRODUCED

    $ env VP_HOME=$TRIAGE_DIR/repro/vp-home-brew-blocked-env VP_SELF_SETUP_NO_MODIFY_PATH=1 \
        $TRIAGE_DIR/repro/brew-prefix/bin/vp env off
    info: installing vite-plus@1.8.0...
    info: Preparing Node.js and pnpm...
    error: Setup error: Failed to install Node.js 24.22.3: Failed to download from https://nodejs.org/dist/v24.22.3/SHASUMS256.txt.asc: HTTP status client error (403 Forbidden) for url (https://nodejs.org/dist/v24.22.3/SHASUMS256.txt.asc)
    exit code 1
    

    Confirms the second half of the report: the documented way out (vp env off) cannot
    run because the Homebrew self-setup bootstraps Node before the command is dispatched,
    and a fresh home has no saved config yet. Log: $TRIAGE_DIR/repro/trigger-env-off.log.

    3. Control A: same command, real network — passes

    $ env VP_HOME=$TRIAGE_DIR/repro/vp-home-brew-control VP_SELF_SETUP_NO_MODIFY_PATH=1 \
        $TRIAGE_DIR/repro/brew-prefix/bin/vp --version
    info: installing vite-plus@1.8.0...
    info: Preparing Node.js and pnpm...
    ... (deps installed, shims created)
    ✓ Vite+ setup complete.  exit code 0
    

    Node.js v24.22.3 was downloaded, PGP-verified and installed into the fresh home
    (js_runtime/node/24.22.3/bin/node → v24.22.3). Rules out an unrelated failure in
    the simulated Homebrew flow. Log: $TRIAGE_DIR/repro/control-brew-version.log.

    4. Control B: same fake nodejs.org, .asc served (200) — passes

    With the identical fake server/CA/hosts setup but mode serve (real .asc content),
    the same command succeeds (exit 0): .asc → 200 (signature verified), archive → 200
    (checksum verified), then pnpm install from the real registry. Only the .asc
    response differs between this and the failing trigger, isolating the 403 on
    SHASUMS256.txt.asc as the sole cause of the hard failure.
    Log: $TRIAGE_DIR/repro/control-fake-serve.log.

    5. Workaround check: VP_NODE_SKIP_SIGNATURE_VERIFY=1 — passes

    $ env VP_HOME=$TRIAGE_DIR/repro/vp-home-skip-sig VP_SELF_SETUP_NO_MODIFY_PATH=1 \
        VP_NODE_SKIP_SIGNATURE_VERIFY=1 $TRIAGE_DIR/repro/brew-prefix/bin/vp --version
    info: installing vite-plus@1.8.0...
    info: Preparing Node.js and pnpm...
    warn: PGP signature verification skipped for node-v24.22.3-linux-x64.tar.gz (VP_NODE_SKIP_SIGNATURE_VERIFY set); verifying SHA-256 checksum only
    ... exit code 0
    

    The documented escape hatch works (fetches plain SHASUMS256.txt, verifies the
    archive SHA-256, completes) but, as the reporter notes, the hard error never points
    to it. Log: $TRIAGE_DIR/repro/trigger-skip-sig.log.

    Result

    Reproduced on current main: with nodejs.org reachable but
    SHASUMS256.txt.asc returning 403, a fresh Homebrew-style install hard-fails on
    vp --version and vp env off with Setup error: Failed to install Node.js 24.22.3: ... 403 Forbidden ... SHASUMS256.txt.asc, with no checksum-only fallback
    and no mention of the documented escape hatches. Controls on the real network and
    with the .asc served succeed, isolating the blocked .asc as the cause.


    Diagnosis

    Confidence: high — the failing logic is proven by code inspection and matches the
    observed reproduction exactly (403 → hard error with the reported message; escape hatch
    works; serving the .asc succeeds).

    Root cause 1 — primary: any .asc fetch failure is fatal for the official host

    1. crates/vp_js_runtime/src/providers/node.rs

      • is_official_dist_host() (lines 586-604) reduces the resolved dist base URL
        (VP_NODE_DIST_MIRROR or the default https://nodejs.org/dist) to its host and
        compares it literally to nodejs.org.
      • get_download_info() (line 653) sets ShasumsSignature { required: is_official_dist_host(&base_url) }
        — required = true for the official host.
    2. crates/vp_js_runtime/src/runtime.rs, resolve_shasums_content() (lines 129-158):

      match download_text(&signature.url).await {
          Ok(signed) => crate::pgp_verify::verify_signed_shasums(signed, archive_filename).await,
          Err(e) if signature.required => Err(e),        // <-- line 152: hard fail
          Err(_) => {                                    // checksum-only fallback
              log_checksum_only(archive_filename);
              download_text(plain_url).await
          }
      }

      For nodejs.org, any failure fetching SHASUMS256.txt.asc — 403, 404, timeout,
      network error — propagates as Error::DownloadFailed after download_text's three
      backon retries (crates/vp_js_runtime/src/download.rs:262-277). The plain
      SHASUMS256.txt is never tried first, and the checksum-only fallback branch is
      reachable only when required == false (non-nodejs.org mirror hosts, musl builds
      where signature is None).

    3. Error wrapping, which is why the message looks as it does:

      • crates/vp_js_runtime/src/error.rs:24 — #[error("Failed to download from {url}: {reason}")] DownloadFailed.
      • crates/vp_setup/src/install.rs:544-547 — prepare_install_runtime wraps it as
        Failed to install Node.js {node_version} (DEFAULT_INSTALL_NODE_VERSION =
        .node-version = 24.22.3).
      • crates/vp_setup/src/error.rs:9-10 — Error::Setup prefixes Setup error:.

    Why this is the intended-but-fragile design: rfcs/verify-node-shasums-signature.md
    introduced required per source: nodejs.org always publishes the .asc, so requiring
    it blocks a compromised-mirror/tampered-SHASUMS attack; custom mirrors may publish
    only the plain SHASUMS256.txt, so there the fallback is checksum-only. The RFC
    considered the .asc being absent on mirrors but not an intermediary blocking it on
    the official host (403 by a corporate proxy) — the code cannot distinguish "not
    published" from "blocked". VP_NODE_SKIP_SIGNATURE_VERIFY was explicitly designed as
    the escape hatch for "a signature-fetch failure" (comment at runtime.rs:135-137), but
    the error text never names it, nor VP_NODE_DIST_MIRROR.

    Root cause 2 — secondary: vp env off cannot run because self-setup precedes dispatch

    • crates/vp_global_cli/src/main.rs:443-452 — self_setup::maybe_run() runs before
      any command dispatch. For a Homebrew-owned binary, the early-exit marker check in
      self_setup.rs:60-66 is skipped, so the full first-start setup (which bootstraps
      Node via self_setup.rs:344-374 → vp_setup::install::prepare_install_runtime)
      executes on every invocation until it succeeds.
    • The only bypass is is_homebrew_recovery_command() (main.rs:341-357), which allows
      vp implode, vp upgrade, and vp env doctor to skip self-setup — it deliberately
      excludes --version and does not include vp env on/vp env off.
      vp env off is a pure config + shim operation
      (crates/vp_global_cli/src/commands/env/off.rs:21-39) that needs no Node at all, yet
      it is unreachable during a failed bootstrap — the reporter's "no way out".
    • On a normal (marker-present) installation vp env off works without bootstrapping
      Node (verified in the reproduce step).
    • The bootstrap itself always downloads a managed Node for the CLI payload
      (self_setup.rs:366-374 passes NodeVersion::Preferred; the NodeVersion::System
      path exists only under VP_ENV_FORBIDDEN=1), so a system_first preference cannot
      prevent the download either.

    Root cause 3 — tertiary: saved config not carried over when the home layout moved

    The reporter's previous home stored config.json (shim mode system_first) in the
    single-root home (~/.vite-plus). The XDG directory layout (d43c5f97d) moved the
    config to <CONFIG>/config.json (crates/vp_pm_cli/src/user_config.rs:151-152), and
    no code migrates the legacy home's config.json into the new config root. The saved
    system_first preference was therefore silently dropped, which is why the user needed
    vp env off in the first place.

    Suggested fix approach (decision for fix stage)

    1. Minimal and security-preserving (reporter's "at least"): keep the hard error on
      a required-signature fetch failure but make it actionable — wrap the error in
      resolve_shasums_content (or add a dedicated error variant) naming
      VP_NODE_SKIP_SIGNATURE_VERIFY and VP_NODE_DIST_MIRROR.
    2. Reporter's preferred fallback (checksum-only + loud warning on fetch failure,
      like mirrors) re-opens part of the attack the RFC closed (an on-path attacker who
      can 403 the .asc could also tamper the plain SHASUMS256.txt and serve a matching
      archive). If chosen: restrict the fallback to transport/HTTP-status failures (never
      to verify_signed_shasums failures), warn loudly, and consider requiring the
      explicit VP_NODE_SKIP_SIGNATURE_VERIFY opt-in — this trade-off needs a maintainer
      decision against rfcs/verify-node-shasums-signature.md.
    3. Make the escape hatch reachable: add vp env on/vp env off to
      is_homebrew_recovery_command() (main.rs:341-357) so system-first mode can be
      selected while the bootstrap is broken (command needs no Node; same precedent as
      env doctor).
    4. Optionally, reuse the existing NodeVersion::System path when the user selects
      system-first and a suitable system Node/pnpm are available (mirrors the
      VP_ENV_FORBIDDEN behavior).
    5. Optionally, migrate a legacy home's config.json to the new config root on first
      setup so saved shim-mode preferences survive layout changes.

    Edge cases

    • 404 (missing .asc) on the official host fails identically to 403; so do transient
      network errors after the three retries.
    • VP_NODE_DIST_MIRROR whose URL host is literally nodejs.org (e.g. a path-prefixed
      proxy) still yields required = true — a mirror-style workaround must change the
      host.
    • musl builds always use checksum-only (signature = None) and are unaffected.
    • vp env doctor, vp implode, and vp upgrade already bypass self-setup on
      Homebrew and remain usable during a broken bootstrap.

    Regression evidence

    • Introduced by PR feat(runtime): verify Node.js downloads with PGP signatures #1848, commit 053fc9337 (2026-06-23, "feat(runtime): verify
      Node.js downloads with PGP signatures") — the commit that added
      is_official_dist_host, ShasumsSignature::required, and the
      Err(e) if signature.required => Err(e) branch.
    • Semantics are identical in tag v1.7.0 (2026-11-17) and v1.8.0 (2026-11-24).
      The reporter attributes the change to 1.8.0 (Verify SHASUMS.txt before installing Node #1807 RFC); they most likely upgraded
      from a pre-1.7 line.
    • No later commit altered the fallback semantics (git log -S "signature.required" →
      only the rename refactor d817a0db8).

    No instrumentation was added; the checkout worktree is clean.


    Verification

    Claim (observed behavior): On a network where nodejs.org/dist/*/SHASUMS256.txt.asc
    returns 403, a fresh Homebrew install of vp 1.8.0 hard-fails on every command
    (vp --version, vp env off) with Setup error: Failed to install Node.js 24.22.3: Failed to download from https://nodejs.org/dist/v24.22.3/SHASUMS256.txt.asc: HTTP status client error (403 Forbidden). There is no automatic checksum-only fallback
    and the error names neither VP_NODE_SKIP_SIGNATURE_VERIFY nor VP_NODE_DIST_MIRROR;
    vp env off cannot run because self-setup precedes command dispatch.

    Claim (reporter expects): automatic SHA-256-only fallback on .asc fetch failure
    (or at least an error naming the escape hatches); vp env off / vp env on /
    vp --version runnable without bootstrapping a managed Node; config.json carried
    over when the home moves.

    Verdict: intended behavior (confidence: high)

    Every headline behavior is documented, tested, and was introduced intentionally:

    1. Hard error when the official host's .asc cannot be fetched — intended.
      rfcs/verify-node-shasums-signature.md (source-semantics section):
      "Official nodejs.org … required = true. A missing or invalid signature is a
      hard error.
      required is decided by the resolved host, not merely whether the
      mirror env var is set."
      A 403 from an intermediary is a "missing" signature in this
      model. The reporter's expectation 1 (automatic checksum-only fallback for the
      official host) contradicts the RFC's explicit design decision; the checksum-only
      fallback is deliberately reserved for custom-mirror hosts and musl builds
      (crates/vp_js_runtime/src/providers/node.rs:641-654, pinned by tests
      test_get_download_info_custom_mirror_signature_optional and
      test_get_download_info_official_mirror_requires_signature).
    2. The blocked-download remedy is documented and works.
      docs/guide/env.md ("Node.js Signature Verification"): "If a future keyring or
      certificate issue blocks downloads, set VP_NODE_SKIP_SIGNATURE_VERIFY to
      temporarily bypass PGP verification"
      — the documented remedy for exactly this
      situation, verified working in the reproduce stage (exit 0 with a loud warning).
      docs/guide/global-cli.md "Network Hosts" lists VP_NODE_DIST_MIRROR as the
      nodejs.org override.
    3. First-run Homebrew setup downloads the pinned Node by design.
      docs/guide/homebrew.md:22: "Setup uses the release's pinned Node.js and pnpm
      versions, even if you choose to prefer system tools."

      docs/guide/global-cli.md:488: "The tap still prepares its pinned Node.js and pnpm
      to install CLI dependencies."
      This directly contradicts the reporter's expectation 2
      for the first-run case; the intentional exception is VP_ENV_FORBIDDEN=1.
    4. vp env off as a post-setup command — intended.
      docs/guide/global-cli.md:488: "After setup, use vp env off to change this
      preference."
      The documented way to prefer system tools on first run is
      VP_NODE_MANAGER=no VP_PM_MANAGER=no vp help (docs/guide/global-cli.md:482).
      The Homebrew recovery set that bypasses self-setup was deliberately enumerated in
      PR feat: add official Homebrew tap #2740 (commit 8ea2f843d, test
      homebrew_recovery_commands_do_not_require_the_js_payload): implode, upgrade,
      env doctor; --version is explicitly excluded (!args.version).
    5. Intentional change from previous releases. The signature check was requested in
      Verify SHASUMS.txt before installing Node #1807, designed in the RFC, implemented in PR feat(runtime): verify Node.js downloads with PGP signatures #1848 (commit 053fc9337), shipped
      in v1.7.0 and unchanged since. "A previous release without an intentional change"
      does not apply.
    6. Not an upstream clone. The behavior is entirely in vp_js_runtime/
      vp_global_cli/vp_setup — Vite+'s own code.

    Prior issues/PRs: gh search found no earlier report of a proxy-blocked .asc;
    #1807 → #1848 is the feature lineage.

    Caveats — unconsidered gaps, not contradictions of intent

    The classification applies to the headline behavior. Some sub-items have no recorded
    intent (neither docs, tests, nor comments) and remain reasonable UX-improvement
    candidates for maintainers, potentially as a follow-up issue rather than a bug fix:

    • The hard error gives no actionable guidance; naming
      VP_NODE_SKIP_SIGNATURE_VERIFY / VP_NODE_DIST_MIRROR (the reporter's "at least")
      would match the escape-hatch intent already in code comments
      (crates/vp_js_runtime/src/runtime.rs:135-137 explicitly anticipates
      "a signature-fetch failure" as the escape-hatch use case).
    • vp env on/vp env off are JS-payload-free commands (like the included
      env doctor) but are absent from is_homebrew_recovery_command()
      (crates/vp_global_cli/src/main.rs:341-357), so the escape hatch the reporter
      wanted is unreachable specifically while the bootstrap is broken.
    • Legacy config.json is not migrated to the XDG config root (expectation 3); the
      layout change d43c5f97d was marked breaking ("feat!"), and no migration was added,
      but no statement says the loss was intended.

    Verdict: intended-behavior. Confidence: high (direct RFC, documentation, and test
    evidence for each headline behavior; the residual items are undocumented gaps rather
    than contradictions).

    This report was made by an LLM. The analysis may be wrong, and the potential fix might not work, but is intended as a starting point for exploring the issue.

  3. added
    - P2: has workaround
    on Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    - P2: has workaroundtriage: unable to fix

    Type

    Fields

    Priority

    None yet

    Effort

    None yet

    Target date

    None yet

    Start date

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions