Describe when a DirectStorage queue submits itself #334

Closed
github-bot wants to merge 615 commits from github-bot/gh-334 into main AGit
Owner

@⁠maximecmb on GitHub · 2026-11-27 17:24 UTC · original
maximecmb:docs/directstorage-submit → main · +56378 −5105 · 198 files · 615 commits · closed without merging

Summary

docs/this-fork.md said a DirectStorage queue submits itself when it holds half its capacity. The code has not done that by default since 68e10e57:

  • half_submits() is on only with VICTORY_DSTORAGE_HALF=1, and its comment explains what the half-capacity submit broke (requests run on page lists the title had not filled in yet).
  • queue() submits a queue by itself only when it is full of commands nobody submitted.

The paragraph now says that, and names the switch.

Verification

Read against crates/victory-hle/src/modules/dstorage.rs (half_submits, queue). cargo test -p xtask passes, which includes documented_switches_are_read for the switch the paragraph now names, and cargo xtask policy passes. Docs only.

🤖 Generated with Claude Code

**@⁠maximecmb** on GitHub · 2026-11-27 17:24 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/334) `maximecmb:docs/directstorage-submit` → `main` · +56378 −5105 · 198 files · 615 commits · closed without merging ## Summary `docs/this-fork.md` said a DirectStorage queue submits itself when it holds half its capacity. The code has not done that by default since `68e10e57`: - `half_submits()` is on only with `VICTORY_DSTORAGE_HALF=1`, and its comment explains what the half-capacity submit broke (requests run on page lists the title had not filled in yet). - `queue()` submits a queue by itself only when it is full of commands nobody submitted. The paragraph now says that, and names the switch. ## Verification Read against `crates/victory-hle/src/modules/dstorage.rs` (`half_submits`, `queue`). `cargo test -p xtask` passes, which includes `documented_switches_are_read` for the switch the paragraph now names, and `cargo xtask policy` passes. Docs only. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
docs/this-fork.md said a queue submits itself at half its capacity.
Since 68e10e57 it starts its requests at the title's own submit, and
submits itself only when it is full of commands nobody submitted;
VICTORY_DSTORAGE_HALF=1 brings the half-capacity submit back
(crates/victory-hle/src/modules/dstorage.rs, half_submits and queue).

Co-Authored-By: Claude Fable 5.2 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 17:36:23 +00:00
Author
Owner

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

Thanks for checking the documentation against the current queue behavior. The half-capacity submit is an explicit opt-in, not the default. Please preserve the explanation of why the old behavior was unsafe and the switch-name test.

**@⁠TaynanGT** on GitHub · 2026-11-29 11:37 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/334#issuecomment-7255243796) Thanks for checking the documentation against the current queue behavior. The half-capacity submit is an explicit opt-in, not the default. Please preserve the explanation of why the old behavior was unsafe and the switch-name test.
github-bot closed this pull request 2026-11-30 17:14:47 +00:00
Author
Owner

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