Repository navigation
Description
Problem
emmylua_check 0.23.2 appears to hang in CI on a very small Neovim plugin workspace. It starts analysis, logs a few profile checkpoints, then emits nothing for 10 minutes until GitHub Actions kills the step.
This is on June 5, 2026, against GitHub Actions Ubuntu 24.04 runners.
Version
emmylua_check 0.23.2- runner OS: Ubuntu 24.04
Command
emmylua_check -c .emmyrc.json lua tests --verboseConfig
{
"$schema": "https://raw.githubusercontent.com/EmmyLuaLs/emmylua-analyzer-rust/refs/heads/main/crates/emmylua_code_analysis/resources/schema.json",
"runtime": {
"version": "Lua5.1",
"path": ["lua/?.lua", "lua/?/init.lua"]
},
"workspace": {
"workspaceRoots": ["lua", "tests"],
"library": [
{
"path": "/usr/share/nvim/runtime",
"ignoreDir": ["syntax", "plugin", "pack", "ftplugin"]
},
{
"path": "deps/mini.nvim",
"ignoreDir": ["tests", "benchmarks"]
}
],
"ignoreDir": [".git"]
},
"diagnostics": {
"globals": ["vim"]
},
"hint": {
"paramHint": true,
"localHint": true
}
}Workspace shape
This repo only has two first-party Lua files:
lua/herdr/init.luatests/test_herdr.lua
The CI setup also clones deps/mini.nvim for test support and points the config at the installed Neovim runtime.
What happens
From this Actions job:
https://github.com/kbroomstd/herdr.nvim/actions/runs/27012396593/job/79718938252
The analyzer logs:
- startup/config load succeeds
- workspace file collection succeeds
load files from workspace count: 213- profile checkpoints continue normally through:
analyze workspace lib1: cost 458.304472msdecl analyze: cost 76.252943msdoc analyze: cost 19.943055msflow analyze: cost 22.160025ms
After that there is no further analyzer output for about 10 minutes, then GitHub kills the step:
The action 'run lint' has timed out after 10 minutes.
We also saw the same pattern with a 1 minute timeout in an earlier run:
https://github.com/kbroomstd/herdr.nvim/actions/runs/27011822050/job/79717020647
Why this seems upstream
This does not look like a normal slow lint on our own files:
- startup and early profile phases complete quickly
- the hang happens after the last visible profile line, not during initial file collection
- increasing timeout from 1 minute to 10 minutes did not change behavior, it only delayed the GitHub timeout
I also noticed that the command line passes lua tests even though those roots are already in workspaceRoots, so there may be duplicated roots in collect_files from: [...]. That may add overhead, but it does not explain a full 10-minute stall on this workspace.
Related upstream history
This feels similar to recent "stuck loading" / flow / semantic performance issues:
If useful
I can provide:
- the exact repo commit (
e3ebc6747b46eceb312fec073a4540ea1607192d) - the full job log text
- a reduced repo repro if needed
Activity
CppCXY commentedon Jun 5, 2026
@lewis6991
fix: avoid flow replay for unrelated call conditions
fix: avoid flow replay for unrelated call conditions
lewis6991 commentedon Jun 5, 2026
#1101
ggallovalle commentedon Jun 8, 2026
That did it, thanks here is a successful job run
https://github.com/kbroomstd/herdr.nvim/actions/runs/27147038437