startup: print raw= and completed= in the DirectStorage status lines #2809

Merged
tedin7 merged 3 commits from upstream-pr/2817 into main 2026-11-27 18:42:51 +00:00
tedin7 commented 2026-11-26 11:19:44 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T11:19:44Z.


Part of #1198

Fixes #2816

What this unblocks: the DirectStorage status lines answer "is storage progressing?" at a glance, also for a title whose requests are all compressed (they used to read done=0 for the whole run while thousands completed).

Change

  • src/startup_stubs/xcrdapi.cpp: new format_request_counts() prints raw=<n> inflated=<n> failed=<n> bcpack-blank=<n> completed=<n> for both the Queue::EnqueueStatus line and the heartbeat totals line. raw is what done= counted (uncompressed copies only); completed is raw + inflated + bcpack-blank, so a failed request is not in it. The text inflated=%ld failed=%ld is byte-for-byte unchanged.
  • tools/startup/live_view.py: reads completed= from the new lines and rebuilds it from done= / inflated= / bcpack-blank= on older lines; the status line shows "N storage requests completed" next to the chunks count and the read-batch message says how many requests completed.
  • docs/startup-runtime.md: documents the fields next to the heartbeat failure causes.

Tests

  • startup_storage_failure_counts (existing stand-in check): the mixed run's counts are asserted (raw=1 inflated=1 failed=<n> bcpack-blank=0 completed=2, the inflated=N failed=N text unchanged), then a run with only zlib requests asserts raw=0 and completed equal to the number of finished requests; the EnqueueStatus line carries raw= and completed= and no longer says done=.
  • tests/startup_live_telemetry_check.py: a new case feeds old and new EnqueueStatus and heartbeat lines through the viewer (completed 7 from completed=7, 5 from an old done=0 inflated=5 line, 7 from an old heartbeat with bcpack-blank=2).

Verification

Linux, run here (Stage 1; the C++ stand-in check builds with MSVC only, so it is not compiled here):

python3 -B tests/startup_live_telemetry_check.py     # 4 tests OK (3 existing + the new one)
python3 -B tests/startup_live_view_cli_check.py      # OK
python3 -B tests/startup_triage_run_check.py         # 0 failed
python3 -B tests/docs_links_check.py                 # Checked 27 Markdown files
git diff --check                                     # clean

tests/startup_live_view_check.py fails the same way on origin/main (a Windows path case), unchanged by this PR.

Win2025 WARP dev+release: pending Stage-2 (startup_storage_failure_counts, startup_storage_page_end_counts).

Source: Microsoft DirectStorage documentation, DirectStorage overview (a request completes when its destination is written, whether or not it was compressed).

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:5509078099 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2817). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-26T11:19:44Z. --- Part of #1198 Fixes #2816 What this unblocks: the DirectStorage status lines answer "is storage progressing?" at a glance, also for a title whose requests are all compressed (they used to read `done=0` for the whole run while thousands completed). ## Change - `src/startup_stubs/xcrdapi.cpp`: new `format_request_counts()` prints `raw=<n> inflated=<n> failed=<n> bcpack-blank=<n> completed=<n>` for both the `Queue::EnqueueStatus` line and the heartbeat totals line. `raw` is what `done=` counted (uncompressed copies only); `completed` is `raw + inflated + bcpack-blank`, so a failed request is not in it. The text `inflated=%ld failed=%ld` is byte-for-byte unchanged. - `tools/startup/live_view.py`: reads `completed=` from the new lines and rebuilds it from `done=` / `inflated=` / `bcpack-blank=` on older lines; the status line shows "N storage requests completed" next to the chunks count and the read-batch message says how many requests completed. - `docs/startup-runtime.md`: documents the fields next to the heartbeat failure causes. ## Tests - `startup_storage_failure_counts` (existing stand-in check): the mixed run's counts are asserted (`raw=1 inflated=1 failed=<n> bcpack-blank=0 completed=2`, the `inflated=N failed=N` text unchanged), then a run with only zlib requests asserts `raw=0` and `completed` equal to the number of finished requests; the EnqueueStatus line carries `raw=` and `completed=` and no longer says `done=`. - `tests/startup_live_telemetry_check.py`: a new case feeds old and new EnqueueStatus and heartbeat lines through the viewer (completed 7 from `completed=7`, 5 from an old `done=0 inflated=5` line, 7 from an old heartbeat with `bcpack-blank=2`). ## Verification Linux, run here (Stage 1; the C++ stand-in check builds with MSVC only, so it is not compiled here): ``` python3 -B tests/startup_live_telemetry_check.py # 4 tests OK (3 existing + the new one) python3 -B tests/startup_live_view_cli_check.py # OK python3 -B tests/startup_triage_run_check.py # 0 failed python3 -B tests/docs_links_check.py # Checked 27 Markdown files git diff --check # clean ``` `tests/startup_live_view_check.py` fails the same way on origin/main (a Windows path case), unchanged by this PR. Win2025 WARP dev+release: pending Stage-2 (`startup_storage_failure_counts`, `startup_storage_page_end_counts`). Source: Microsoft DirectStorage documentation, [DirectStorage overview](https://learn.microsoft.com/en-us/xbox/gdk/docs/features/console/storage/directstorage/directstorage-overview) (a request completes when its destination is written, whether or not it was compressed). AI-assisted; commands listed were executed locally.
tedin7 commented 2026-11-26 12:04:57 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T11:44:44Z.


