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 — Support Vite Task GitHub Actions cache in setup-vp · Issue #2013 · voidzero-dev/vite-plus

Support Vite Task GitHub Actions cache in setup-vp #2013

New issue
Copy link
New issue
Copy link
Open
voidzero-dev/setup-vp
#126
voidzero-dev/setup-vp#126
Open
Support Vite Task GitHub Actions cache in setup-vp#2013
voidzero-dev/setup-vp
#126
Copy link
Assignees
KTrain5169
Milestone
RC

Description

@wan9chi
wan9chi
opened on Jul 1, 2026
Issue body actions

Problem

The GitHub Actions cache guide currently asks users to wire Vite Task cache manually with actions/cache restore and save steps.

That makes every project choose its own cache path and key shape for node_modules/.vite/task-cache. It is easy to get wrong, and users have to repeat the same workflow config in each repository.

Possible direction

Add first-class Vite Task cache support to voidzero-dev/setup-vp.

setup-vp could provide a good default path and cache key for Vite Task, while still allowing projects to opt in and override defaults when needed. This should stay separate from package-manager dependency caching.

Context

Raised during review of #1992. The docs can keep the manual workflow for now, but setup support would make the common case simpler.

Reacted by Liang

Activity

  1. KTrain5169 commented on Jul 20, 2026

    @KTrain5169
    KTrain5169
    on Jul 20, 2026
    Contributor
    More actions

    Would it be alright if I looked into implementing this?

    Reacted by Liang
  2. fengmk2
    added this to the RC milestone on Aug 6, 2026
  3. KTrain5169 commented on Aug 13, 2026

    @KTrain5169
    KTrain5169
    on Aug 13, 2026
    Contributor
    More actions

    wrote an implementation and PR'd it to voidzero-dev/setup-vp

    Reacted by MK (fengmk2)
  4. fengmk2
    assigned
    KTrain5169
    on Aug 14, 2026
  5. cderinbogaz commented on Sep 7, 2026

    @cderinbogaz
    cderinbogaz
    on Sep 7, 2026
    More actions

    Disclosure: I work on Runnerhut. For setup-vp#126, I would include a consumer-level test where dependency caching is disabled but task caching is enabled, and the reverse. That would prove the two controls remain independent. Also test a configured cache path in a subdirectory and a source/env change after an outer GitHub cache hit. The useful measurement is avoided task execution, not just successful archive restoration; a runner change should be evaluated separately from that gain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @KTrain5169
    KTrain5169

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    • RC

    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.