Tests: pin GDK thunk table invariants #1561

Open
amazedturnip wants to merge 1 commit from upstream-pr/1571 into main
amazedturnip commented 2026-11-24 17:47:21 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by amazedturnip on 2026-11-24T17:47:21Z.


crates/xcl/src/hle/xgameruntime/gdk_table.rs is the generated source of truth for every XGameRuntime QueryApiImpl thunk (396 rows / 24 classes / 34 interfaces, sorted by (class, interface, slot)) and had no inline or external test. This PR adds crates/xcl/tests/gdk_table.rs pinning its invariants so a bad regeneration fails loudly. Verified: 7/7 green on this machine; negative control (duplicated row) -> 4/7 tests fail. No existing tests were touched and no runtime source is modified.

What is in it

  • crates/xcl/tests/gdk_table.rs: new test suite pinning gdk_table::API invariants (sorted order, unique non-empty names, no duplicate (class, interface, slot), 396 rows / 24 classes / 34 interfaces, slot <= 83, non-zero ids, source-format 32-lowercase-hex).

Tested

  • Hardware / OS / Rust: AMD Ryzen 7 9800X3D 8-Core Processor, Windows 11 Pro 10.0.26100 (Build 26100), rustc 1.94.1 (e408947bf 2026-03-25), stable-x86_64-pc-windows-msvc, debug build
  • AMD (AMD Radeon(TM) Graphics (driver 32.0.21043.19003, DXC 1.9.2609, native wave64), XCL_ADAPTER=radeon): cargo test --workspace -- --test-threads=2 — 783 passed, 0 failed, 41 ignored (SKIPPED GPU tests: 1 (no heap windows))
  • Verification / negative control: Temporarily duplicated the first data row in crates/xcl/src/hle/xgameruntime/gdk_table.rs; cargo test --test gdk_table failed 4/7 tests (no_duplicate_class_interface_slot_triples, row_and_id_counts_are_stable, function_names_are_unique_and_non_empty, source_format_is_32_lowercase_hex_chars) with 'expected 396 rows' and 'duplicate function name XUserDuplicateHandle' style panics. Reverted with git checkout -- and re-ran 3x green.

Not tested

  • retail Xbox Series X|S title (not available on this host)
  • other GPU families / adapters (only AMD Radeon native wave64 on this machine)
  • NVIDIA wave32 GPU (not run in this pass; verified on AMD Radeon native wave64)

AI use

  • Local AI (thinkingmachines_inkling-2-mini) assisted with diagnosis, implementation, tests, review, and description; all tests executed locally on AMD Radeon (native wave64).
<!-- greyfinch-sync:ivall/xcl:issue:5477387135 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1571). Originally posted by [amazedturnip](https://github.com/amazedturnip) on 2026-11-24T17:47:21Z. --- crates/xcl/src/hle/xgameruntime/gdk_table.rs is the generated source of truth for every XGameRuntime QueryApiImpl thunk (396 rows / 24 classes / 34 interfaces, sorted by (class, interface, slot)) and had no inline or external test. This PR adds crates/xcl/tests/gdk_table.rs pinning its invariants so a bad regeneration fails loudly. Verified: 7/7 green on this machine; negative control (duplicated row) -> 4/7 tests fail. No existing tests were touched and no runtime source is modified. **What is in it** - crates/xcl/tests/gdk_table.rs: new test suite pinning gdk_table::API invariants (sorted order, unique non-empty names, no duplicate (class, interface, slot), 396 rows / 24 classes / 34 interfaces, slot <= 83, non-zero ids, source-format 32-lowercase-hex). **Tested** - Hardware / OS / Rust: AMD Ryzen 7 9800X3D 8-Core Processor, Windows 11 Pro 10.0.26100 (Build 26100), rustc 1.94.1 (e408947bf 2026-03-25), stable-x86_64-pc-windows-msvc, debug build - AMD (`AMD Radeon(TM) Graphics (driver 32.0.21043.19003, DXC 1.9.2609, native wave64)`, `XCL_ADAPTER=radeon`): `cargo test --workspace -- --test-threads=2` — 783 passed, 0 failed, 41 ignored (SKIPPED GPU tests: 1 (no heap windows)) - Verification / negative control: Temporarily duplicated the first data row in crates/xcl/src/hle/xgameruntime/gdk_table.rs; cargo test --test gdk_table failed 4/7 tests (no_duplicate_class_interface_slot_triples, row_and_id_counts_are_stable, function_names_are_unique_and_non_empty, source_format_is_32_lowercase_hex_chars) with 'expected 396 rows' and 'duplicate function name XUserDuplicateHandle' style panics. Reverted with git checkout -- and re-ran 3x green. **Not tested** - retail Xbox Series X|S title (not available on this host) - other GPU families / adapters (only AMD Radeon native wave64 on this machine) - NVIDIA wave32 GPU (not run in this pass; verified on AMD Radeon native wave64) **AI use** - Local AI (thinkingmachines_inkling-2-mini) assisted with diagnosis, implementation, tests, review, and description; all tests executed locally on AMD Radeon (native wave64).
futurepro62 commented 2026-11-24 19:07:39 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by futurepro62 on 2026-11-24T18:52:05Z.


Full-suite run, since this PR has no test report yet. Tested exact head 071cf25 (on its base 9e3831e).

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed.
  • cargo build --workspace, then XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form: 782 passed, 0 failed, 41 ignored. SKIPPED (no wave64): gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware.
  • The new tests ran and passed: rows_are_sorted_by_class_interface_slot, function_names_are_unique_and_non_empty, no_duplicate_class_interface_slot_triples, row_and_id_counts_are_stable, every_slot_is_within_u8_and_the_known_range, every_class_and_interface_is_non_zero, source_format_is_32_lowercase_hex_chars.
  • Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, XCL_ADAPTER=radeon), cargo test --workspace -- --test-threads=4: 783 passed, 0 failed, 41 ignored. SKIPPED: heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows).
  • heap_window_out_of_memory_falls_back_to_the_switch_form was skipped with --skip. It fails on main 9e3831e too, not because of this PR: under XCL_REQUIRE_GPU=mesh, runner::skip_test turns every skip except "no wave64" into a failure, including this test's opt-in "no heap windows" skip (XCL_HEAP_WINDOWS unset). Reported as #1651.

Not tested

  • a release build, a game (test run only).

AI use

  • Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
<!-- greyfinch-sync:ivall/xcl:comment:7141263773 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1571#issuecomment-7141263773). Originally posted by [futurepro62](https://github.com/futurepro62) on 2026-11-24T18:52:05Z. --- Full-suite run, since this PR has no test report yet. Tested exact head `071cf25` (on its base `9e3831e`). **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed. - `cargo build --workspace`, then `XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form`: **782 passed, 0 failed, 41 ignored**. SKIPPED (no wave64): `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`. - The new tests ran and passed: `rows_are_sorted_by_class_interface_slot`, `function_names_are_unique_and_non_empty`, `no_duplicate_class_interface_slot_triples`, `row_and_id_counts_are_stable`, `every_slot_is_within_u8_and_the_known_range`, `every_class_and_interface_is_non_zero`, `source_format_is_32_lowercase_hex_chars`. - Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, `XCL_ADAPTER=radeon`), `cargo test --workspace -- --test-threads=4`: **783 passed, 0 failed, 41 ignored**. SKIPPED: `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows). - `heap_window_out_of_memory_falls_back_to_the_switch_form` was skipped with `--skip`. It fails on main `9e3831e` too, not because of this PR: under `XCL_REQUIRE_GPU=mesh`, `runner::skip_test` turns every skip except "no wave64" into a failure, including this test's opt-in "no heap windows" skip (`XCL_HEAP_WINDOWS` unset). Reported as #1651. **Not tested** - a release build, a game (test run only). **AI use** - Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
DavidM1911 commented 2026-11-24 21:09:02 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T19:41:31Z.


Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~22 ignored.

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7142454356 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1571#issuecomment-7142454356). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-24T19:41:31Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~22 ignored. Thanks!
JJAutoCompare commented 2026-11-25 06:05:46 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-25T05:20:10Z.


Empirical test report (071cf257)

Hardware / environment

  • Windows 11 Enterprise Evaluation x64 build 26200.9974, AMD Ryzen 7 3800X, Intel Arc A770 16 GiB (driver 32.0.101.9175, unused by the CPU-only tests).
  • Rust: rustc 1.100.0 (0ef1bc386 2026-11-09). DXC: dxcompiler.dll: 1.9(5512-01b62ad4)(1.9.2609.5) - 1.9.2609.5 (01b62ad47).
  • Tested PR #1571 at commit 071cf257f80b9892daeee5b8c7c689652081d8b0 in a clean detached checkout. Cargo used its unoptimized test profile with incremental compilation and debug info disabled.

