XSystem: name the analytics family Windows.Xbox #1657

Closed
github-bot wants to merge 2 commits from gh-pr/1657/head into gh-pr/1657/base
Owner

@⁠Calvix2k on GitHub · 2026-11-24 20:33 UTC · original
Calvix2k:codex/hle-analytics-family-045 → main · +4 −1 · 1 files · 2 commits · closed without merging

Addresses VIC-BT-045 from audit #1242.

Summary

XSystemGetAnalyticsInfo filled AnalyticsInfo::family with Xbox. The GDK documents the family value as Windows.Xbox. The field now says Windows.Xbox (NUL-terminated), and the analytics test pins the string and its terminator.

Validation

  • cargo test -p victory-hle --locked -- --test-threads=1 — passed (94 unit tests and 1 integration test).
  • cargo clippy -p victory-hle --all-targets --all-features --locked -- -D warnings — passed.
  • cargo xtask policy — passed (154 files).
  • rustfmt --edition 2024 --check on the changed file — passed.
**@⁠Calvix2k** on GitHub · 2026-11-24 20:33 UTC · [original](https://github.com/Marvisak/VIctory/pull/1657) `Calvix2k:codex/hle-analytics-family-045` → `main` · +4 −1 · 1 files · 2 commits · closed without merging Addresses `VIC-BT-045` from [audit #1242](https://git.gtahub.st/github/Marvisak--VIctory/issues/1242). ## Summary `XSystemGetAnalyticsInfo` filled `AnalyticsInfo::family` with `Xbox`. The GDK documents the family value as `Windows.Xbox`. The field now says `Windows.Xbox` (NUL-terminated), and the analytics test pins the string and its terminator. ## Validation - `cargo test -p victory-hle --locked -- --test-threads=1` — passed (94 unit tests and 1 integration test). - `cargo clippy -p victory-hle --all-targets --all-features --locked -- -D warnings` — passed. - `cargo xtask policy` — passed (154 files). - `rustfmt --edition 2024 --check` on the changed file — passed.
XSystemGetAnalyticsInfo reported the family as Xbox. The GDK documents
the value as Windows.Xbox; report that and pin it, with the terminator,
in the analytics test.

Addresses VIC-BT-045 from audit #1242.

Validation:
- cargo test -p victory-hle --locked -- --test-threads=1
- cargo clippy -p victory-hle --all-targets --all-features --locked -- -D warnings
- cargo xtask policy
- rustfmt --edition 2024 --check on the changed file
The test comment named the console SDK; say what the value is instead.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:40:12 +00:00
github-bot closed this pull request 2026-11-26 04:40:12 +00:00
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 03:32 UTC · original · edited 2026-11-25 09:18 UTC

Automated triage for the maintainers.

Merge candidate. This changes AnalyticsInfo::family in analytics_info (crates/victory-hle/src/modules/xsystem.rs) from Xbox to Windows.Xbox, which matches Microsoft's public documentation for XSystemGetAnalyticsInfo. The string fits the 64-byte field, text() NUL-terminates it, and the test checks both the string and the terminator. The test comment no longer names the console SDK, which was the only point raised on the previous head. #1941 makes the same change and was opened later. Recommending a look, not approving.

CI: passing (check).


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 03:32 UTC · [original](https://github.com/Marvisak/VIctory/pull/1657#issuecomment-7152013020) · edited 2026-11-25 09:18 UTC <!-- victory-triage v1 head=9b5a024fa4c77468522e8e9ace657143ffdeb984 verdict=merge-candidate at=2026-11-25T09:18:03Z --> Automated triage for the maintainers. **Merge candidate.** This changes `AnalyticsInfo::family` in `analytics_info` (`crates/victory-hle/src/modules/xsystem.rs`) from `Xbox` to `Windows.Xbox`, which matches Microsoft's public documentation for `XSystemGetAnalyticsInfo`. The string fits the 64-byte field, `text()` NUL-terminates it, and the test checks both the string and the terminator. The test comment no longer names the console SDK, which was the only point raised on the previous head. #1941 makes the same change and was opened later. Recommending a look, not approving. CI: passing (`check`). --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 22:01 UTC · original

Automated triage for the maintainers, second look (a review against current main, with builds and tests where they could change the verdict).

Closing because the evidence does not hold and the title does not read the field. Microsoft's public XSystemAnalyticsInfo page gives "Xbox" and "Windows" as example family values, not "Windows.Xbox", and main returns "Xbox". Which string a console reports is not established. The title's two callers read only the OS version fields, so the change has no effect on it, and the test comment states the misquote as fact.

If this is mistaken, reply here with what was missed and it will be looked at again. Thank you for the contribution.

**@⁠Marvisak** on GitHub · 2026-11-25 22:01 UTC · [original](https://github.com/Marvisak/VIctory/pull/1657#issuecomment-7175849247) Automated triage for the maintainers, second look (a review against current `main`, with builds and tests where they could change the verdict). Closing because the evidence does not hold and the title does not read the field. Microsoft's public `XSystemAnalyticsInfo` page gives "Xbox" and "Windows" as example family values, not "Windows.Xbox", and `main` returns "Xbox". Which string a console reports is not established. The title's two callers read only the OS version fields, so the change has no effect on it, and the test comment states the misquote as fact. If this is mistaken, reply here with what was missed and it will be looked at again. Thank you for the contribution.

Pull request closed

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/Marvisak--VIctory!1657
No description provided.