GeezerVison is showing github.com — test(e2e): verify real Vite env cache tracking by wan9chi · Pull Request #451 · voidzero-dev/vite-task
Conversation
wan9chi
commented
Jun 13, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Motivation
The focused IPC fixture proves runner env tracking in isolation, but reviewers also need confidence that the real Vite integration exercises getEnv for NODE_ENV and getEnvs for VITE_* prefixes. The prefix-env case should use a neutral VITE_* variable so it does not read like Vite mode or NODE_ENV behavior.
Scope
Add a minimal Vite build fixture and a local vtt grep-file helper. The fixture verifies NODE_ENV changes invalidate through getEnv, and VITE_CACHE_LABEL changes invalidate through Vite's getEnvs('VITE_*') path while changing the emitted bundle. The fixture keeps manual input exclusions so this PR remains about env tracking only; it intentionally does not introduce production APIs, playground changes, or output tracking behavior.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
chatgpt-codex-connector[bot] reacted with thumbs up emoji
This was referenced Jun 13, 2026
wan9chi
commented
Jun 13, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Jun 13, 2026
Motivation:
The smaller IPC fixture proves runner env tracking in isolation, but reviewers also need confidence that the real Vite integration exercises getEnv for NODE_ENV and getEnvs for VITE_* prefixes.
Scope:
Add a minimal Vite build fixture and a local vtt grep-file helper used only to assert that changing VITE_MODE changes the emitted bundle. This PR does not introduce production APIs, playground changes, or output tracking behavior.
Verification:
- cargo test -p vite_task_bin --test e2e_snapshots vite_node_env_change_invalidates_cache -- --ignored
- cargo test -p vite_task_bin --test e2e_snapshots vite_prefix_env_change_invalidates_cache -- --ignored
wan9chi
commented
Jun 14, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Merge activity
- Jun 14, 1:54 PM UTC: A user started a stack merge that includes this pull request via Graphite.
- Jun 14, 1:55 PM UTC: @wan9chi merged this pull request with Graphite.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Jun 14, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
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.
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.
|