Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8d467eedab16185364b783c1157671a877d11775
https://github.com/WebKit/WebKit/commit/8d467eedab16185364b783c1157671a877d11775
Author: David Kilzer <[email protected]>
Date: 2026-01-08 (Thu, 08 Jan 2026)
Changed paths:
M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/mocks/remote/git_hub.py
M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py
M
Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/pull_request_unittest.py
Log Message:
-----------
git-webkit detects a previously-used branch name if the new branch is a
substring of an existing branch
<https://bugs.webkit.org/show_bug.cgi?id=300561>
<rdar://162446508>
Reviewed by Brianna Fan.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/mocks/remote/git_hub.py:
(GitHub.graphql):
- Update mock method to behave like GitHub based on emperical behavior.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py:
(PullRequest.find_existing_pull_request):
- Fix the bug by preventing assignment to `existing_pr` unless the
branch name actually matches.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/pull_request_unittest.py:
(TestDoPullRequest.test_github_substring_branch): Add.
- Add test that reproduces the behavior after the mock code was updated.
Canonical link: https://commits.webkit.org/305338@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications