Telemetry: the title takes its own disabled path (VICTORY_TELEMETRY_OFF) #4660

Open
github-bot wants to merge 1 commit from github-bot/gh-4659 into main AGit
Owner

@⁠101Leafy on GitHub · 2026-12-01 00:52 UTC · original
101Leafy:nv/telemetry-off → main · +98 −0 · 3 files · 1 commits · open

The title reads its telemetry config at start. When IsTelemetryEnabled is set, it builds its metrics list and collects them for sending, though net.rs blocks the send anyway.

This keeps the cmp after the config read and makes the jne after it a 6-byte nop, so the title takes its own disabled path whatever the config says. The bytes are compared before anything is written. A build whose bytes differ is left alone, and the log says so. Test patch_keeps_the_compare checks the patch.

VICTORY_TELEMETRY_OFF=0 leaves the title as it is. New file victory-loader/src/telemetry.rs, applied in run.rs after the write sites. cargo check -p victory-loader -p victory --tests is clean.

**@⁠101Leafy** on GitHub · 2026-12-01 00:52 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4659) `101Leafy:nv/telemetry-off` → `main` · +98 −0 · 3 files · 1 commits · open The title reads its telemetry config at start. When `IsTelemetryEnabled` is set, it builds its metrics list and collects them for sending, though `net.rs` blocks the send anyway. This keeps the `cmp` after the config read and makes the `jne` after it a 6-byte `nop`, so the title takes its own disabled path whatever the config says. The bytes are compared before anything is written. A build whose bytes differ is left alone, and the log says so. Test `patch_keeps_the_compare` checks the patch. `VICTORY_TELEMETRY_OFF=0` leaves the title as it is. New file `victory-loader/src/telemetry.rs`, applied in `run.rs` after the write sites. `cargo check -p victory-loader -p victory --tests` is clean.
The title reads a telemetry config at start and, when it is enabled, sets up its metrics and collects them for sending. The jne after its IsTelemetryEnabled compare is now a 6-byte nop, so it takes its own disabled path whatever the config says. The bytes are compared before anything is written, and a build whose bytes differ is left alone and says so in the log.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 00:57:56 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/4660/head:github-bot/gh-4659'
git switch 'github-bot/gh-4659'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-4659'
git switch 'github-bot/gh-4659'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-4659'
git switch 'github-bot/gh-4659'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-4659'
git switch 'main'
git merge --squash 'github-bot/gh-4659'
git switch 'main'
git merge --ff-only 'github-bot/gh-4659'
git switch 'main'
git merge 'github-bot/gh-4659'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

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