Skip to content

[pull] master from microsoft:master#115

Merged
pull[bot] merged 2 commits into
cgallred:masterfrom
microsoft:master
Jun 15, 2026
Merged

[pull] master from microsoft:master#115
pull[bot] merged 2 commits into
cgallred:masterfrom
microsoft:master

Conversation

@pull

@pull pull Bot commented Jun 15, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

tyrielv added 2 commits June 15, 2026 08:51
The merge of #2002 (prefetch-offload-to-mount) on top of #2004
(expand-prefetch-cache) left three issues:

1. PrefetchVerb.cs hydration-fallback path passed the removed
   lastPrefetchArgs variable instead of prefetchCache +
   prefetchCacheSize.

2. InProcessMount.cs HandlePrefetchBlobsRequest passed the removed
   lastPrefetchArgs variable. The mount-side handler is a one-shot
   download with no persistent noop cache, so it correctly receives
   null + 0.

3. When prefetch succeeds via mount offload, the verb-side noop cache
   was never updated — SavePrefetchArgs only runs inside
   BlobPrefetcher.PrefetchWithStats, which is skipped on the offload
   path. This caused NoopPrefetch to re-download on the second run
   instead of printing 'Nothing new to prefetch.'

   Fix: add BlobPrefetcher.UpdateNoopCache() static method (extracted
   from SavePrefetchArgs logic) and call it from PrefetchVerb after
   successful mount offload.

   Update PrefetchBlobsMountedAfterRemount test to expect the noop
   message since the file was already cached by a prior test in the
   same fixture.

Assisted-by: Claude Opus 4.6
Signed-off-by: Tyrie Vella <tyrielv@gmail.com>
Fix build break: bad merge in prefetch cache parameters
@pull pull Bot locked and limited conversation to collaborators Jun 15, 2026
@pull pull Bot added the ⤵️ pull label Jun 15, 2026
@pull pull Bot merged commit 8d59a64 into cgallred:master Jun 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant