3 Commits

Author SHA1 Message Date
SandimL fa9ad89afa Scripts: run smoke.ps1 on Windows PowerShell 5.1
(cherry picked from commit f52ae3d372)
2026-11-24 00:58:17 +01:00
Graham Calihan 97dc49c6a7 Scripts: smoke.ps1 names the adapter XCL ran on, from report.json
The gpu line took the first Win32_VideoController that is not the basic
display adapter. On a machine with an iGPU and a discrete GPU that is often
the iGPU: on an RTX 3080 + AMD RDNA2 iGPU machine the block said
"AMD Radeon(TM) Graphics" while XCL ran on the RTX 3080.

The line now comes from d3d12.adapter in the run's report.json (next to the
log; XCL removes the previous run's report at start), without the VRAM
suffix. The Win32 query stays as the fallback when the report or the field
is missing.

(cherry picked from commit c756051df6)
2026-11-24 00:58:17 +01:00
ivall 63b9930636 Docs: what a PR needs to be merged - tests run, a regression run on a title, checked by PR checks
CONTRIBUTING.md gets the merge requirements: both required checks green (CI, PR checks), the
whole suite run on a GPU with its counts, and for a runtime change (crates/xcl/src outside
tests) two xcl-smoke blocks from scripts/smoke.ps1 - built from main and from the PR's head
commit with no uncommitted changes - with no device removal or crash. The maintainer runs the
suite and a retail title again on every merged batch.

- scripts/smoke.ps1: runs a title for a fixed time (network off, XCL_ACTIVITY) and prints the
  xcl-smoke block: commit, GPU, exit, frames shown, presents, device removals, crashes, peak
  commit.
- .github/pull_request_template.md: Tested / Regression run / Not tested / AI use.
- .github/workflows/pr-check.yml: refuses a description without those sections, and a runtime
  change without a smoke block made on the PR's head commit.
- AGENTS.md / CLAUDE.md (from #212): the same rules for agents; AI use is disclosed in the PR's
  AI use section, a commit trailer is not required.
2026-11-23 22:56:29 +01:00