Keep batch queue metadata prefetched #7

Merged
kleb merged 1 commit from codex/continuous-batch-prefetch into main 2026-06-30 19:32:17 +02:00
Owner

Summary

  • replace one-shot batch metadata prefetch with a continuous bounded worker
  • keep up to four pending batch queue items warmed while current downloads run
  • guard stale prefetch results after stop/unmount/generation changes

Validation

  • bun run check
## Summary - replace one-shot batch metadata prefetch with a continuous bounded worker - keep up to four pending batch queue items warmed while current downloads run - guard stale prefetch results after stop/unmount/generation changes ## Validation - bun run check
Collaborator

kReview review

Verdict: no findings

No findings to address in the reviewed diff.

Overall risk appears low; no concrete correctness or security regressions were verified from the visible diff and base context.

Reviewed by kReview at 592ae81b2c. This comment is conservative and based only on the PR diff, metadata, and supplied repository context.

Est. cost ~$0.16 (29.9k in / 557 out / gpt-5.5).

<!-- codex-forgejo-review --> <!-- codex-forgejo-review-head:592ae81b2cf2e33aa4b60cb19fac076a65b53af4 --> ## kReview review **Verdict:** no findings No findings to address in the reviewed diff. Overall risk appears low; no concrete correctness or security regressions were verified from the visible diff and base context. _Reviewed by kReview at `592ae81b2c`. This comment is conservative and based only on the PR diff, metadata, and supplied repository context._ _Est. cost ~$0.16 (29.9k in / 557 out / gpt-5.5)._ <!-- codex-forgejo-review-state:eyJoZWFkU2hhIjoiNTkyYWU4MWIyY2YyZTMzYWE0YjYwY2IxOWZhYzA3NmE2NWI1M2FmNCIsInN1bW1hcnkiOiJPdmVyYWxsIHJpc2sgYXBwZWFycyBsb3c7IG5vIGNvbmNyZXRlIGNvcnJlY3RuZXNzIG9yIHNlY3VyaXR5IHJlZ3Jlc3Npb25zIHdlcmUgdmVyaWZpZWQgZnJvbSB0aGUgdmlzaWJsZSBkaWZmIGFuZCBiYXNlIGNvbnRleHQuIiwiZmluZGluZ3MiOltdLCJjdW11bGF0aXZlQ29zdCI6eyJ1c2QiOjAuMTU1MTIxLCJpbnB1dFRva2VucyI6Mjk4NzEsIm91dHB1dFRva2VucyI6NTU3LCJtb2RlbCI6ImdwdC01LjUifX0= -->
kleb merged commit b118be8159 into main 2026-06-30 19:32:17 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kleb/SpotifFLAC!7
No description provided.