feat(cache): show remote cache hits - #757
Merged
Merged
Conversation
wan9chi
force-pushed
the
remote-cache-hit-source
branch
from
September 24, 2026 19:46
8d89f96 to
00bacf6
Compare
wan9chi
added this pull request to stack #751
September 24, 2026 19:46
fspy benchmarklinuxmacoswindows |
wan9chi
force-pushed
the
remote-cache-hit-source
branch
from
September 25, 2026 02:04
00bacf6 to
d9ec5a7
Compare
wan9chi
force-pushed
the
remote-cache-hit-source
branch
2 times, most recently
from
September 25, 2026 02:28
acbe343 to
0f57cb9
Compare
wan9chi
force-pushed
the
remote-cache-hit-source
branch
from
September 25, 2026 02:29
0f57cb9 to
527f703
Compare
wan9chi
removed this pull request from stack #751
September 25, 2026 02:34
wan9chi
added this pull request to stack #759
September 25, 2026 02:35
wan9chi
force-pushed
the
remote-cache-hit-source
branch
from
September 25, 2026 02:38
527f703 to
33bfa6a
Compare
wan9chi
force-pushed
the
remote-cache-hit-source
branch
from
September 25, 2026 03:07
33bfa6a to
21f0eca
Compare
wan9chi
force-pushed
the
remote-cache-hit-source
branch
2 times, most recently
from
September 27, 2026 12:15
6e5fd41 to
0f4d66a
Compare
wan9chi
force-pushed
the
remote-cache-hit-source
branch
2 times, most recently
from
September 27, 2026 12:40
7f49a3c to
d6253f3
Compare
wan9chi
force-pushed
the
remote-cache-hit-source
branch
3 times, most recently
from
September 27, 2026 13:30
3f5403f to
45b219f
Compare
wan9chi
force-pushed
the
remote-cache-hit-source
branch
4 times, most recently
from
September 27, 2026 15:40
3d5d28a to
366830e
Compare
A cache hit now records whether it came from the local or the remote cache. Remote hits are marked inline (`◉ remote cache hit, replaying`), in the compact summary (`vp run: remote cache hit, 1s saved.` for a single task, `2/3 cache hit (66%, 1 remote)` otherwise), in the full summary's statistics (`2 cache hits (1 remote)`), and in the task details (`→ Remote cache hit - output replayed - 1s saved`). Local hits look as before. The saved summary records the source, and summaries saved without it read as local hits. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
wan9chi
force-pushed
the
remote-cache-hit-source
branch
from
September 27, 2026 15:46
366830e to
85ba481
Compare
wan9chi
marked this pull request as ready for review
September 27, 2026 16:31
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.
Motivation
A remote hit looks the same as a local one, so it's hard to tell whether the remote cache is working and how much of a run it served.
Changes
Cache hits record whether they came from the local or the remote cache, and remote hits are marked. Local hits look as before.
◉ remote cache hit, replayingvp run: remote cache hit, 1.2s saved.for one task, andvp run: 2/2 cache hit (100%, 1 remote).for several--last-details:2 cache hits (1 remote)in the statistics, and→ Remote cache hit - output replayed - 1.2s savedSummaries saved before this change read as local hits.