Win2025 (build 26100) on head 0355a7745: startup_storage and startup_live regex, dev 16/16 and release 16/16 passed, including startup_storage_failure_counts (mixed-run totals and the zlib-only run: raw=0, completed equal to the finished requests), its one-bucket control, and startup_storage_page_end_counts.

The earlier head 7e6774f0a failed startup_storage_failure_counts: the new mixed-run assertion ran after the existing step that adds one more failure after the heartbeat totals, so failed was 12, not 11. The assertion now expects that extra failure.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7191112385 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2817#issuecomment-7191112385). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-26T11:44:44Z. --- Win2025 (build 26100) on head 0355a7745: startup_storage and startup_live regex, dev 16/16 and release 16/16 passed, including startup_storage_failure_counts (mixed-run totals and the zlib-only run: raw=0, completed equal to the finished requests), its one-bucket control, and startup_storage_page_end_counts. The earlier head 7e6774f0a failed startup_storage_failure_counts: the new mixed-run assertion ran after the existing step that adds one more failure after the heartbeat totals, so failed was 12, not 11. The assertion now expects that extra failure. AI-assisted; commands listed were executed locally.
tedin7 commented 2026-11-26 12:04:58 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T12:00:42Z.


Head 1039125e1: startup_storage_failure_counts now also pins completed = raw + inflated + bcpack-blank with all four counts non-zero (format_request_counts(buf, size, 1, 2, 3, 4) == "raw=1 inflated=2 failed=3 bcpack-blank=4 completed=7"), so a total that drops the bcpack-blank term fails; the mixed run alone had no BCPack-blank request.

Win2025 (build 26100), regex ^(startup_storage|startup_live): dev 16/16 and release 16/16 passed on this head (second full run). One earlier run of the same head had startup_storage_directory_batch fail once in the dev phase (the consumer process exited after Factory::CreateQueue while startup_storage_worker_start was running in parallel); the test then passed alone twice (dev+release) and in the full rerun. I did not find a cause in this change and note it here rather than hide it.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7191451063 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2817#issuecomment-7191451063). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-26T12:00:42Z. --- Head 1039125e1: startup_storage_failure_counts now also pins completed = raw + inflated + bcpack-blank with all four counts non-zero (format_request_counts(buf, size, 1, 2, 3, 4) == "raw=1 inflated=2 failed=3 bcpack-blank=4 completed=7"), so a total that drops the bcpack-blank term fails; the mixed run alone had no BCPack-blank request. Win2025 (build 26100), regex ^(startup_storage|startup_live): dev 16/16 and release 16/16 passed on this head (second full run). One earlier run of the same head had startup_storage_directory_batch fail once in the dev phase (the consumer process exited after Factory::CreateQueue while startup_storage_worker_start was running in parallel); the test then passed alone twice (dev+release) and in the full rerun. I did not find a cause in this change and note it here rather than hide it. AI-assisted; commands listed were executed locally.
tedin7 commented 2026-11-26 13:03:12 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T12:11:41Z.


