Skip to content

fix(installer): hide shell config warnings in CI - #2511

Open
fengmk2 wants to merge 4 commits into
fix/setup-vp-exe-review-feedbackfrom
fix/ci-shell-config-warnings
Open

fix(installer): hide shell config warnings in CI#2511
fengmk2 wants to merge 4 commits into
fix/setup-vp-exe-review-feedbackfrom
fix/ci-shell-config-warnings

Conversation

@fengmk2

@fengmk2 fengmk2 commented Aug 20, 2026

Copy link
Copy Markdown
Member

install.sh now hides shell configuration warnings and instructions when CI=true. CI runners set PATH through the job environment. Changes to shell files do not change later job steps.

The examples show only the relevant output lines.

Before:

warn: Cannot write to /home/runner/.bashrc (permission denied), skipping.
warn: Cannot write to /home/runner/.profile (permission denied), skipping.

Shell configuration:
    - bash: failed ~/.bashrc, ~/.profile

note: Some shells still need manual setup.
Manual setup instructions:

After:

Install locations:
    Data directory: <data-directory>
    Bin directory:  <bin-directory>

Set VP_LOG=trace to show the hidden shell file errors. Installations outside CI keep the warnings and manual setup instructions.

This PR is stacked on #2505.

Closes voidzero-dev/setup-vp#87

@github-actions

github-actions Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

✅ Staging deployment successful!

Preview: https://viteplus-staging.void.app/
Commit: 7d275a4

@fengmk2
fengmk2 marked this pull request as ready for review August 20, 2026 13:02
@fengmk2
fengmk2 requested a review from wan9chi August 20, 2026 13:03
@fengmk2 fengmk2 self-assigned this Aug 20, 2026
@fengmk2 fengmk2 added the preview-build Publish this PR's commits to the registry bridge as preview builds label Aug 20, 2026
@fengmk2
fengmk2 force-pushed the fix/ci-shell-config-warnings branch from dfb7735 to 7d275a4 Compare August 20, 2026 13:24
@fengmk2 fengmk2 added preview-build Publish this PR's commits to the registry bridge as preview builds and removed preview-build Publish this PR's commits to the registry bridge as preview builds labels Aug 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Registry bridge build (7d275a4)

This commit build is published to the registry bridge, which serves these as ordinary npm versions (every other package proxies to npmjs):

Package Version
vite-plus 0.0.0-commit.7d275a46b5960e82af79a34e6421060c402d1704
@voidzero-dev/vite-plus-core 0.0.0-commit.7d275a46b5960e82af79a34e6421060c402d1704

Install the Vite+ CLI built from this commit, then migrate a project:

# macOS / Linux
curl -fsSL https://raw.githubusercontent.com/voidzero-dev/vite-plus/7d275a46b5960e82af79a34e6421060c402d1704/packages/cli/install.sh | VP_PR_VERSION=2511 bash
# Windows (PowerShell)
$env:VP_PR_VERSION="2511"; irm https://raw.githubusercontent.com/voidzero-dev/vite-plus/7d275a46b5960e82af79a34e6421060c402d1704/packages/cli/install.ps1 | iex

Or download the standalone Windows installer built from this commit:

Architecture Installer
x64 vp-setup-x86_64-pc-windows-msvc.exe
Arm64 vp-setup-aarch64-pc-windows-msvc.exe

GitHub requires you to sign in and downloads each installer as a ZIP artifact. Extract vp-setup.exe, then run it against this preview build:

.\vp-setup.exe --version "0.0.0-commit.7d275a46b5960e82af79a34e6421060c402d1704" --registry "https://registry-bridge.viteplus.dev/"

After installing, upgrade the current project's vite-plus to this test build with:

vp migrate

Or point your package manager at the bridge registry https://registry-bridge.viteplus.dev/:

Package manager Registry config
npm / pnpm / Bun .npmrc: registry=https://registry-bridge.viteplus.dev/
Yarn (v2+) .yarnrc.yml: npmRegistryServer: "https://registry-bridge.viteplus.dev/"

Then pin the build (vite aliases to vite-plus-core; pnpm can use a catalog, npm an overrides entry):

{
  "devDependencies": {
    "vite-plus": "0.0.0-commit.7d275a46b5960e82af79a34e6421060c402d1704",
    "vite": "npm:@voidzero-dev/vite-plus-core@0.0.0-commit.7d275a46b5960e82af79a34e6421060c402d1704"
  }
}

@github-actions

Copy link
Copy Markdown
Contributor

🐳 Docker preview image

Built from this PR's registry bridge build:

Image Compressed size
ghcr.io/voidzero-dev/vite-plus:pr-2511 236MB
# remove any stale local copy from a previous run, then pull fresh
docker rmi ghcr.io/voidzero-dev/vite-plus:pr-2511 2>/dev/null; docker pull ghcr.io/voidzero-dev/vite-plus:pr-2511

Quick check:

docker run --rm ghcr.io/voidzero-dev/vite-plus:pr-2511 vp --version

See docs/guide/docker.md for usage.

@fengmk2
fengmk2 requested a review from cpojer August 21, 2026 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preview-build Publish this PR's commits to the registry bridge as preview builds

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vite+ install.sh always warns about unwritable .bashrc/.profile on self-hosted ARC runners (harmless but noisy)

1 participant