Fix race condition in thumbnail candidate generation

Concurrent requests for the same course's thumbnail (e.g. the
Precompute background scan overlapping an ordinary page load) shared
fixed candidate filenames, so one request's cleanup could delete a
temp file the other was still using, crashing with ENOENT. Candidate
filenames are now unique per call.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-24 20:27:08 -04:00
co-authored by Claude Sonnet 5
parent 36d9e7f89b
commit de9c05d0d0
3 changed files with 8 additions and 2 deletions
+1
View File
@@ -1,3 +1,4 @@
2026-08-25 00:26 UTC — Fix race condition in thumbnail candidate generation
2026-08-25 00:20 UTC — Add autoplay, progress rings, duplicate-lesson detection, title-card thumbnails
2026-08-24 23:22 UTC — Add Favorites, storage drill-down, shortcuts, and What's New
2026-08-24 19:00 UTC — Fix video resize handle drifting off-screen