Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vim --version hangs on Windows runner (installed via vim_9.1.0631_x64.zip) #37

Closed
rhysd opened this issue Jul 28, 2024 · 1 comment
Closed
Labels
bug Something isn't working upstream Neovim/Vim upstream repository issue

Comments

@rhysd
Copy link
Owner

rhysd commented Jul 28, 2024

Today's weekly check has failed.

https://github.com/rhysd/action-setup-vim/actions/runs/10127478357/job/28010439410

##[debug]Unzipped installer from https://github.com/vim/vim-win32-installer/releases/download/v9.1.0631/gvim_9.1.0631_x64.zip and found Vim directory C:\Users\RUNNER~1\AppData\Local\Temp\vim-installer\vim\vim91
##[debug]Vim was installed to C:\Users\runneradmin\vim-stable
##[debug]Installed directory 'C:\Users\runneradmin\vim-stable' was validated
C:\Users\runneradmin\vim-stable\vim.exe --version
##[debug]Re-evaluate condition on job cancellation for step: 'Run rhysd/action-setup-vim@v1'.
Error: The operation was canceled.
##[debug]System.OperationCanceledException: The operation was canceled.

The reason was vim.exe --version took more than 30 minutes. I don't know if this happens on local Windows machine because I don't have a Windows machine for now. (EDIT: Someone tried it on Windows 11 locally and it reportedly worked.)

The workflow successfully ran on last week. And there has been no changes since then. So I guess this is an upstream issue (GitHub Actions or Vim). gvim_9.1.0608_x64.zip was used in the job.

@rhysd rhysd added bug Something isn't working upstream Neovim/Vim upstream repository issue labels Jul 28, 2024
@rhysd
Copy link
Owner Author

rhysd commented Jul 28, 2024

  • The following step also hung. So this is not an issue of TypeScript code.
    - run: ${{ steps.vim.outputs.executable }} --version
  • Tried gvim_9.1.0631_x86.zip but it didn't help to solve this issue.
  • There is no way to set timeout on running the process via @actions/exec. I sent a PR: actions/exec: Allow timeout on running a process actions/toolkit#1777
  • I confirmed that gvim_9.1.0608_x64.zip worked fine on GitHub Actions. I guess something happens between v9.1.0608 and v9.1.0631
  • I confirmed that v9.1.0626 didn't cause this issue. It sounds a regression of Vim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream Neovim/Vim upstream repository issue
Projects
None yet
Development

No branches or pull requests

1 participant