Skip to content

chore(shared): remove unused EnvConfig fields - #2320

Merged
fengmk2 merged 2 commits into
voidzero-dev:mainfrom
jong-kyung:chore/remove-dead-env-config-fields
Aug 4, 2026
Merged

chore(shared): remove unused EnvConfig fields#2320
fengmk2 merged 2 commits into
voidzero-dev:mainfrom
jong-kyung:chore/remove-dead-env-config-fields

Conversation

@jong-kyung

@jong-kyung jong-kyung commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

Five EnvConfig fields (bypass_shim, debug_shim, tool_recursion, js_scripts_dir, update_task_types) appear to be unused — no reads anywhere in the repo; every consumer reads the env var directly. The env vars themselves keep working as before.

If these are used somewhere I missed, happy to restore.

Test plan

  • cargo check --workspace / cargo test -p vite_shared

Remove bypass_shim, debug_shim, tool_recursion, js_scripts_dir, and
update_task_types. Every consumer reads the corresponding env var
directly, and VP_BYPASS/VP_TOOL_RECURSION are mutated mid-process by
shim dispatch, so a startup snapshot could never serve them anyway.
@netlify

netlify Bot commented Aug 4, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview ready!

Name Link
🔨 Latest commit 4d3eef5
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a71d5c5259f68000865e735
😎 Deploy Preview https://deploy-preview-2320--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.

@jong-kyung jong-kyung self-assigned this Aug 4, 2026
@jong-kyung
jong-kyung marked this pull request as ready for review August 4, 2026 11:50
@jong-kyung

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

Reviewed commit: d37d0d7b15

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

@jong-kyung
jong-kyung requested a review from fengmk2 August 4, 2026 11:53
@fengmk2
fengmk2 merged commit 2515104 into voidzero-dev:main Aug 4, 2026
45 checks passed
@jong-kyung
jong-kyung deleted the chore/remove-dead-env-config-fields branch August 4, 2026 12:27
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.

2 participants