GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Consider unifying cache verification for modern Yarn · Issue #3137 · voidzero-dev/vite-plus

Consider unifying cache verification for modern Yarn #3137

New issue
Copy link
New issue
Copy link
Open
Feature
Open
Consider unifying cache verification for modern Yarn#3137
Feature
Copy link
Assignees
jong-kyung
Labels
enhancementNew feature or request

Description

@jong-kyung
jong-kyung
opened on Oct 20, 2026
Issue body actions

Vite+ no longer depends on Corepack, but it still supports integrity pins that Corepack writes to the packageManager field.

For Yarn 2 and later, these pins cover bin/yarn.js, not the npm tarball. Changing the hash target would break existing valid pins, as previously reported in #2209 and fixed in #2227.

Could we use a common cache verification policy for all package managers? When the verification record is missing or differs from the requested pin, Vite+ would download, verify, and replace the installation instead of rehashing the cached Yarn CLI.

Modern Yarn would still verify the extracted bin/yarn.js to preserve existing pin compatibility. This would require network access in cases where local verification currently works.

Reacted by Liang

Activity

  1. jong-kyung
    added the
    Feature
    issue type on Oct 20, 2026
  2. jong-kyung
    added
    enhancementNew feature or request
    on Oct 20, 2026
  3. jong-kyung commented on Oct 20, 2026

    @jong-kyung
    jong-kyung
    on Oct 20, 2026
    CollaboratorAuthor
    More actions

    @liangmiQwQ @fengmk2 WDYT?

    Reacted by Liang
  4. fengmk2 commented on Oct 20, 2026

    @fengmk2
    fengmk2
    on Oct 20, 2026
    Member
    More actions

    Can you provide a better solution? 😄

  5. jong-kyung commented on Oct 20, 2026

    @jong-kyung
    jong-kyung
    on Oct 20, 2026
    CollaboratorAuthor
    More actions

    4. Can you provide a better solution? 😄

    One option would be to verify modern Yarn against the npm tarball hash rather than the extracted CLI hash for both fresh installs and cache reuse, making it consistent with other package managers. This would be a breaking change for existing Corepack-generated Yarn pins. What do you think?

  6. jong-kyung
    self-assigned this
    on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @jong-kyung
    jong-kyung

Labels

enhancementNew feature or request

Type

Feature

Fields

Priority

None yet

Start date

None yet

Target date

None yet

Effort

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.