From 55cb36bce43fd044bec05703454dc56259027f34 Mon Sep 17 00:00:00 2001 From: Jun Ouyang Date: Tue, 27 Oct 2026 16:53:14 +0800 Subject: [PATCH 1/2] change: bumped ngx_http_lua_version to 10033. The FFI signature of ngx_http_lua_ffi_balancer_enable_keepalive() changes in openresty/lua-nginx-module#2536 (pool_size). Bumping the version lets lua-resty-core require the matching ngx_lua instead of calling the FFI function with the wrong arguments. --- src/api/ngx_http_lua_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/ngx_http_lua_api.h b/src/api/ngx_http_lua_api.h index fd82bc7044..3ffef1b04d 100644 --- a/src/api/ngx_http_lua_api.h +++ b/src/api/ngx_http_lua_api.h @@ -19,7 +19,7 @@ /* Public API for other Nginx modules */ -#define ngx_http_lua_version 10032 +#define ngx_http_lua_version 10033 #define NGX_HTTP_LUA_EXPORT_CO_CTX_CLEANUP 1 From ec520b646da0cd0eae853cc76dc63062b7b3ad3f Mon Sep 17 00:00:00 2001 From: Jun Ouyang Date: Tue, 27 Oct 2026 16:53:14 +0800 Subject: [PATCH 2/2] tests: TEMPORARY: build CI against the matching lua-resty-core bump. --- .github/workflows/build_and_test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 63ff4d423f..783bc5a96b 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -139,7 +139,8 @@ jobs: git clone --depth=1 https://github.com/openresty/rds-json-nginx-module.git ../rds-json-nginx-module git clone --depth=1 https://github.com/openresty/srcache-nginx-module.git ../srcache-nginx-module git clone --depth=1 https://github.com/openresty/redis2-nginx-module.git ../redis2-nginx-module - git clone --depth=1 https://github.com/openresty/lua-resty-core.git ../lua-resty-core + # TEMPORARY, drop once lua-resty-core requires 10033 on master + git clone --depth=1 -b change/require-ngx-lua-10033 https://github.com/oowl/lua-resty-core.git ../lua-resty-core git clone --depth=1 https://github.com/openresty/lua-resty-lrucache.git ../lua-resty-lrucache git clone --depth=1 https://github.com/openresty/lua-resty-mysql.git ../lua-resty-mysql git clone --depth=1 https://github.com/spacewander/lua-resty-rsa.git ../lua-resty-rsa