CLI: keep prebuild key reports in record order #3692
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3692"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-28T07:51:57Z.
VICTORY_PREBUILD_KEYSappends each row when a worker finishes. This means two reports for the same shader pack can differ even when every key and description matches.Keep the record index with each diagnostic row and sort at write time. Compute records appear first, followed by graphics records, with numeric indices within each group. Skipped rows stay in their record positions.
On Windows, I ran the exact CLI with 2,048 generated records, comprising 1,928 keys and 120 skipped rows. Main produced five different byte sequences in five runs with eight workers. The patched report was byte-identical in all ten runs across one and eight workers. Sorting the original and patched files yielded the same complete rows. The unit test covers mixed compute and graphics entries with skipped records. All 19 CLI tests, strict app Clippy and the asset policy passed.
Please retain the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding the change into another commit.AI-assisted with OpenAI Codex.
Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-28T07:54:50Z.
Windows CI passed at
adb4822, including both Clippy configurations and the workspace tests. On this head, the 2,048-row generated report was byte-identical across ten runs with one and eight workers. Its keys, descriptions and reasons for skipped records matched main after sorting.The next step is maintainer review.
Please retain the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding the change into another commit.AI-assisted with OpenAI Codex.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.