Tell warm users to record pipelines when the book is empty #434

Closed
Kal0s-design wants to merge 660 commits from upstream-pr/434 into main
Kal0s-design commented 2026-11-29 09:18:19 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by Kal0s-design on 2026-11-29T09:18:19Z.


Fixes #433.

warm --used only knows pipelines a run wrote down with VICTORY_PIPELINE_BOOK=1. The hint about that was printed only when the pipelines folder didn't exist. But every normal run keeps the host pipeline library and early-pipelines.txt in that same folder, book or not, so after one run the folder is there, nothing is recorded, and warm prints 0 pipelines known ... 0 to make with no hint. That's what #433 shows.

  • warm: print the same hint when nothing is recorded, not just when the folder is missing.
  • play.ps1 -WarmPipelines: set VICTORY_PIPELINE_BOOK=1 for the run when it isn't already set, so the next -WarmPipelines has something to make. #430 does the same for linux/play.sh and flagged the Windows side.

New test in warm_empty.rs: a pipelines folder with an empty early-pipelines.txt and no book. It fails on main (no hint) and passes here. cargo clippy -p victory --all-targets -D warnings and cargo xtask policy clean. No game run needed.

AI-assisted: yes

🤖 Generated with Claude Code

<!-- greyfinch-sync:TaynanGT/Vice-Tay:issue:5549344881 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/434). Originally posted by [Kal0s-design](https://github.com/Kal0s-design) on 2026-11-29T09:18:19Z. --- Fixes #433. `warm --used` only knows pipelines a run wrote down with `VICTORY_PIPELINE_BOOK=1`. The hint about that was printed only when the `pipelines` folder didn't exist. But every normal run keeps the host pipeline library and `early-pipelines.txt` in that same folder, book or not, so after one run the folder is there, nothing is recorded, and `warm` prints `0 pipelines known ... 0 to make` with no hint. That's what #433 shows. - `warm`: print the same hint when nothing is recorded, not just when the folder is missing. - `play.ps1 -WarmPipelines`: set `VICTORY_PIPELINE_BOOK=1` for the run when it isn't already set, so the next `-WarmPipelines` has something to make. #430 does the same for `linux/play.sh` and flagged the Windows side. New test in `warm_empty.rs`: a `pipelines` folder with an empty `early-pipelines.txt` and no book. It fails on main (no hint) and passes here. `cargo clippy -p victory --all-targets -D warnings` and `cargo xtask policy` clean. No game run needed. AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
TaynanGT commented 2026-11-29 11:35:25 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T11:35:25Z.


Thanks for addressing #433 on the Windows side. The empty-book fixture is important even when a pipeline folder already exists. Please preserve explicit environment overrides and keep the cache directory identical between recording and warming.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7255214847 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/434#issuecomment-7255214847). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-29T11:35:25Z. --- Thanks for addressing #433 on the Windows side. The empty-book fixture is important even when a pipeline folder already exists. Please preserve explicit environment overrides and keep the cache directory identical between recording and warming.
TaynanGT commented 2026-11-30 17:07:23 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T17:07:23Z.


main has moved to a new line of the code and everything is now named Vice-Tay, so this PR no longer applies as it is (details in #468). If you'd like this change in, please rebuild it on the current main and open a new PR; I'll review it there.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7285753568 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/434#issuecomment-7285753568). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-30T17:07:23Z. --- `main` has moved to a new line of the code and everything is now named Vice-Tay, so this PR no longer applies as it is (details in #468). If you'd like this change in, please rebuild it on the current `main` and open a new PR; I'll review it there.

Pull request closed

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
TaynanGT/Vice-Tay!434
No description provided.