Skip to content

Cache <pm> --version probe result #3556

Todo
Todo

Description

@liangmiQwQ

For now, when users run vp install in vp env's system-first mode, or run yarn binary with yarnPath set, Vite+ calls <pm> --version to get its exact version, which takes 200ms every single run.

A cache mechanism may significantly improve this case.

Given that this work might be harder than it looks like. If no good solution is available, this will simply be a record, to be addressed when a performance bottleneck arises.

Ref: #3532

Activity

  1. added theissue type on Nov 23, 2026
  2. added
    enhancement
    on Nov 23, 2026
  3. changed the issue type fromtoon Nov 23, 2026
  4. voidzero-bot commented on Nov 23, 2026

    @voidzero-bot
  5. changed the issue type fromtoon Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementtriage: not actionable

Type

Fields

Priority

Low

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