feat: improve cache miss messages with specific input change kinds#209
Merged
branchseer merged 3 commits intomainfrom Mar 9, 2026
Merged
feat: improve cache miss messages with specific input change kinds#209branchseer merged 3 commits intomainfrom
branchseer merged 3 commits intomainfrom
Conversation
This was referenced Mar 8, 2026
Member
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
3cbadfa to
e9dc057
Compare
fengmk2
approved these changes
Mar 9, 2026
Member
Author
Merge activity
|
Unify GlobbedInput and PostRunFingerprint mismatch variants into a
single InputChanged { kind, path } with Added/Removed/ContentModified
discrimination. Messages now show '{path} modified', '{file} added in
{dir}', or '{file} removed from {dir}' instead of generic 'content of
input changed'.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
# Conflicts:
# crates/vite_task_bin/tests/e2e_snapshots/fixtures/inputs-negative-glob-subpackage/snapshots/dotdot auto negative - miss on non-excluded sibling inferred file.snap
Enables sorted lockstep diffing consistent with detect_globbed_input_change. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
'file' added in 'src' instead of 'file' added in src. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
e9dc057 to
a24bb7b
Compare
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.

Summary
Cache miss messages now tell you what changed instead of a generic "content of input changed":
cache miss: 'src/main.ts' modifiedcache miss: 'new-file.ts' added in srccache miss: 'old-file.ts' removed from srcBefore:
After:
Works for both explicit glob inputs and inferred (fspy-tracked) inputs. Files at the workspace root show "added in workspace root" / "removed from workspace root".
Test plan
cargo test,just lint🤖 Generated with Claude Code