Startup: the known-pipelines book is read on its own thread; pipelines created meanwhile wait and are noted against it #1690

Merged
101Leafy merged 4 commits from upstream-pr/1690 into main 2026-11-29 08:16:54 +00:00
101Leafy commented 2026-11-28 23:27:48 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by 101Leafy on 2026-11-28T23:27:48Z.


With VICTORY_PIPELINE_BOOK=1 the known-pipelines files were read on the first pipeline create, on the title's thread, which held up boot while the files grew. Now the book reads them on its own thread. Pipelines created before the read finishes are kept in a list and noted against the files once they are in, so nothing is written twice and nothing is lost.

Only active with VICTORY_PIPELINE_BOOK=1, same as before. The "title pipelines known from earlier runs" line now comes from the book's thread when the read finishes.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5545620809 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1690). Originally posted by [101Leafy](https://github.com/101Leafy) on 2026-11-28T23:27:48Z. --- With `VICTORY_PIPELINE_BOOK=1` the known-pipelines files were read on the first pipeline create, on the title's thread, which held up boot while the files grew. Now the book reads them on its own thread. Pipelines created before the read finishes are kept in a list and noted against the files once they are in, so nothing is written twice and nothing is lost. Only active with `VICTORY_PIPELINE_BOOK=1`, same as before. The "title pipelines known from earlier runs" line now comes from the book's thread when the read finishes.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
trustno1-coder/VIctory-NVIDIA!1690
No description provided.