feat(cache): disable cache on ctrl-c or stdin#105
Closed
wan9chi wants to merge 3 commits into
Closed
Conversation
Member
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
7 tasks
wan9chi
changed the base branch from
01-14-e2e_timeout_support
to
graphite-base/105
January 14, 2026 14:54
wan9chi
force-pushed
the
01-14-feat_cache_disable_cache_if_there_was_user_input
branch
from
January 14, 2026 14:56
29665a3 to
4c9922d
Compare
wan9chi
force-pushed
the
graphite-base/105
branch
from
January 14, 2026 14:56
bf60d66 to
c5690c9
Compare
wan9chi
changed the base branch from
graphite-base/105
to
01-14-e2e_timeout_support
January 14, 2026 14:56
wan9chi
marked this pull request as ready for review
January 14, 2026 14:57
wan9chi
changed the base branch from
01-14-e2e_timeout_support
to
graphite-base/105
January 14, 2026 15:29
Add CacheUpdateStatus enum to track whether cache was updated after task execution and why. This provides visibility into cache behavior in the Finish event. - Add CacheNotUpdatedReason enum with CacheHit, CacheDisabled, NonZeroExitStatus - Add CacheUpdateStatus enum with Updated and NotUpdated variants - Include cache_update_status in ExecutionEventKind::Finish - Update all Finish event emissions to include appropriate status Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
# Conflicts: # crates/vite_task_bin/tests/e2e_snapshots/fixtures/exit-codes/snapshots/multiple task failures returns exit code 1.snap # crates/vite_task_bin/tests/e2e_snapshots/fixtures/exit-codes/snapshots/single task failure returns task exit code.snap
wan9chi
force-pushed
the
graphite-base/105
branch
from
January 14, 2026 15:30
c5690c9 to
f17aab2
Compare
wan9chi
force-pushed
the
01-14-feat_cache_disable_cache_if_there_was_user_input
branch
2 times, most recently
from
January 14, 2026 15:30
c094fe0 to
6b987d7
Compare
wan9chi
force-pushed
the
01-14-feat_cache_disable_cache_if_there_was_user_input
branch
from
January 14, 2026 15:30
6b987d7 to
2356bc0
Compare
- Forward stdin from parent to child process concurrently with output draining - Track whether stdin had data during execution - Disable cache update when stdin had data (output may depend on input) - Add CacheNotUpdatedReason::StdinDataExists variant - Add e2e test for stdin passthrough functionality This ensures tasks that read from stdin don't get incorrectly cached, since their output may depend on the input data which we don't fingerprint. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
wan9chi
force-pushed
the
01-14-feat_cache_disable_cache_if_there_was_user_input
branch
from
January 15, 2026 02:07
50c0e12 to
26d24bf
Compare
fengmk2
approved these changes
Jan 15, 2026
wan9chi
marked this pull request as draft
January 15, 2026 04:04
wan9chi
deleted the
01-14-feat_cache_disable_cache_if_there_was_user_input
branch
March 13, 2026 06:19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

No description provided.