feat(cache): disable cache on ctrl-c or stdin#105
Closed
branchseer wants to merge 3 commits intomainfrom
Closed
Conversation
Member
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
7 tasks
29665a3 to
4c9922d
Compare
bf60d66 to
c5690c9
Compare
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
c5690c9 to
f17aab2
Compare
c094fe0 to
6b987d7
Compare
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>
50c0e12 to
26d24bf
Compare
fengmk2
approved these changes
Jan 15, 2026
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.