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(cache): fingerprint getEnvs match sets by wan9chi · Pull Request #450 · voidzero-dev/vite-task

Conversation

@wan9chi

@wan9chi wan9chi commented Jun 13, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

Motivation

Bulk env reads are only cache-safe if the cache remembers the entire matched env set. Without match-set fingerprinting, changing a matching env value, adding a new matching name, or removing one could replay stale output.

Scope

Record every getEnvs match set in IPC reports, store SHA-256 hashes for the matched env values in the post-run fingerprint, validate changed/added/removed matches during cache lookup, and render env-specific miss messages without exposing values. This follows the env hashing model from #455 and raises a post-run fingerprint error instead of silently dropping non-UTF-8 matched env names or values.

This PR intentionally does not add the tracked option; every getEnvs request is fingerprinted here. The opt-out for both getEnv and getEnvs is split into the next PR. This PR also does not add the real Vite fixture.

Verification

  • cargo check -p vite_task
  • cargo test -p vite_task_server --test integration
  • cargo test -p vite_task_bin --test e2e_snapshots fetch_envs_tracks_glob_match_set -- --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 13, 2026
feat(client): serve getEnv over runner IPC #446
Merged
fix(plan): serve runner getEnv from unfiltered env context #447
Merged
@wan9chi Graphite App

wan9chi commented Jun 13, 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
  • feat(cache): fingerprint getEnvs match sets #450 Graphite 👈 (View in 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.

