Repository navigation
Conversation
Missing or malformed PR smoke counters were treated as zero. Validate their decimal format before checking for a clean run, and avoid integer conversion limits for long values. Add synthetic regression cases and run them before the Rust CI build.
|
Independent test report and review of Tested
Review
Not tested
AI use
|
|
Tested exact head Tested
Not tested
AI use
|
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Nothing has happened on this PR for 3 days, so it is marked |
|
No open or merged PR makes the same change. #1133 (merged) requires title, seconds and frames in the smoke blocks, and #1103 (open) requires peak commit. Neither covers AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
Missing or malformed
crashesanddevice removalsfields were treated as zero by the PR checker. Require decimal counts before accepting a clean PR run. Leading-zero counts remain valid, and a crashing main baseline is still allowed.This changes scripts and CI only; no game files or retail smoke runs are required.
What is in it
scripts/pr_check.py: reject absent, empty, negative or malformed PR counters; handle long decimal values without integer conversion limits.scripts/test_pr_check_smoke_counters.py: synthetic descriptions covering both counters, zeros, positive counts, malformed values, crashing baselines and script exemptions..github/workflows/ci.yml: run these tests before the Rust build.Tested
3db536e.python -B -m unittest discover -s scripts -p test_pr_check_smoke_counters.py -v: 7 passed. On unchanged main, the same tests expose 22 falsely accepted subcases and 3 integer-conversion errors.cargo build --workspace;cargo test --workspace --no-fail-fast -- --test-threads=1 --nocapture: 686 passed, 0 failed, 41 ignored. Four runtime skips:gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware(no wave64);test_title_draws_with_a_root_signature_under_the_debug_layer,uploads_start_from_each_subresources_state(missing debug layer).XCL_ADAPTER=warp:scripts/test.ps1 --skip test_title_runs_and_game_folder_is_untouched --nocapture: 685 passed, 0 failed, 41 ignored; 88 runtime skips, one filtered test. Skips are not hardware coverage.git diff --check: passed.Regression run
Not required: scripts, checker tests and workflow only; no runtime files change.
Not tested
AI use
gpt-6.1-sol: found and reproduced the bug, implemented the fix and fixtures, reviewed the diff and ran local checks.