Fix a broken README command, a test that couldn't fail, and keep the card-buffer floor #478

Merged
TaynanGT merged 3 commits from upstream-pr/478 into main 2026-11-30 20:52:42 +00:00
TaynanGT commented 2026-11-30 20:32:30 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T20:32:30Z.


Follow-up to #476. Three real problems, two from review and one from a measurement that came in after the merge.

The README command was broken. A scripted edit ate the backslash in .\vice-tay.exe config and left a vertical tab in its place, so copying the line as written gives "not recognized" and the new diagnostic step can't be run from the docs at all. One byte. I edited that file with a script and didn't read it back, which is how it shipped. I checked every other file I touched the same way — this was the only one.

A test that couldn't fail. a_switch_set_by_hand_is_kept_and_the_start_says_so asserted on the plan's own left unset line, which gets printed whether the switch is set or not. So it passed for the wrong reason and would never have caught the behaviour going missing.

Fixed by giving config the thing the test was reaching for: it now prints the kept and lowered lines as well as the plan. It should have done that from the start — on a PC where the launcher and the profile both have an opinion about a switch, which one won is the whole question. The tests assert the real lines now, including the negative case, and deleting the printing makes all three fail.

The card-buffer floor stays. Dropping VICE_TAY_CARD_BUFFERS_MIN_KB on a card under 8 GB was a reading of #446, not a measurement. It has been measured since: on the prison cinematic at 4K, dropping it took the rendered rate from 6.2 fps to 2.2 and the worst frame from 721 ms to 1,482 — three 90-second runs on an RTX 4090.

That's a 24 GB card, not a 4 GB one, so it doesn't settle #446 either way. But it's the only number anyone has and it says the floor earns its keep, so the profile names the switch in its notes instead of touching it. What bounds those copies on a small card is their total, and play already caps that at 256 MB under 8 GB.

Tested

cargo test -p vice-tay-core -p vice-tay: 159 pass, 0 fail. cargo clippy --all-targets on both: clean. Mutation check on the three new tests: remove the printing from show() and all three fail; restore it and they pass. Every file in #476 re-scanned for control characters: none left.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:issue:5573243852 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/478). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-30T20:32:30Z. --- Follow-up to #476. Three real problems, two from review and one from a measurement that came in after the merge. **The README command was broken.** A scripted edit ate the backslash in `.\vice-tay.exe config` and left a vertical tab in its place, so copying the line as written gives "not recognized" and the new diagnostic step can't be run from the docs at all. One byte. I edited that file with a script and didn't read it back, which is how it shipped. I checked every other file I touched the same way — this was the only one. **A test that couldn't fail.** `a_switch_set_by_hand_is_kept_and_the_start_says_so` asserted on the plan's own `left unset` line, which gets printed whether the switch is set or not. So it passed for the wrong reason and would never have caught the behaviour going missing. Fixed by giving `config` the thing the test was reaching for: it now prints the kept and lowered lines as well as the plan. It should have done that from the start — on a PC where the launcher and the profile both have an opinion about a switch, which one won is the whole question. The tests assert the real lines now, including the negative case, and deleting the printing makes all three fail. **The card-buffer floor stays.** Dropping `VICE_TAY_CARD_BUFFERS_MIN_KB` on a card under 8 GB was a reading of #446, not a measurement. It has been measured since: on the prison cinematic at 4K, dropping it took the rendered rate from 6.2 fps to 2.2 and the worst frame from 721 ms to 1,482 — three 90-second runs on an RTX 4090. That's a 24 GB card, not a 4 GB one, so it doesn't settle #446 either way. But it's the only number anyone has and it says the floor earns its keep, so the profile names the switch in its notes instead of touching it. What bounds those copies on a small card is their total, and `play` already caps that at 256 MB under 8 GB. ### Tested `cargo test -p vice-tay-core -p vice-tay`: 159 pass, 0 fail. `cargo clippy --all-targets` on both: clean. Mutation check on the three new tests: remove the printing from `show()` and all three fail; restore it and they pass. Every file in #476 re-scanned for control characters: none left.
chatgpt-codex-connector[bot] commented 2026-11-30 20:32:41 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by chatgpt-codex-connector[bot] on 2026-11-30T20:32:41Z.


Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-30T20:32:38.198185Z
We couldn’t complete this review. Comment @codex review to try again.
6265cec PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7291092617 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/478#issuecomment-7291092617). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-11-30T20:32:41Z. --- <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"6265cec27233fab299cbab54dd18aba532135efe","has_any_findings":true,"has_unresolved_findings":true,"status":"failed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} --> <details> <summary><strong>Codex Review Summary</strong>: ❌ Failed</summary> This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ❌ **Failed** <relative-time datetime="2026-11-30T20:32:38.198185Z">2026-11-30T20:32:38.198185Z</relative-time><br/>We couldn’t complete this review. Comment `@codex review` to try again. | `6265cec` | PR opened | <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review" or "@codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. </details> </details>
chatgpt-codex-connector[bot] commented 2026-11-30 20:32:43 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by chatgpt-codex-connector[bot] on 2026-11-30T20:32:43Z.


You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7291093467 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/478#issuecomment-7291093467). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-11-30T20:32:43Z. --- You have reached your Codex usage limits for code reviews. You can see your limits in the [Codex usage dashboard](https://chatgpt.com/codex/cloud/settings/usage).
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!478
No description provided.