Skip to content

emmylua_check 0.23.2 hangs in GitHub Actions on small Neovim plugin workspace #1100

Closed

Description

@ggallovalle

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 --verbose

Config

{
  "$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.lua
  • tests/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.304472ms
    • decl analyze: cost 76.252943ms
    • doc analyze: cost 19.943055ms
    • flow 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

  1. CppCXY commented on Jun 5, 2026

    @CppCXY
    Member
  2. added 2 commits that reference this issue on Jun 5, 2026
    a264361
    7c96abd
  3. lewis6991 commented on Jun 5, 2026

    @lewis6991
    Collaborator
  4. ggallovalle commented on Jun 8, 2026

    @ggallovalle
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions