Skip to content

feat(env): disable pnpm runtime for managed node - #2469

Closed
liangmiQwQ wants to merge 8 commits into
voidzero-dev:mainfrom
liangmiQwQ:liang/codex/inject-pnpm-runtime-env
Closed

feat(env): disable pnpm runtime for managed node#2469
liangmiQwQ wants to merge 8 commits into
voidzero-dev:mainfrom
liangmiQwQ:liang/codex/inject-pnpm-runtime-env

Conversation

@liangmiQwQ

@liangmiQwQ liangmiQwQ commented Aug 16, 2026

Copy link
Copy Markdown
Collaborator

Close #2468

pnpm installs runtimes declared in devEngines.runtime, which duplicates Node.js when Vite+ already manages the project runtime.

This PR passes PNPM_CONFIG_RUNTIME=false only to pnpm child processes when Vite+ manages Node.js and the project declares Node.js as its only runtime. It applies to direct pnpm shims and pnpm-backed vp install, including system-first pnpm.

Bun, Deno, mixed runtime declarations, and system-first Node.js keep pnpm runtime management unchanged. The variable is not written to shell environment files.

🤖 Generated with Codex

@netlify

netlify Bot commented Aug 16, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview ready!

Name Link
🔨 Latest commit e93d951
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a974e7f01e27b0008304d18
😎 Deploy Preview https://deploy-preview-2469--viteplus-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@liangmiQwQ

Copy link
Copy Markdown
Collaborator Author

Screenshots of vp env doctor:
image
image

@liangmiQwQ

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 77bedde16f

ℹ️ 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".

Comment thread crates/vp_global_cli/src/commands/env/setup.rs Outdated
Comment thread crates/vp_global_cli/src/commands/env/setup.rs Outdated
Comment thread crates/vp_global_cli/src/commands/env/setup.rs Outdated
@liangmiQwQ

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d4d2c61e62

ℹ️ 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".

Comment thread crates/vp_global_cli/src/commands/env/setup.rs Outdated
@liangmiQwQ

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 611e885506

ℹ️ 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".

Comment thread crates/vp_global_cli/src/commands/env/setup.rs Outdated
Comment thread docs/guide/env.md Outdated
@liangmiQwQ

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c99a498b04

ℹ️ 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".

Comment thread packages/cli/install.sh Outdated
@liangmiQwQ

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

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

Reviewed commit: d940f82707

ℹ️ 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".

@liangmiQwQ
liangmiQwQ marked this pull request as ready for review August 29, 2026 14:15
@liangmiQwQ
liangmiQwQ marked this pull request as draft August 29, 2026 14:15
@liangmiQwQ liangmiQwQ closed this Sep 1, 2026
@liangmiQwQ
liangmiQwQ force-pushed the liang/codex/inject-pnpm-runtime-env branch from d940f82 to a1ed5e5 Compare September 1, 2026 13:48
@liangmiQwQ liangmiQwQ changed the title feat(env): disable pnpm runtime management in managed mode feat(env): disable pnpm runtime for managed node Sep 1, 2026
@liangmiQwQ liangmiQwQ reopened this Sep 1, 2026
@liangmiQwQ

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-01T22:06:27.664007Z d2b6d48 Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1f7b1f6305

ℹ️ 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".

Comment thread crates/vp_global_cli/src/cli.rs
Comment thread crates/vp_global_cli/src/commands/pnpm_runtime.rs
Comment thread crates/vp_global_cli/src/commands/pnpm_runtime.rs
Comment thread crates/vp_global_cli/src/commands/pnpm_runtime.rs Outdated
Comment thread crates/vp_global_cli/src/commands/pnpm_runtime.rs Outdated
Comment thread crates/vp_global_cli/src/shim/dispatch.rs
@liangmiQwQ

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: edfa6d5793

ℹ️ 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".

Comment thread crates/vp_global_cli/src/commands/pnpm_runtime.rs Outdated
Comment thread crates/vp_global_cli/src/shim/dispatch.rs Outdated
@liangmiQwQ

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c7f6bc29b7

ℹ️ 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".

Comment thread crates/vp_global_cli/src/commands/pnpm_runtime.rs
Comment thread crates/vp_global_cli/src/commands/pnpm_runtime.rs Outdated
Comment thread crates/vp_global_cli/src/commands/pnpm_runtime.rs
@liangmiQwQ

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d2b6d48ad7

ℹ️ 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".

Comment thread crates/vp_global_cli/src/commands/pnpm_runtime.rs
Comment thread crates/vp_global_cli/src/commands/pnpm_runtime.rs
Comment thread crates/vp_global_cli/src/shim/dispatch.rs Outdated
Comment thread crates/vp_global_cli/src/cli.rs
@liangmiQwQ liangmiQwQ closed this Sep 2, 2026
@liangmiQwQ
liangmiQwQ deleted the liang/codex/inject-pnpm-runtime-env branch September 2, 2026 14:06
@liangmiQwQ

Copy link
Copy Markdown
Collaborator Author

Close according to #2468 (comment)

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.

Inject PNPM_CONFIG_RUNTIME=false when vp env is managed

1 participant