Skip to content

test(ci): exercise OpenResty LuaJIT in Lua matrix#87

Merged
membphis merged 2 commits into
mainfrom
codex/issue-83-openresty-luajit-ci
May 30, 2026
Merged

test(ci): exercise OpenResty LuaJIT in Lua matrix#87
membphis merged 2 commits into
mainfrom
codex/issue-83-openresty-luajit-ci

Conversation

@membphis
Copy link
Copy Markdown
Collaborator

Summary

  • Refactor the lua CI job into an upstream LuaJIT / OpenResty LuaJIT matrix.
  • Install LuaJIT with leafo/gh-actions-lua, install busted and lua-cjson with LuaRocks, and run tests/lua with LD_LIBRARY_PATH pointed at the release cdylib.
  • Keep LuaRocks package validation on the upstream LuaJIT dimension and note the CI coverage change in the changelog.

Closes #83

Test Plan

  • /tmp/lua-qjson-actionlint-bin/actionlint .github/workflows/ci.yml
  • eval "$(luarocks --lua-version=5.1 path)" && export PATH="$HOME/.luarocks/bin:$PATH" && export LUA_CPATH="./target/release/lib?.dylib;./target/release/?.dylib;./target/release/lib?.so;./target/release/?.so;$LUA_CPATH" && make build && LD_LIBRARY_PATH=./target/release DYLD_LIBRARY_PATH=./target/release busted --lua=$(command -v luajit) tests/lua --lpath='./lua/?.lua'
  • make lint

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 30, 2026

Warning

Review limit reached

@membphis, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 11 minutes and 51 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 353a7542-29be-42fd-9e91-4ca1265d75c4

📥 Commits

Reviewing files that changed from the base of the PR and between 074ff2b and e20da10.

📒 Files selected for processing (2)
  • .github/workflows/ci.yml
  • CHANGELOG.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/issue-83-openresty-luajit-ci

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@membphis membphis merged commit 953b671 into main May 30, 2026
10 checks passed
@membphis membphis deleted the codex/issue-83-openresty-luajit-ci branch May 30, 2026 06:47
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.

test(ci): exercise OpenResty LuaJIT in the Lua test matrix

1 participant