Skip to content

fix(ci): pin stylua version and clear luacheck warnings - #1

Closed
StefanBartl wants to merge 1 commit into
mainfrom
claude/nervous-bohr-1f1b7a
Closed

fix(ci): pin stylua version and clear luacheck warnings#1
StefanBartl wants to merge 1 commit into
mainfrom
claude/nervous-bohr-1f1b7a

Conversation

@StefanBartl

Copy link
Copy Markdown
Owner

Summary

  • CI (stylua + luacheck) has been failing on every push to main since at least 2026-08-01, unrelated to feature work
  • Pin stylua to v2.5.2 (matches what "latest" currently resolves to) instead of tracking "latest", and reformat the repo to match
  • Fix the four outstanding luacheck warnings (shadowed locals, one unused variable)

Test plan

  • luacheck lua docs/TESTS → 0 warnings / 0 errors locally
  • stylua --check . → clean locally
  • nvim --headless -u NONE -l docs/TESTS/run.lua → LIB_TESTS_OK
  • CI green on this PR

🤖 Generated with Claude Code

Both CI jobs had been red on every push since at least 2026-08-01,
unrelated to any feature work. stylua's "latest" had drifted past what
the repo was last formatted against, and luacheck fails on any warning
(not just errors) with none being addressed.

Pin stylua to v2.5.2 (what "latest" currently resolves to) and run
`stylua --write .` to match, and fix the four outstanding luacheck
warnings: an upvalue shadow in telemetry/init.lua, two shadowed `msgs`
locals in composer_spec.lua, and an unused `uv` in lock_spec.lua.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@StefanBartl

Copy link
Copy Markdown
Owner Author

Merging directly to main instead.

@StefanBartl StefanBartl closed this Aug 3, 2026
@StefanBartl
StefanBartl deleted the claude/nervous-bohr-1f1b7a branch August 3, 2026 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant