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 — ci: default tests to latest, add pkg.pr.new dispatch input by fengmk2 · Pull Request #74 · voidzero-dev/setup-vp

Conversation

@fengmk2

@fengmk2 fengmk2 commented May 29, 2026

Copy link
Copy Markdown
Member

Summary

Removes alpha-channel testing and replaces it with on-demand pkg.pr.new verification triggered manually.

  • Dropped the version: [latest, alpha] matrix from every test job. Push / PR / merge_group runs now exercise only the latest published Vite+ (the action's default). Jobs whose only matrix dimension was version lost their strategy: block; jobs with other dimensions (os, node-version, lockfile) kept theirs.
  • Added a workflow_dispatch input pr_version (a PR number or commit SHA, e.g. 1569) for verifying an unreleased Vite+ build on demand.

How pkg.pr.new testing works

pkg.pr.new builds install via VP_PR_VERSION (PR number / commit SHA), not the version input — the install script checks VP_PR_VERSION before VP_VERSION and uses it to pull the matching build from pkg.pr.new. The input feeds a workflow-level env var:

env:
  VP_PR_VERSION: ${{ github.event.inputs.pr_version }}

Since the action spreads ...process.env into the install, this flows straight through and wins even though the action sets VP_VERSION=latest. On every non-dispatch event the value is empty, which the script treats as unset → latest. So one manual dispatch verifies a candidate build across the entire matrix (install, node-version, cache, exec, sfw) with no source change to the action.

Notes

  • The build job is pinned to latest (VP_PR_VERSION: "") so a pre-release bundler can't shift dist/ output and fail the "dist is up to date" diff for unrelated reasons.
  • The sfw jobs now ride the dispatched version too; their stale "covers the alpha channel" comments were updated.

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@fengmk2
ci: default tests to latest, add pkg.pr.new dispatch input
97af37f
Remove the `version: [latest, alpha]` matrix from every test job so
push/PR/merge_group runs only exercise the latest published Vite+.

Add a `workflow_dispatch` input (`pr_version`) for verifying an
unreleased Vite+ build on demand. It feeds a workflow-level
`VP_PR_VERSION` env var, which the install script checks before
`VP_VERSION` and uses to pull the matching build from pkg.pr.new — so a
single manual run verifies a candidate across the whole matrix. The
value is empty on every other event, which the install script treats as
unset and falls back to latest.

The build job is pinned to latest (`VP_PR_VERSION: ""`) so a pre-release
bundler can't shift dist/ output and fail the "dist is up to date" diff.
Copilot AI review requested due to automatic review settings May 29, 2026 07:25
Copilot started reviewing on behalf of fengmk2 May 29, 2026 07:25
View session
Copilot AI reviewed May 29, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates CI to test the default latest Vite+ release on normal events while allowing manual workflow dispatches to verify an unreleased pkg.pr.new Vite+ build via VP_PR_VERSION.

Changes:

  • Adds a workflow_dispatch pr_version input and workflow-level VP_PR_VERSION environment variable.
  • Removes the latest/alpha version matrix from test jobs.
  • Pins the build job to latest by clearing VP_PR_VERSION, and updates related sfw comments.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@fengmk2
fengmk2 merged commit 8b7d810 into main May 29, 2026
34 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@fengmk2
fengmk2 deleted the ci/test-pkg-pr-new-dispatch branch May 29, 2026 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@fengmk2
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.