GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(client): add tracked option for env IPC by wan9chi · Pull Request #458 · voidzero-dev/vite-task

Conversation

@wan9chi

@wan9chi wan9chi commented Jun 14, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

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.

All reactions
This was referenced Jun 14, 2026
feat(cache): fingerprint tracked getEnv reads #454
Merged
feat(cache): fingerprint getEnvs match sets #450
Merged
feat(cache): honor runner ignored inputs #431
Merged
feat(client): serve getEnvs over runner IPC #449
Merged
test(e2e): verify real Vite env cache tracking #451
Merged
@wan9chi Graphite App

wan9chi commented Jun 14, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author
  • docs: consolidate runner-aware changelog entries #463 Graphite
  • test(e2e): verify Vite auto output restoration #462 Graphite
  • feat(cache): default outputs to automatic tracking #461 Graphite
  • feat(cache): add explicit auto output tracking #460 Graphite
  • feat(cache): honor runner ignored outputs #459 Graphite
  • feat(cache): honor runner ignored inputs #431 Graphite
  • test(e2e): verify real Vite env cache tracking #451 Graphite
  • feat(client): add tracked option for env IPC #458 Graphite 👈 (View in Graphite)
  • feat(cache): fingerprint getEnvs match sets #450 Graphite
  • feat(client): serve getEnvs over runner IPC #449 Graphite
  • feat(cache): fingerprint tracked getEnv reads #454 Graphite
  • main

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Jun 14, 2026
View reviewed changes

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

Copy link
Copy Markdown

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.

All reactions
Comment thread crates/vite_task_client_napi/src/lib.rs Resolved

Uh oh!

There was an error while loading. Please reload this page.

@wan9chi wan9chi changed the title feat(client): add getEnv tracked option feat(client): add tracked option for env IPC Jun 14, 2026
@wan9chi
wan9chi changed the base branch from codex/reapply-448 to graphite-base/458 June 14, 2026 09:13
@wan9chi
wan9chi force-pushed the graphite-base/458 branch from 397eb93 to d8da9c9 Compare June 14, 2026 09:14
@wan9chi
wan9chi force-pushed the infra-get-env-tracked-option branch from fb19a12 to 6dab0e4 Compare June 14, 2026 09:14
@wan9chi
wan9chi changed the base branch from graphite-base/458 to infra-get-envs-fingerprint June 14, 2026 09:14
@wan9chi
wan9chi changed the base branch from infra-get-envs-fingerprint to graphite-base/458 June 14, 2026 09:49
@wan9chi
wan9chi force-pushed the infra-get-env-tracked-option branch from 6dab0e4 to 1074c41 Compare June 14, 2026 09:50
@wan9chi
wan9chi force-pushed the graphite-base/458 branch from d8da9c9 to cf5f1ad Compare June 14, 2026 09:50
@wan9chi
wan9chi changed the base branch from graphite-base/458 to infra-get-envs-fingerprint June 14, 2026 09:50
@wan9chi
wan9chi changed the base branch from infra-get-envs-fingerprint to graphite-base/458 June 14, 2026 10:04
@wan9chi
wan9chi force-pushed the infra-get-env-tracked-option branch from 1074c41 to b5e2a40 Compare June 14, 2026 10:04
@wan9chi
wan9chi force-pushed the graphite-base/458 branch from cf5f1ad to 2a8601f Compare June 14, 2026 10:04
@wan9chi
wan9chi changed the base branch from graphite-base/458 to infra-get-envs-fingerprint June 14, 2026 10:04
@wan9chi
wan9chi force-pushed the infra-get-envs-fingerprint branch from 2a8601f to 860acd1 Compare June 14, 2026 10:08
@wan9chi
wan9chi force-pushed the infra-get-env-tracked-option branch from b5e2a40 to 863801a Compare June 14, 2026 10:09
@wan9chi
wan9chi force-pushed the infra-get-envs-fingerprint branch 2 times, most recently from 782d20f to d612fb4 Compare June 14, 2026 12:24
@wan9chi
wan9chi force-pushed the infra-get-env-tracked-option branch from 863801a to 6470102 Compare June 14, 2026 12:24
@wan9chi
wan9chi changed the base branch from infra-get-envs-fingerprint to graphite-base/458 June 14, 2026 12:38
@wan9chi
wan9chi force-pushed the infra-get-env-tracked-option branch from 6470102 to d056c89 Compare June 14, 2026 12:39
@wan9chi
wan9chi changed the base branch from graphite-base/458 to infra-get-envs-fingerprint June 14, 2026 12:39
@wan9chi
wan9chi changed the base branch from infra-get-envs-fingerprint to graphite-base/458 June 14, 2026 12:49
@wan9chi
wan9chi force-pushed the infra-get-env-tracked-option branch from d056c89 to 58fbea1 Compare June 14, 2026 12:50
@wan9chi
wan9chi changed the base branch from graphite-base/458 to infra-get-envs-fingerprint June 14, 2026 12:50
@wan9chi
wan9chi changed the base branch from infra-get-envs-fingerprint to graphite-base/458 June 14, 2026 12:57
@wan9chi
wan9chi force-pushed the infra-get-env-tracked-option branch from 58fbea1 to fc46389 Compare June 14, 2026 12:58
@wan9chi
wan9chi changed the base branch from graphite-base/458 to infra-get-envs-fingerprint June 14, 2026 12:58
@wan9chi
wan9chi changed the base branch from infra-get-envs-fingerprint to graphite-base/458 June 14, 2026 12:59
@wan9chi
wan9chi force-pushed the infra-get-env-tracked-option branch from fc46389 to f27fb18 Compare June 14, 2026 13:00
@wan9chi
wan9chi force-pushed the graphite-base/458 branch from cc0650d to 7284220 Compare June 14, 2026 13:00
@wan9chi
wan9chi changed the base branch from graphite-base/458 to infra-get-envs-fingerprint June 14, 2026 13:00
@wan9chi
wan9chi changed the base branch from infra-get-envs-fingerprint to graphite-base/458 June 14, 2026 13:04
@wan9chi
feat(client): add tracked option for env IPC
90a513a
@wan9chi
wan9chi force-pushed the graphite-base/458 branch from 7284220 to dfdf0b3 Compare June 14, 2026 13:04
@wan9chi
wan9chi force-pushed the infra-get-env-tracked-option branch from f27fb18 to 90a513a Compare June 14, 2026 13:04
@graphite-app
graphite-app Bot changed the base branch from graphite-base/458 to main June 14, 2026 13:05
@wan9chi
wan9chi force-pushed the infra-get-env-tracked-option branch 2 times, most recently from 284359c to 90a513a Compare June 14, 2026 13:05
@wan9chi @codex
refactor(server): record only tracked env reads
e7a8bde
Co-authored-by: GPT-5 Codex <[email protected]>
@wan9chi Graphite App

wan9chi commented Jun 14, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

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.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@wan9chi
wan9chi merged commit 9b7317c into main Jun 14, 2026
20 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@wan9chi
wan9chi deleted the infra-get-env-tracked-option branch June 14, 2026 13:41
This was referenced Jun 14, 2026
feat(cache): honor runner ignored outputs #459
Merged
feat(cache): add explicit auto output tracking #460
Merged
feat(cache): default outputs to automatic tracking #461
Merged
test(e2e): verify Vite auto output restoration #462
Merged
docs: consolidate runner-aware changelog entries #463
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

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.

1 participant

@wan9chi
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.