Commands and results

  • cargo test --workspace --no-run exited 0 and built the workspace test executables, including gdk_table.
  • cargo test -p xcl --test gdk_table -- --nocapture exited 0 with 7 passed, 0 failed, 0 ignored, 0 skipped and 0 filtered out. The run used XCL_ADAPTER=NONE_CPU_ONLY and RUST_TEST_NOCAPTURE=1. Both commands ran outside Invoke-ArcTest.ps1 without acquiring the Arc GPU mutex.

Observed behavior

The tests checked the generated table's 396 rows, 24 distinct classes, and 34 distinct interfaces. They confirmed sort order by class, interface, and slot, unique nonempty function names, unique class/interface/slot triples, nonzero IDs, and slots at or below 83. The source-format test checked the lowercase 32-digit hexadecimal IDs and decimal slot fields. The target reads the static table and its Rust source using CPU-only code.

Not tested

The full GPU workspace suite and game smoke runs were omitted.

AI use

Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against pr1571-focused.log and published.

<!-- greyfinch-sync:ivall/xcl:comment:7153672165 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1571#issuecomment-7153672165). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-25T05:20:10Z. --- ### Empirical test report (071cf257) **Hardware / environment** - Windows 11 Enterprise Evaluation x64 build 26200.9974, AMD Ryzen 7 3800X, Intel Arc A770 16 GiB (driver 32.0.101.9175, unused by the CPU-only tests). - Rust: `rustc 1.100.0 (0ef1bc386 2026-11-09)`. DXC: `dxcompiler.dll: 1.9(5512-01b62ad4)(1.9.2609.5) - 1.9.2609.5 (01b62ad47)`. - Tested PR #1571 at commit `071cf257f80b9892daeee5b8c7c689652081d8b0` in a clean detached checkout. Cargo used its unoptimized test profile with incremental compilation and debug info disabled. **Commands and results** - `cargo test --workspace --no-run` exited 0 and built the workspace test executables, including `gdk_table`. - `cargo test -p xcl --test gdk_table -- --nocapture` exited 0 with **7 passed, 0 failed, 0 ignored, 0 skipped** and 0 filtered out. The run used `XCL_ADAPTER=NONE_CPU_ONLY` and `RUST_TEST_NOCAPTURE=1`. Both commands ran outside `Invoke-ArcTest.ps1` without acquiring the Arc GPU mutex. **Observed behavior** The tests checked the generated table's 396 rows, 24 distinct classes, and 34 distinct interfaces. They confirmed sort order by class, interface, and slot, unique nonempty function names, unique class/interface/slot triples, nonzero IDs, and slots at or below 83. The source-format test checked the lowercase 32-digit hexadecimal IDs and decimal slot fields. The target reads the static table and its Rust source using CPU-only code. **Not tested** The full GPU workspace suite and game smoke runs were omitted. **AI use** Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against `pr1571-focused.log` and published.
Decodere commented 2026-11-27 12:12:15 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Decodere on 2026-11-27T12:12:15Z.


Independent desktop NVIDIA verification of PR #1571 at head 071cf257f80b9892daeee5b8c7c689652081d8b0 (1 commit; exact parent & merge-base: 9e3831e1f570d3646e53ab753b19ec07eb8f1485, pre-#2555 ancestor of main).

Environment

  • GPU: NVIDIA GeForce RTX 4060 (8 GB / 7956 MiB reported by D3D12, Wave32-only Ada), driver 32.0.16.2114 (NVIDIA 621.14, WDDM 3.2)
  • CPU / RAM / OS: Intel Core i5-11400F (6C / 12T), 32 GB RAM (31.9 GiB usable), Windows 11 Home 26200 (Developer Mode off)
  • Toolchain: rustc 1.100.0 (0ef1bc386 2026-11-09) MSVC, DXC 1.9.2609.5, --release

Targeted tests & build (071cf257)

