GeezerVison is showing github.com — feat(client): add tracked option for env IPC by wan9chi · Pull Request #458 · voidzero-dev/vite-task
Conversation
wan9chi
commented
Jun 14, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Motivation
Some tools need to ask the runner for env values without making those reads cache dependencies. The default should stay safe, but callers need an explicit opt-out for env reads that only affect diagnostics or optional behavior.
Scope
Add a tracked flag to both getEnv and getEnvs IPC requests and Rust/Node clients. The option defaults to true; tracked: false still serves the env value or match set but filters that read out of the post-run cache fingerprint. IPC records keep the tracked flag monotonic so a later tracked read of the same name or pattern wins over an earlier untracked read.
This PR is intentionally placed after the getEnvs fingerprint PR so the opt-out is implemented against both env APIs at once.
Verification
cargo check -p vite_task
cargo test -p vite_task_server --test integration
cargo test -p vite_task_bin --test e2e_snapshots fetch_env_untracked_does_not_invalidate -- --ignored
cargo test -p vite_task_bin --test e2e_snapshots fetch_envs_untracked_does_not_invalidate -- --ignored
cargo clippy --locked --all-targets --all-features -- -D warnings
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Jun 14, 2026
wan9chi
commented
Jun 14, 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.
There was a problem hiding this comment.
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: fb19a127bf
ℹ️ 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".
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
wan9chi
changed the title
feat(client): add getEnv tracked option
feat(client): add tracked option for env IPC
Jun 14, 2026
wan9chi
commented
Jun 14, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Merge activity
- Jun 14, 1:41 PM UTC: A user started a stack merge that includes this pull request via Graphite.
- Jun 14, 1:41 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.
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.
|