tools: count Device::slot133 placements by outcome #1690
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1697"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T17:19:44Z.
Handled
Device::slot133(CreatePlacedResourceX?)lines end inaliased|not aliased gpuva=...(buffers) ornot aliased [...](textures), not in the HRESULT, sotriage_run.pycounted every one as an unhandled slot. In the #870 report that was 3,406 of 3,554 events. The ABI note on slot 133 (placed resource at a title address, handled ind3d12_xs_device.cpp) traces this to the classifier, not to a gap in the stand-in.Change:
tools/startup/triage_run.py: a slot 133 line with-> 0x00000000is counted in a new table by outcome (aliased,not_aliased) and no longer counts as unhandled. A line with any other HRESULT, or the "not committed -> E_INVALIDARG" line, is counted asfailedand still counts as an unhandledDevice::slot133event. The table only appears when there are slot 133 lines, and it holds fixed tokens only (no addresses, no GPU addresses).tests/startup_triage_run_check.py: a log with an aliased success, a not-aliased success, a failure0x80070057, a texture success, an uncommitted address and one unrelated unhandled slot. Expected: outcomes 1 / 2 / 2, unhandled 2 (slot 133 failures) + 1 (other slot). Control: with the slot 133 rules switched off, the same log counts all five slot 133 lines as unhandled.docs/startup-runtime.md: one paragraph in the triage section.Verification:
python3 -I -B):python3 -I -B tests/startup_triage_run_check.py: 0 failed.python3 -I -B tests/docs_links_check.py: 17 Markdown files, 364 links, passed.python3 -I -B tests/bidi_controls_check.py: 1287 files, passed.git diff --check origin/main...HEAD: clean.if norm_hr == "0x00000000":->if True:):tests/startup_triage_run_check.pyfails (exit 1, 3 failed), plus 5 single-change mutations (rule removed, failed HRESULT counted as success, failure not counted as an outcome, not-aliased merged into aliased, uncommitted-address rule removed) each fail with exit 1.git merge-treeagainst#1598: 0 conflicts.df97a04bd8dbc57cbef85ead9d6f6d7c051aa80e:--preset dev):ctest --preset dev -R '^startup_triage_run$' --parallel 4 --no-tests=error --output-on-failure-> 1/1 passed (0.26s)./O2(--preset release):ctest --preset release -R '^startup_triage_run$' --parallel 4 --no-tests=error --output-on-failure-> 1/1 passed (0.29s).Not covered: no raw #870 log, so the real aliased / not-aliased / failed split is not known yet; this PR makes it countable.
AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-24T17:34:15Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
df97a04ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.