Repository navigation
fix(scripts): make the #238 repro's run command and version line work on Neovim 0.8 - #371
Conversation
… on Neovim 0.8 The script header documented `nvim --headless -u NONE -l ...`, which hangs on Neovim 0.8 because `-l` needs 0.9. It now shows the command CI runs. scripts/README.md now lists exit 2, which that command returns when the script raises before its verdict. On 0.8, vim.version() has no __tostring, so the script printed `Neovim: table: 0x...`. It now prints major.minor.patch on every version. _Generated with [`xum`](https://github.com/coder/xum) • Model: `anthropic:claude-opus-5-5` • Thinking: `xhigh`_
|
@codex review |
|
@codex security review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3521e853d4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
🛡️ Codex Security ReviewSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
The Issue reproductions overview said every Lua repro runs with `nvim -l`, which contradicts the `repro_issue_238.lua` entry. The overview now says `-l` needs Neovim 0.9 and points to that entry's `:luafile` command. Codex round 1 finding on #371. _Generated with [`xum`](https://github.com/coder/xum) • Model: `anthropic:claude-opus-5-5` • Thinking: `xhigh`_
|
@codex review |
|
@codex security review |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
🛡️ Codex Security ReviewSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
Why
The operator goal is to clear the open follow-up issues in this repository (#362 now) with small reviewed PRs. This PR is a follow-up to #369, which made CI run the #238 reject-on-quit check on Neovim v0.8.0.
The script still had three problems after #369:
scripts/repro_issue_238.luashowsnvim --headless -u NONE -l scripts/repro_issue_238.lua. Neovim 0.8 has no-l, so that command hangs until something kills it.scripts/README.mdlists exits 0 and 1 only. The command CI runs also exits 2 when the script raises an error before its verdict.vim.version()is a plain table with no__tostring, so the script printsNeovim: table: 0x....What changed
scripts/repro_issue_238.lua: the header now shows the CI command,nvim --headless -u NONE -c "luafile scripts/repro_issue_238.lua" -c "cquit 2", and says what exit 2 means. The version line now printsmajor.minor.patchfrom thevim.version()fields.scripts/README.md: therepro_issue_238.luaentry names the CI command and lists exit 2. The Issue reproductions overview says-lneeds Neovim 0.9 and points to that entry.Scope
One script and two README lines. No plugin code, no tests and no workflow change. The integration runner's timeout handling is unchanged: #331 kept exits 124 and 143 non-failing on purpose.
Blast Radius
None for users. The script runs only in CI and by hand. The CI command and its exit codes do not change. On 0.12.3, only the version line differs: it prints
0.12.3where it printed0.12.3+v0.12.3.Verification
I ran the script on the Neovim 0.8.0 release tarball and on 0.12.3, from the repository root, before and after the change.
Neovim: table: 0x776b8d6bc168,FIXED, exit 0Neovim: 0.8.0,FIXED, exit 0-l), undertimeout 20Neovim: 0.12.3+v0.12.3,FIXED, exit 0Neovim: 0.12.3,FIXED, exit 0On both versions, the before and after outputs match line for line except for the
Neovim:line. On 0.8.0, a temp path in Neovim's own file message also differs from run to run. A copy of the script with anerror()injected before the scenarios exits 2 on both versions.mise run checkreports 0 warnings,mise run testreports 802 successes and 0 failures,stylua --checkandprettier --checkpass on the changed files, andtreefmt --cireports 0 changes.Part of #362.
Generated with
xum• Model:anthropic:claude-opus-5-5• Thinking:xhigh