@MasterDomino Ready for review: head 1039125e1 (Fixes #2816).

Independent Stage-2 check on this exact head, Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP), Proxmox slots, dev and release /O2:

python3 x2w_pipe.py win2025 2817 --host proxmox --keep-release --regex 'startup_storage_failure_counts|startup_storage_page_end_counts|startup_live_telemetry|startup_live_view|startup_storage_directory_batch'
ctest --preset dev     -R '<same regex>' --no-tests=error   -> 7/7 passed
ctest --preset release -R '<same regex>' --no-tests=error   -> 7/7 passed

startup_storage_failure_counts (the C++ check of the new status-line counters) is among the 7 in both presets.

Controls on the counters, each one change in format_request_counts run on Windows against startup_storage_failure_counts, the check must fail:

  • completed also counting failed requests: fails.
  • completed = raw only: fails.
  • label completed= changed back to done=: fails.
  • completed without the bcpack-blank term: fails with the (1, 2, 3, 4) -> completed=7 assertion added in this head (it passed before that assertion).

Review result: the counters only rise for requests that wrote their destination, so completed is raw + inflated + bcpack-blank and a failed request is not in it; inflated=N failed=N is byte for byte what it was, and tools/startup/live_view.py reads both the old (done=) and the new (completed=) lines.

Not caused by this PR: startup_storage_directory_batch can fail under parallel load. On origin/main (7256cecf2, same regex, five runs at once on the Win2025 pool) it failed 2 of 5 times (the probe process exits non-zero at tests/startup_storage_directory_batch.py:105) and passed alone and in the 7/7 runs above.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7191687050 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2817#issuecomment-7191687050). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-26T12:11:41Z. --- @MasterDomino Ready for review: head `1039125e1` (Fixes #2816). Independent Stage-2 check on this exact head, Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP), Proxmox slots, dev and release `/O2`: ``` python3 x2w_pipe.py win2025 2817 --host proxmox --keep-release --regex 'startup_storage_failure_counts|startup_storage_page_end_counts|startup_live_telemetry|startup_live_view|startup_storage_directory_batch' ctest --preset dev -R '<same regex>' --no-tests=error -> 7/7 passed ctest --preset release -R '<same regex>' --no-tests=error -> 7/7 passed ``` `startup_storage_failure_counts` (the C++ check of the new status-line counters) is among the 7 in both presets. Controls on the counters, each one change in `format_request_counts` run on Windows against `startup_storage_failure_counts`, the check must fail: - `completed` also counting failed requests: fails. - `completed` = raw only: fails. - label `completed=` changed back to `done=`: fails. - `completed` without the bcpack-blank term: fails with the (1, 2, 3, 4) -> `completed=7` assertion added in this head (it passed before that assertion). Review result: the counters only rise for requests that wrote their destination, so `completed` is raw + inflated + bcpack-blank and a failed request is not in it; `inflated=N failed=N` is byte for byte what it was, and `tools/startup/live_view.py` reads both the old (`done=`) and the new (`completed=`) lines. Not caused by this PR: `startup_storage_directory_batch` can fail under parallel load. On `origin/main` (7256cecf2, same regex, five runs at once on the Win2025 pool) it failed 2 of 5 times (the probe process exits non-zero at `tests/startup_storage_directory_batch.py:105`) and passed alone and in the 7/7 runs above. AI-assisted; commands listed were executed locally.
chatgpt-codex-connector[bot commented 2026-11-26 13:03:12 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-26T12:11:48Z.


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-26T12:11:45.044078Z
We couldn’t complete this review. Comment @codex review to try again.
1039125 Draft marked ready
ℹ️ 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:R0Y00/Xbox2Windows:comment:7191689717 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2817#issuecomment-7191689717). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/chatgpt-codex-connector%5Bbot%5D) on 2026-11-26T12:11:48Z. --- <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"1039125e1e9bedd414956fe04559d80315a24e12","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-26T12:11:45.044078Z">2026-11-26T12:11:45.044078Z</relative-time><br/>We couldn’t complete this review. Comment `@codex review` to try again. | `1039125` | Draft marked ready | <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-26 13:03:12 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-26T12:11:50Z.


You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7191690490 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2817#issuecomment-7191690490). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/chatgpt-codex-connector%5Bbot%5D) on 2026-11-26T12:11:50Z. --- 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). To continue using code reviews, add credits to your account and enable them for code reviews in your [settings](https://chatgpt.com/settings/code-review).
tedin7 commented 2026-11-26 14:00:38 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T13:51:41Z.


Correction to the Stage-2 note on head 1039125e1: the sentence "Not caused by this PR ... On origin/main (7256cecf2) it failed 2 of 5 times" is withdrawn. Those five runs applied a small patch on top of this PR's head, so they did not test main.

Redo on the exact 7256cecf2 tree (this head plus the full reverse diff, patch applied on Windows Server 2025, Proxmox slots, dev):

python3 x2w_pipe.py win2025 2817 --host proxmox --regex 'startup_storage|startup_live' --skip-release   (5 runs at once)
ctest --preset dev -R 'startup_storage|startup_live' --parallel 2 --no-tests=error   -> 17/17 passed, 5 of 5 runs

startup_storage_directory_batch passed in all five. So the earlier failure (2 of 5, probe exit non-zero at tests/startup_storage_directory_batch.py:105) is not shown on main, and it is not shown to be caused by this PR either: the same test passed 7/7 on this head in the Stage-2 runs. Cause still open.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7193938793 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2817#issuecomment-7193938793). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-26T13:51:41Z. --- Correction to the Stage-2 note on head `1039125e1`: the sentence "Not caused by this PR ... On `origin/main` (7256cecf2) it failed 2 of 5 times" is withdrawn. Those five runs applied a small patch on top of this PR's head, so they did not test main. Redo on the exact `7256cecf2` tree (this head plus the full reverse diff, patch applied on Windows Server 2025, Proxmox slots, dev): ``` python3 x2w_pipe.py win2025 2817 --host proxmox --regex 'startup_storage|startup_live' --skip-release (5 runs at once) ctest --preset dev -R 'startup_storage|startup_live' --parallel 2 --no-tests=error -> 17/17 passed, 5 of 5 runs ``` `startup_storage_directory_batch` passed in all five. So the earlier failure (2 of 5, probe exit non-zero at `tests/startup_storage_directory_batch.py:105`) is not shown on main, and it is not shown to be caused by this PR either: the same test passed 7/7 on this head in the Stage-2 runs. Cause still open. AI-assisted; commands listed were executed locally.
pigalot commented 2026-11-27 18:31:40 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by pigalot on 2026-11-27T18:31:40Z.

Review: APPROVED


Independently reviewed 1039125e integrated over main 429f11d5 (tree cd23c450, clean merge).

What I traced. In src/startup_stubs/xcrdapi.cpp, a request that wrote its destination increments exactly one of three counters: requests_bcpack_blank (BCPack not decoded), requests_compressed (zlib or decoded BCPack) or requests_done (raw copy). A failure goes only through count_failure into requests_failed. So the counters are disjoint, and completed = raw + inflated + bcpack-blank counts each finished request once and no failed ones.

Both status lines keep the text inflated=%ld failed=%ld, and the 128-byte buffers hold the longest possible output (about 100 characters). I also searched the tree for other readers of these lines:

  • tools/startup/triage_run.py reads only the heartbeat second, commit peak= and the failure-cause line, so dropping done= does not affect it;
  • nothing else parses done=, inflated= or bcpack-blank=.

What I ran. I built the 12 targets behind ^(startup_storage|startup_live), including startup_stub_xcrdapi, startup_stub_consumer and xmem_shim, in dev and release. Then I ran
ctest --test-dir out/build/<preset> --no-tests=error -j 8 --output-on-failure -R '^(startup_storage|startup_live)'
three times per preset: 16/16 each time in Debug and Release /O2, with no skips. startup_storage_directory_batch passed in all six runs here, at -j 8.

These Python checks pass:

  • startup_live_telemetry_check.py and startup_live_view_cli_check.py (OK);
  • startup_triage_run_check.py (0 failed);
  • docs_links_check.py (101 files, 589 links).

Before and after.

  • With main's tools/startup/live_view.py, the new test_status_lines_old_and_new_format fails: '7 storage requests completed' not found.
  • A stand-in mutant that counts zlib requests as raw (else if (bcpack) instead of else if (zlib || bcpack), with XCRDAPI.dll rebuilt) fails startup_storage_failure_counts. The first failure is raw=2 inflated=0, expected 1 and 1, and the zlib-only run gives raw=3 inflated=0 ... expected "raw=0 inflated=3 ...".

git diff --check is clean.

Non-blocking notes.

  1. The done fallback in the viewer is not tested. Every old-format line in the new test has done=0. If I remove "done" from the name tuple in _storage_completed, startup_live_telemetry_check.py still passes. The code itself is right: _storage_completed("... (requests done=4 inflated=5 failed=1)") returns 9. A non-zero done= on one old line would pin it.
  2. Indentation. In tests/startup_storage_failure_counts.cpp, the line char counts[160], want_counts[160]; is indented 8 spaces in a 4-space block.

Neither is a reason to hold the PR.

Verdict: approve on 1039125e.

Environment: Windows 11 25H2 build 26200.9974; MSVC 19.52.37029; Python 3.12.10. No GPU involved.
CI: Build and test on Windows passes on 1039125e. There are no review threads.

This reply was AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6092111051 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2817#pullrequestreview-6092111051). Originally posted by [pigalot](https://github.com/pigalot) on 2026-11-27T18:31:40Z. **Review:** APPROVED --- Independently reviewed `1039125e` integrated over `main` `429f11d5` (tree `cd23c450`, clean merge). **What I traced.** In `src/startup_stubs/xcrdapi.cpp`, a request that wrote its destination increments exactly one of three counters: `requests_bcpack_blank` (BCPack not decoded), `requests_compressed` (zlib or decoded BCPack) or `requests_done` (raw copy). A failure goes only through `count_failure` into `requests_failed`. So the counters are disjoint, and `completed = raw + inflated + bcpack-blank` counts each finished request once and no failed ones. Both status lines keep the text `inflated=%ld failed=%ld`, and the 128-byte buffers hold the longest possible output (about 100 characters). I also searched the tree for other readers of these lines: - `tools/startup/triage_run.py` reads only the heartbeat second, `commit peak=` and the failure-cause line, so dropping `done=` does not affect it; - nothing else parses `done=`, `inflated=` or `bcpack-blank=`. **What I ran.** I built the 12 targets behind `^(startup_storage|startup_live)`, including `startup_stub_xcrdapi`, `startup_stub_consumer` and `xmem_shim`, in `dev` and `release`. Then I ran `ctest --test-dir out/build/<preset> --no-tests=error -j 8 --output-on-failure -R '^(startup_storage|startup_live)'` three times per preset: 16/16 each time in Debug and Release `/O2`, with no skips. `startup_storage_directory_batch` passed in all six runs here, at `-j 8`. These Python checks pass: - `startup_live_telemetry_check.py` and `startup_live_view_cli_check.py` (OK); - `startup_triage_run_check.py` (0 failed); - `docs_links_check.py` (101 files, 589 links). **Before and after.** - With `main`'s `tools/startup/live_view.py`, the new `test_status_lines_old_and_new_format` fails: `'7 storage requests completed' not found`. - A stand-in mutant that counts zlib requests as raw (`else if (bcpack)` instead of `else if (zlib || bcpack)`, with `XCRDAPI.dll` rebuilt) fails `startup_storage_failure_counts`. The first failure is `raw=2 inflated=0, expected 1 and 1`, and the zlib-only run gives `raw=3 inflated=0 ... expected "raw=0 inflated=3 ..."`. `git diff --check` is clean. **Non-blocking notes.** 1. **The `done` fallback in the viewer is not tested.** Every old-format line in the new test has `done=0`. If I remove `"done"` from the name tuple in `_storage_completed`, `startup_live_telemetry_check.py` still passes. The code itself is right: `_storage_completed("... (requests done=4 inflated=5 failed=1)")` returns 9. A non-zero `done=` on one old line would pin it. 2. **Indentation.** In `tests/startup_storage_failure_counts.cpp`, the line `char counts[160], want_counts[160];` is indented 8 spaces in a 4-space block. Neither is a reason to hold the PR. **Verdict:** approve on `1039125e`. Environment: Windows 11 25H2 build 26200.9974; MSVC 19.52.37029; Python 3.12.10. No GPU involved. CI: `Build and test on Windows` passes on `1039125e`. There are no review threads. This reply was AI-assisted.
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
R0Y00/Xbox2Windows!2809
No description provided.