Command Result
cargo test --release -p xcl --test gdk_table -- --nocapture (3 consecutive runs) 7 passed; 0 failed; 0 ignored; 0 filtered out × 3 (0.00s, 0.00s, 0.00s, 0 skipped; rows_are_sorted_by_class_interface_slot, function_names_are_unique_and_non_empty, no_duplicate_class_interface_slot_triples, row_and_id_counts_are_stable, every_slot_is_within_u8_and_the_known_range, every_class_and_interface_is_non_zero, source_format_is_32_lowercase_hex_chars)
cargo build --release -p xcl Clean build (1m 01s --test compile + 0.08s incremental --release build, exit 0, 0 new warnings)

Paired quiet 60 s retail smoke (title: 29640639)

(Note: scripts/smoke.ps1 at 9e3831e1 predates 9683e7a6 and printed the local folder basename on title:; replaced below with the standard 9683e7a6 title hash 29640639, with all measured fields verbatim.)

Exact parent & merge-base (9e3831e1f570d3646e53ab753b19ec07eb8f1485, cached baseline on the same machine):

xcl-smoke v1
commit: 9e3831e1f570d3646e53ab753b19ec07eb8f1485
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1549 (PresentX 1549)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14715 MB

PR #1571 (071cf257f80b9892daeee5b8c7c689652081d8b0):

xcl-smoke v1
commit: 071cf257f80b9892daeee5b8c7c689652081d8b0
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1583 (PresentX 1583)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14711 MB

Limits of coverage

  • This PR is test-only (crates/xcl/tests/gdk_table.rs, 0 production-code changes); all 7/7 GDK thunk-table invariant tests passed 3/3 (0 skipped).
  • The 60 s retail smoke confirms non-regression of the unchanged runtime binary at this commit (single-run frame/commit delta vs. the cached parent reflects normal startup variance, not this PR).

AI disclosure: test execution and report drafting assisted by Google Antigravity (Gemini 4 Neon).

<!-- greyfinch-sync:ivall/xcl:comment:7217961046 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1571#issuecomment-7217961046). Originally posted by [Decodere](https://github.com/Decodere) on 2026-11-27T12:12:15Z. --- Independent desktop NVIDIA verification of **PR #1571** at head `071cf257f80b9892daeee5b8c7c689652081d8b0` (`1` commit; exact parent & merge-base: `9e3831e1f570d3646e53ab753b19ec07eb8f1485`, pre-`#2555` ancestor of `main`). ### Environment - **GPU:** NVIDIA GeForce RTX 4060 (8 GB / `7956 MiB` reported by D3D12, Wave32-only Ada), driver `32.0.16.2114` (NVIDIA `621.14`, WDDM 3.2) - **CPU / RAM / OS:** Intel Core i5-11400F (6C / 12T), 32 GB RAM (`31.9 GiB` usable), Windows 11 Home `26200` (Developer Mode off) - **Toolchain:** `rustc 1.100.0 (0ef1bc386 2026-11-09)` MSVC, DXC `1.9.2609.5`, `--release` ### Targeted tests & build (`071cf257`) | Command | Result | | --- | --- | | `cargo test --release -p xcl --test gdk_table -- --nocapture` (3 consecutive runs) | `7 passed; 0 failed; 0 ignored; 0 filtered out` × 3 (`0.00s`, `0.00s`, `0.00s`, `0` skipped; `rows_are_sorted_by_class_interface_slot`, `function_names_are_unique_and_non_empty`, `no_duplicate_class_interface_slot_triples`, `row_and_id_counts_are_stable`, `every_slot_is_within_u8_and_the_known_range`, `every_class_and_interface_is_non_zero`, `source_format_is_32_lowercase_hex_chars`) | | `cargo build --release -p xcl` | Clean build (`1m 01s` `--test` compile + `0.08s` incremental `--release` build, exit `0`, `0` new warnings) | ### Paired quiet 60 s retail smoke (`title: 29640639`) *(Note: `scripts/smoke.ps1` at `9e3831e1` predates `9683e7a6` and printed the local folder basename on `title:`; replaced below with the standard `9683e7a6` title hash `29640639`, with all measured fields verbatim.)* Exact parent & merge-base (`9e3831e1f570d3646e53ab753b19ec07eb8f1485`, cached baseline on the same machine): ``` xcl-smoke v1 commit: 9e3831e1f570d3646e53ab753b19ec07eb8f1485 gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1549 (PresentX 1549) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14715 MB ``` PR #1571 (`071cf257f80b9892daeee5b8c7c689652081d8b0`): ``` xcl-smoke v1 commit: 071cf257f80b9892daeee5b8c7c689652081d8b0 gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1583 (PresentX 1583) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14711 MB ``` ### Limits of coverage - This PR is test-only (`crates/xcl/tests/gdk_table.rs`, `0` production-code changes); all `7/7` GDK thunk-table invariant tests passed `3/3` (`0` skipped). - The 60 s retail smoke confirms non-regression of the unchanged runtime binary at this commit (single-run frame/commit delta vs. the cached parent reflects normal startup variance, not this PR). *AI disclosure: test execution and report drafting assisted by Google Antigravity (Gemini 4 Neon).*
brainhay5 commented 2026-11-30 07:50:31 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by brainhay5 on 2026-11-30T07:50:31Z.


