merge_check: preserve Unicode line separators in squash subjects #300

Closed
github-bot wants to merge 1 commit from gh-pr/300/head into gh-pr/300/base
Owner

@⁠Andretuta on GitHub · 2026-11-24 03:04 UTC · original
ubiquitarianism:old-pr/10032 → main · +7 −1 · 2 files · 1 commits · closed without merging

Carried over from old PR 10032 by maxence468 in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/10032, exactly that PR's last commit. All carried-over PRs are listed in #17.
Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it.
maxence468: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one.


Original description (mentions and #N references are disabled; the numbers refer to the old repository):

Claim: https://github.com/ProjectLeonida/Leonida/issues/9677#issuecomment-7116837902

Git separates log records with LF. A Unicode line separator inside a squash subject is part of that subject. Splitting there made the history scan attribute the merge to an earlier PR number and miss the trailing one. Split on LF only.

The regression creates a temporary Git repository. On the parent it attributed the commit to #10; on this branch it correctly attributes it to #11. Windows CPU only, no GPU or game inputs. Of 21 merge_check tests, 20 passed. Both subcases of test_duplicate_check_reports_failed_blob_reads also failed on the parent in an independent run. Changed-file game-data and whitespace checks passed.

Semantic suite: 6,046 tests in 459 files; failures in test_exec_computed, test_image_atomics_guard, test_sopc_validation and test_unary_f16_validation. This PR touches only merge_check and its test. AI-assisted with Codex.

**@⁠Andretuta** on GitHub · 2026-11-24 03:04 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/300) `ubiquitarianism:old-pr/10032` → `main` · +7 −1 · 2 files · 1 commits · closed without merging > Carried over from **old PR 10032** by `maxence468` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/10032`, exactly that PR's last commit. All carried-over PRs are listed in #17. > Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it. > `maxence468`: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one. --- Original description (mentions and `#N` references are disabled; the numbers refer to the old repository): Claim: https://github.com/ProjectLeonida/Leonida/issues/9677#issuecomment-7116837902 Git separates log records with LF. A Unicode line separator inside a squash subject is part of that subject. Splitting there made the history scan attribute the merge to an earlier PR number and miss the trailing one. Split on LF only. The regression creates a temporary Git repository. On the parent it attributed the commit to `#10`; on this branch it correctly attributes it to `#11`. Windows CPU only, no GPU or game inputs. Of 21 merge_check tests, 20 passed. Both subcases of test_duplicate_check_reports_failed_blob_reads also failed on the parent in an independent run. Changed-file game-data and whitespace checks passed. Semantic suite: 6,046 tests in 459 files; failures in test_exec_computed, test_image_atomics_guard, test_sopc_validation and test_unary_f16_validation. This PR touches only merge_check and its test. AI-assisted with Codex.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 08:52:31 +00:00
github-bot closed this pull request 2026-11-26 08:52:31 +00:00
Author
Owner

@⁠ubiquitarianism on GitHub · 2026-11-24 16:17 UTC · original

Closing: the same patch (same git patch-id) was merged through #893.

**@⁠ubiquitarianism** on GitHub · 2026-11-24 16:17 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/300#issuecomment-7137431869) Closing: the same patch (same git patch-id) was merged through #893.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.