An error occurred while fetching the assigned iteration of the selected issue.
Runner for Windows fails to clone when commit message is a single non-ASCII character
Summary
Runner for Windows fails to clone git repos on Windows OS with non-English locales when the commit message is a single character.
Steps to reproduce
Create your Windows runner:
- Create and connect remotely to a Windows OS EC2 server
- Install GitLab runner for Windows
- Go to Settings > Time & Language > Add a language
- Select and install a language such as Korean or Japanese
- Configure the system locale in powershell. Ex:
Set-WinSystemLocale ko-KR
- Reboot server
On GitLab:
- Create a new commit with a project that has a
.gitlab-ci.yml
file - Enter the commit message
test
and commit. This works✅ - Enter the commit message
あ
and commit. This fails❌ - Enter the commit message
ああ
and commit. This works✅ - Enter the commit message
한
and commit. This fails❌ - Enter the commit message
한한
and commit. This works✅
Example Project
https://gitlab.com/mbadeau/450946
Workaround
Set the Windows system locale to en-US
.
In Powershell, run Set-WinSystemLocale en-US
and then reboot.