b84f0b0b18c2dfe34b25bd73a39c757167524302
Reading the manifest (which every app refresh hits) used to call ensureIndexFresh(), kicking off a debounced rebuild — and after the CACHE_VERSION bump that meant a plain refresh could launch a full library rebuild. Make reads side-effect-free: /manifest now just returns the last completed index. Builds are explicit only (POST /reindex or the SSE stream); pick up disk changes by reindexing. Removes the now-unused ensureIndexFresh + lastBuildFinishedAt, and drops /manifest from the 30-min per-request timeout extension (both hops) since it no longer blocks on a build. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Description
No description provided
42 MiB
Languages
TypeScript
90.9%
Shell
4.7%
JavaScript
4.1%
CSS
0.2%
HTML
0.1%