This was referenced Jun 13, 2026
feat(cache): fingerprint tracked getEnv reads #448
Merged
feat(client): serve getEnvs over runner IPC #449
Merged
test(e2e): verify real Vite env cache tracking #451
Merged
fix(cache): provide runner IPC for explicit-input tasks #430
Merged
feat(cache): honor runner ignored inputs #431
Merged
feat(ipc): runner ↔ tool IPC channel with disableCache #441
Merged
refactor(execute): single exit paths for pipe/wait and cache update #442
Merged
@wan9chi
wan9chi changed the base branch from infra-get-envs-ipc to graphite-base/450 June 13, 2026 11:11
@wan9chi
wan9chi force-pushed the graphite-base/450 branch from 2f508b0 to e078bf2 Compare June 13, 2026 11:11
@wan9chi
wan9chi force-pushed the infra-get-envs-fingerprint branch from 8bf068d to 2f128bc Compare June 13, 2026 11:11
@wan9chi
wan9chi changed the base branch from graphite-base/450 to infra-get-envs-ipc June 13, 2026 11:11
@wan9chi
wan9chi changed the base branch from infra-get-envs-ipc to graphite-base/450 June 13, 2026 14:22
@wan9chi
wan9chi force-pushed the infra-get-envs-fingerprint branch from 2f128bc to 5a8cde0 Compare June 13, 2026 14:23
@wan9chi
wan9chi force-pushed the graphite-base/450 branch from e078bf2 to 6e58a88 Compare June 13, 2026 14:23
@wan9chi
wan9chi changed the base branch from graphite-base/450 to infra-get-envs-ipc June 13, 2026 14:23
@wan9chi
wan9chi changed the base branch from infra-get-envs-ipc to graphite-base/450 June 13, 2026 14:26
@wan9chi
wan9chi force-pushed the infra-get-envs-fingerprint branch from 5a8cde0 to 4990502 Compare June 13, 2026 14:27
@wan9chi
wan9chi force-pushed the graphite-base/450 branch from 6e58a88 to 01ea610 Compare June 13, 2026 14:27
@wan9chi
wan9chi changed the base branch from graphite-base/450 to infra-get-envs-ipc June 13, 2026 14:27
@wan9chi
wan9chi force-pushed the infra-get-envs-ipc branch from 01ea610 to 399692e Compare June 13, 2026 14:37
@wan9chi
wan9chi force-pushed the infra-get-envs-fingerprint branch 2 times, most recently from 9705c8f to 9477718 Compare June 13, 2026 15:58
@wan9chi
wan9chi force-pushed the infra-get-envs-ipc branch from 399692e to 25a3219 Compare June 13, 2026 15:58
@wan9chi
wan9chi marked this pull request as ready for review June 13, 2026 15:59
@wan9chi
wan9chi force-pushed the infra-get-envs-ipc branch from 25a3219 to 97aa3f0 Compare June 13, 2026 16:01
@wan9chi
wan9chi force-pushed the infra-get-envs-fingerprint branch from 9477718 to a183557 Compare June 13, 2026 16:01
@wan9chi
wan9chi force-pushed the infra-get-envs-ipc branch from 97aa3f0 to 32ac35f Compare June 13, 2026 16:03
@wan9chi
wan9chi force-pushed the infra-get-envs-ipc branch from 983bc76 to 930e359 Compare June 14, 2026 08:34
@wan9chi
wan9chi force-pushed the infra-get-envs-fingerprint branch from 869ce93 to 9cb33a2 Compare June 14, 2026 08:34
@wan9chi
wan9chi force-pushed the infra-get-envs-ipc branch from 930e359 to 21b2fc2 Compare June 14, 2026 08:48
@wan9chi
wan9chi force-pushed the infra-get-envs-fingerprint branch from 9cb33a2 to 3f5f6b4 Compare June 14, 2026 08:48
@wan9chi wan9chi mentioned this pull request Jun 14, 2026
feat(client): add tracked option for env IPC #458
Merged
@wan9chi wan9chi changed the title feat(cache): fingerprint tracked getEnvs match sets feat(cache): fingerprint getEnvs match sets Jun 14, 2026
@wan9chi
wan9chi changed the base branch from infra-get-envs-ipc to graphite-base/450 June 14, 2026 09:13
@wan9chi
wan9chi force-pushed the infra-get-envs-fingerprint branch from 3f5f6b4 to d8da9c9 Compare June 14, 2026 09:14
@wan9chi
wan9chi force-pushed the graphite-base/450 branch from 21b2fc2 to 05ac2d2 Compare June 14, 2026 09:14
@wan9chi
wan9chi changed the base branch from graphite-base/450 to infra-get-envs-ipc June 14, 2026 09:14
@wan9chi
wan9chi changed the base branch from infra-get-envs-ipc to graphite-base/450 June 14, 2026 09:49
@wan9chi
wan9chi force-pushed the graphite-base/450 branch from 05ac2d2 to a25bdcd Compare June 14, 2026 09:49
@wan9chi
wan9chi force-pushed the infra-get-envs-fingerprint branch from d8da9c9 to cf5f1ad Compare June 14, 2026 09:49
@wan9chi
wan9chi changed the base branch from graphite-base/450 to infra-get-envs-ipc June 14, 2026 09:49
@wan9chi
wan9chi changed the base branch from infra-get-envs-ipc to graphite-base/450 June 14, 2026 10:03
@wan9chi
wan9chi force-pushed the graphite-base/450 branch from a25bdcd to 2ad156b Compare June 14, 2026 10:04
@wan9chi
wan9chi force-pushed the infra-get-envs-fingerprint branch from cf5f1ad to 2a8601f Compare June 14, 2026 10:04
@wan9chi
wan9chi changed the base branch from graphite-base/450 to infra-get-envs-ipc June 14, 2026 10:04
@wan9chi
wan9chi force-pushed the infra-get-envs-ipc branch 2 times, most recently from b54a4e1 to 3752763 Compare June 14, 2026 10:08
wan9chi and others added 4 commits June 14, 2026 12:24
@wan9chi
feat(cache): fingerprint tracked getEnvs match sets
d612fb4
Motivation:
Bulk env reads are only cache-safe if the cache remembers the entire matched env set. Without match-set fingerprinting, changing a matching env value, adding a new matching name, or removing one could replay stale output.

Scope:
Make the getEnvs tracked option meaningful, record tracked match sets in IPC reports, store them in the post-run fingerprint, validate changed/added/removed matches during cache lookup, and render env-specific miss messages. This PR does not add the real Vite fixture.

Verification:
- cargo test -p vite_task_server --test integration
- UPDATE_SNAPSHOTS=1 cargo test -p vite_task_bin --test e2e_snapshots fetch_envs_tracks_glob_match_set -- --ignored
- cargo test -p vite_task_bin --test e2e_snapshots fetch_envs_tracks_glob_match_set -- --ignored
@wan9chi @codex
fix(cache): report env glob add/remove misses
19a03b7
Co-authored-by: GPT-5 Codex <[email protected]>
@wan9chi @codex
fix(cache): invalidate non-utf8 getEnvs values
6cb7139
Co-authored-by: GPT-5 Codex <[email protected]>
@wan9chi @codex
docs(cache): document getEnvs UTF-8 semantics
7284220
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:04 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jun 14, 1:04 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.

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.