cpp-migration: write .fail diagnostics and add read-only --refusals summary to compile_dxil #2983

Closed
opened 2026-11-27 02:46:56 +00:00 by github-bot · 1 comment
Owner

@⁠stan495 on GitHub · 2026-11-27 02:44 UTC · original

Target branch cpp-migration. Refs #2935 (Tooling bullet: --refusals and .fail files for triage_run.py).

Scope

  1. .fail diagnostic lifecycle in compile_dxil --requests:
    • Atomically publish <key>.fail when a startup graphics or slot-67 compute request is refused in --requests batch mode (with no <key>.txt or stage .cso published).
    • Remove any stale <key>.fail when the same request succeeds on a subsequent run.
  2. Read-only compile_dxil --refusals REQUEST_DIRECTORY [--jobs N] [--json]:
    • Summarize first-refusal counts across startup graphics (req_<key>.a) and slot-67 compute (req_<key>.c67) requests without invoking DXC or writing any cache/output files.
    • Normalize and redact hex instruction words / register indices / file paths in reported reasons.
  3. tools/startup/triage_run.py classification:
    • Classify native .fail first lines under SHADER_REASONS using strictly allowlisted patterns without loosening redaction controls.

I am taking this slice.

**@⁠stan495** on GitHub · 2026-11-27 02:44 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/2983) Target branch `cpp-migration`. Refs #2935 (Tooling bullet: `--refusals` and `.fail` files for `triage_run.py`). ### Scope 1. **`.fail` diagnostic lifecycle in `compile_dxil --requests`**: - Atomically publish `<key>.fail` when a startup graphics or slot-67 compute request is refused in `--requests` batch mode (with no `<key>.txt` or stage `.cso` published). - Remove any stale `<key>.fail` when the same request succeeds on a subsequent run. 2. **Read-only `compile_dxil --refusals REQUEST_DIRECTORY [--jobs N] [--json]`**: - Summarize first-refusal counts across startup graphics (`req_<key>.a`) and slot-67 compute (`req_<key>.c67`) requests without invoking DXC or writing any cache/output files. - Normalize and redact hex instruction words / register indices / file paths in reported reasons. 3. **`tools/startup/triage_run.py` classification**: - Classify native `.fail` first lines under `SHADER_REASONS` using strictly allowlisted patterns without loosening redaction controls. I am taking this slice.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 02:46:56 +00:00
Author
Owner

@⁠MasterDomino on GitHub · 2026-11-27 03:17 UTC · original

Completed by #2984, merged into cpp-migration as 4ff5e36d. Merges into a non-default branch do not close issues automatically.

**@⁠MasterDomino** on GitHub · 2026-11-27 03:17 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/2983#issuecomment-7208865626) Completed by #2984, merged into `cpp-migration` as 4ff5e36d. Merges into a non-default branch do not close issues automatically.
This discussion has been locked. Commenting is limited to contributors.
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/R0Y00--Xbox2Windows#2983
No description provided.