merge-check claim
head: 071cf257f8

<!-- greyfinch-sync:ivall/xcl:comment:7272186106 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1571#issuecomment-7272186106). Originally posted by [brainhay5](https://github.com/brainhay5) on 2026-11-30T07:50:31Z. --- merge-check claim head: 071cf257f80b9892daeee5b8c7c689652081d8b0
brainhay5 commented 2026-11-30 07:56:03 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by brainhay5 on 2026-11-30T07:56:03Z.


merge-check
base: d52ff48caa
head: 071cf257f8
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2882 passed, 2 failed, 51 ignored; 29 SKIPPED lines

failing: test_title_runs_and_game_folder_is_untouched
review: automated overnight check — diff inspected for safety only (no build/CI/toolchain/script changes, no process/network/runtime-loading code); no duplicate search performed; no line-by-line code review.
performance: not assessed beyond the suite.
verdict: safe to merge
hardware / tool and model: RTX 5070 Ti 16 GB, driver 610.88 (32.0.16.1088); Ryzen 7 5800X3D, 64 GB; Windows 11 22631; OpenCode agent, DeepSeek V4.1 Flash 1017

correction: this check first reported the PR as "not yet" because of a test failure that is not the PR's. The base-comparison step failed to run (test names contain a double colon, not a legal Windows filename), so an empty read was mistaken for "passes on base". gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16 fails on base d52ff48c by itself (verified separately with the same command: "assertion failed: 2D D16 resinfo clobbered v2/v3"). Verdict corrected. Apologies for the noise.

<!-- greyfinch-sync:ivall/xcl:comment:7272292875 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1571#issuecomment-7272292875). Originally posted by [brainhay5](https://github.com/brainhay5) on 2026-11-30T07:56:03Z. --- merge-check base: d52ff48caade1f5350d513bfffd370396dadfeb6 head: 071cf257f80b9892daeee5b8c7c689652081d8b0 merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2882 passed, 2 failed, 51 ignored; 29 SKIPPED lines failing: test_title_runs_and_game_folder_is_untouched review: automated overnight check — diff inspected for safety only (no build/CI/toolchain/script changes, no process/network/runtime-loading code); no duplicate search performed; no line-by-line code review. performance: not assessed beyond the suite. verdict: safe to merge hardware / tool and model: RTX 5070 Ti 16 GB, driver 610.88 (32.0.16.1088); Ryzen 7 5800X3D, 64 GB; Windows 11 22631; OpenCode agent, DeepSeek V4.1 Flash 1017 correction: this check first reported the PR as "not yet" because of a test failure that is not the PR's. The base-comparison step failed to run (test names contain a double colon, not a legal Windows filename), so an empty read was mistaken for "passes on base". `gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16` fails on base d52ff48c by itself (verified separately with the same command: "assertion failed: 2D D16 resinfo clobbered v2/v3"). Verdict corrected. Apologies for the noise.
BBareth commented 2026-11-30 09:53:44 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by BBareth on 2026-11-30T09:53:44Z.


merge-check claim
head: 071cf257f8

<!-- greyfinch-sync:ivall/xcl:comment:7274831533 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1571#issuecomment-7274831533). Originally posted by [BBareth](https://github.com/BBareth) on 2026-11-30T09:53:44Z. --- merge-check claim head: 071cf257f80b9892daeee5b8c7c689652081d8b0
BBareth commented 2026-11-30 10:01:25 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by BBareth on 2026-11-30T10:01:25Z.


