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

Closed
github-bot wants to merge 660 commits from github-bot/gh-434 into main AGit
Owner

@⁠Kal0s-design on GitHub · 2026-11-29 09:18 UTC · original
Kal0s-design:fix/warm-hint-empty-book → main · +60044 −5429 · 206 files · 660 commits · closed without merging

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

**@⁠Kal0s-design** on GitHub · 2026-11-29 09:18 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/434) `Kal0s-design:fix/warm-hint-empty-book` → `main` · +60044 −5429 · 206 files · 660 commits · closed without merging 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)
`warm` printed the VICTORY_PIPELINE_BOOK=1 hint only when the pipelines
folder was missing. Runs keep the host pipeline library in that folder
without the book, so after a normal run `warm --used` reported
"0 pipelines known ... 0 to make" with no hint (#433). Print the hint when
nothing is recorded, and let play.ps1 -WarmPipelines turn the book on for
its run so the next warm has something to make.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 09:20:50 +00:00
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-29 11:35 UTC · original

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** on GitHub · 2026-11-29 11:35 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/434#issuecomment-7255214847) 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.
github-bot closed this pull request 2026-11-30 17:08:43 +00:00
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-30 17:07 UTC · original

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.

**@⁠TaynanGT** on GitHub · 2026-11-30 17:07 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/434#issuecomment-7285753568) `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

This discussion has been locked. Commenting is limited to contributors.
No description provided.