Files
Julius van der VaartandClaude Opus 5.5 1e8c855a66 perf(file-provider): read a new directory inside a pinned folder in the same scan
The working-set scan only descends into a changed child directory when
something inside it is already materialised, which keeps one push from
walking whole never-visited subtrees on a sparse domain. A directory
created on the server inside a pinned folder can never pass that test,
because nothing inside it is known yet, so the extension did not report
its contents. fileproviderd still lists the pinned folder and downloads
its files on its own background cycle, which took about a minute in a
manual test and can take longer when macOS defers background work.

"Always keep downloaded" asks for the whole subtree, so the scan now
descends when the child carries the pin, and the files are reported in
the same scan. The bound holds everywhere else.

The pin is read from the stored row, because the read applies the
parent's pin to a new row on its own copy, so the metadata it hands back
still has the value from before.

Assisted-by: ClaudeCode:claude-opus-5-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Julius van der Vaart <[email protected]>
2026-11-06 13:23:50 +01:00
..