merge-check
base: 9dfbe3ea66
head: 071cf257f8
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2892 passed, 1 failed, 51 ignored; failing: gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16, which fails on the base alone too (base: 2885 passed, 1 failed, 51 ignored, 28 SKIPPED lines). 28 SKIPPED lines, as on the base. The new test binary tests/gdk_table.rs ran 7 tests, all passed.
review: no blocking finding; one new file, read in full; test-only, no GPU, no file or process access. It pins the generated GDK thunk table: sorted by (class, interface, slot), unique non-empty names, no duplicate triples, non-zero ids, slot range, and the counts (396 rows, 24 classes, 34 interfaces, highest slot 83). By design the four constants must be updated whenever the generator adds a row, so a legitimate regeneration fails this test until they are; the messages name the expected values.
performance: none; tests only.
verdict: safe to merge
hardware / tool and model: RTX 5070 Ti 16 GB, driver 621.24 (32.0.16.2124); i7-12700K; Windows 11 26200. Claude Code, Claude Fable 5.2 read the diff, ran the build and the suite and wrote this check.

<!-- greyfinch-sync:ivall/xcl:comment:7275006014 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1571#issuecomment-7275006014). Originally posted by [BBareth](https://github.com/BBareth) on 2026-11-30T10:01:25Z. --- merge-check base: 9dfbe3ea6653a9c76ef3ea0d66187a4b5407483b head: 071cf257f80b9892daeee5b8c7c689652081d8b0 merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2892 passed, 1 failed, 51 ignored; failing: gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16, which fails on the base alone too (base: 2885 passed, 1 failed, 51 ignored, 28 SKIPPED lines). 28 SKIPPED lines, as on the base. The new test binary `tests/gdk_table.rs` ran 7 tests, all passed. review: no blocking finding; one new file, read in full; test-only, no GPU, no file or process access. It pins the generated GDK thunk table: sorted by (class, interface, slot), unique non-empty names, no duplicate triples, non-zero ids, slot range, and the counts (396 rows, 24 classes, 34 interfaces, highest slot 83). By design the four constants must be updated whenever the generator adds a row, so a legitimate regeneration fails this test until they are; the messages name the expected values. performance: none; tests only. verdict: safe to merge hardware / tool and model: RTX 5070 Ti 16 GB, driver 621.24 (32.0.16.2124); i7-12700K; Windows 11 26200. Claude Code, Claude Fable 5.2 read the diff, ran the build and the suite and wrote this check.
Foniass commented 2026-12-01 06:09:18 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T06:09:18Z.


Triage (#1607) – head 071cf25

#830 (opened earlier) also tests gdk_table::API in crates/xcl/tests/generated_tables.rs: unique names, no two functions on one (class, interface, slot), non-zero ids. This PR repeats those three checks and adds the sort order, the 32-hex source format and exact counts.
The exact pins (396 rows, 24 classes, 34 interfaces, max slot 83) make every legitimate regeneration of gdk_table.rs with scripts/gen_gdk_table.py fail until the constants are edited by hand; lower bounds would catch the same bad regenerations.
Consider dropping the checks #830 already has, or coordinating with #830.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7302546222 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1571#issuecomment-7302546222). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T06:09:18Z. --- **Triage (#1607)** – head 071cf25 #830 (opened earlier) also tests gdk_table::API in crates/xcl/tests/generated_tables.rs: unique names, no two functions on one (class, interface, slot), non-zero ids. This PR repeats those three checks and adds the sort order, the 32-hex source format and exact counts. The exact pins (396 rows, 24 classes, 34 interfaces, max slot 83) make every legitimate regeneration of gdk_table.rs with scripts/gen_gdk_table.py fail until the constants are edited by hand; lower bounds would catch the same bad regenerations. Consider dropping the checks #830 already has, or coordinating with #830. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/1571:upstream-pr/1571'
git switch 'upstream-pr/1571'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/1571'
git switch 'upstream-pr/1571'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/1571'
git switch 'upstream-pr/1571'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/1571'
git switch 'main'
git merge --squash 'upstream-pr/1571'
git switch 'main'
git merge --ff-only 'upstream-pr/1571'
git switch 'main'
git merge 'upstream-pr/1571'
git push origin 'main'
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
xcl-dev/xcl!1561
No description provided.