Repository navigation
Conversation
The title line printed the game folder's leaf, so PR descriptions published that name. Print 8 hex chars of SHA-256 of the lowercased leaf, and keep an optional -Title label. Fixes xcl-dev#677 Assisted-by: Grok Build (Grok 4.7)
Contributor
|
Independent test report and review of Tested
Review
Not tested
AI use
|
|
Tested exact head Tested
Not tested
AI use
|
Open
Member
|
Closing as a duplicate of #689, which already passes both |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
scripts/smoke.ps1printed the game folder's leaf name on thetitle:line of everyxcl-smokeblock. Those blocks are pasted into pull requests, so the folder name (sometimes a scene tag) became public text. The line is now the first 8 hex characters of SHA-256 over the UTF-8 of that leaf, lowercased.pr_check.pyonly compares the twotitle:strings, so a main run and a head run of the same folder still match.-Titleprints a label instead, as given; both runs of a pair have to use the same label. This does not edit descriptions already on other pull requests.Fixes #677
What is in it
scripts/smoke_title.ps1:Get-XclSmokeTitlehashes the lowercased folder leaf, or returns-Titlewhen it is not blankscripts/smoke.ps1: thetitle:line uses that function, and-Titleis an optional parameterscripts/test-smoke-title.tests.ps1: known SHA-256 prefixes for an ASCII leaf, a mixed-case leaf, a spaced name, andcafé, plus the label overrideTested
.\scripts\test.ps1(debug) on this commit: exit 0. 692 passed, 0 failed, 41 ignoredgpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask,gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware(no wave64)XCL_SAMPLE_RPF,XCL_SAMPLE_DLLS,XCL_SAMPLE_TTPF,XCL_SAMPLE_BK2,XCL_SAMPLE_BVH4,XCL_SAMPLE_AWC,XCL_SAMPLE_XG,XCL_SAMPLE_DXCpowershell.exe -NoProfile -File .\scripts\test-smoke-title.tests.ps1:smoke title tests passedpython .\scripts\test_pr_check.py: 3 tests, OKAtomic::fetch_updateincrates/xcl/src/hle/xgameruntime/mod.rs:547(not touched)Regression run
Not a runtime change. No
xcl-smokeblocks.Not tested
AI use