Skip to content

fix(cli): scope CI env var to child process in Windows install script#1292

Merged
graphite-app[bot] merged 1 commit intomainfrom
win-install-issue1288
Apr 6, 2026
Merged

fix(cli): scope CI env var to child process in Windows install script#1292
graphite-app[bot] merged 1 commit intomainfrom
win-install-issue1288

Conversation

@fengmk2
Copy link
Copy Markdown
Member

@fengmk2 fengmk2 commented Apr 4, 2026

Use cmd /c "set CI=true && ..." instead of setting $env:CI directly,
so the variable is scoped to the child process and does not persist in the
user's PowerShell session. This prevented vp create from entering
interactive mode when run in the same terminal after installation.

Closes #1288

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 4, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit d7b9b6a
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/69d361e399e2d00008baed61

@fengmk2 fengmk2 self-assigned this Apr 4, 2026
Copy link
Copy Markdown
Member Author

fengmk2 commented Apr 4, 2026


How to use the Graphite Merge Queue

Add the label auto-merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@fengmk2 fengmk2 marked this pull request as ready for review April 4, 2026 02:16
Copy link
Copy Markdown
Member Author

fengmk2 commented Apr 4, 2026

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Copy Markdown
Member Author

fengmk2 commented Apr 4, 2026

test worksimage.png

@fengmk2 fengmk2 requested review from branchseer and cpojer April 6, 2026 07:01
@graphite-app
Copy link
Copy Markdown

graphite-app bot commented Apr 6, 2026

Merge activity

  • Apr 6, 7:09 AM UTC: fengmk2 added this pull request to the Graphite merge queue.
  • Apr 6, 7:18 AM UTC: The Graphite merge queue couldn't merge this PR because it was not satisfying all requirements (Failed CI: 'done', 'CLI snap test (x86_64-unknown-linux-gnu, 3/3)', 'CLI snap test (aarch64-apple-darwin, 3/3)', 'CLI E2E test (Linux x64 musl)').
  • Apr 6, 7:41 AM UTC: fengmk2 added this pull request to the Graphite merge queue.
  • Apr 6, 7:42 AM UTC: Merged by the Graphite merge queue.

graphite-app bot pushed a commit that referenced this pull request Apr 6, 2026
…#1292)

Use `cmd /c "set CI=true && ..."` instead of setting `$env:CI` directly,
so the variable is scoped to the child process and does not persist in the
user's PowerShell session. This prevented `vp create` from entering
interactive mode when run in the same terminal after installation.

Closes #1288
@graphite-app graphite-app bot force-pushed the win-install-issue1288 branch from 1709b3c to 15d8501 Compare April 6, 2026 07:10
…#1292)

Use `cmd /c "set CI=true && ..."` instead of setting `$env:CI` directly,
so the variable is scoped to the child process and does not persist in the
user's PowerShell session. This prevented `vp create` from entering
interactive mode when run in the same terminal after installation.

Closes #1288
@fengmk2 fengmk2 force-pushed the win-install-issue1288 branch from 15d8501 to d7b9b6a Compare April 6, 2026 07:33
Copy link
Copy Markdown
Member Author

fengmk2 commented Apr 6, 2026

By the way, fix the flaky snap test.

@graphite-app graphite-app bot merged commit d7b9b6a into main Apr 6, 2026
43 checks passed
@graphite-app graphite-app bot deleted the win-install-issue1288 branch April 6, 2026 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vp create with no arguments should imply --interactive

2 participants