Skip to content

change: remove lua-resty-worker-events#12930

Merged
Baoyuantop merged 4 commits into
apache:masterfrom
shreemaan-abhishek:chore/remove-dependency-from-one-events-module
Jan 26, 2026
Merged

change: remove lua-resty-worker-events#12930
Baoyuantop merged 4 commits into
apache:masterfrom
shreemaan-abhishek:chore/remove-dependency-from-one-events-module

Conversation

@shreemaan-abhishek

@shreemaan-abhishek shreemaan-abhishek commented Jan 21, 2026

Copy link
Copy Markdown
Contributor

Description

#10550 implemented support for lua-resty-events, it's been long since; so we can remove the old events module lua-resty-worker-events.

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

Signed-off-by: Abhishek Choudhary <[email protected]>
@dosubot dosubot Bot added size:XL This PR changes 500-999 lines, ignoring generated files. tech debt labels Jan 21, 2026
Signed-off-by: Abhishek Choudhary <[email protected]>
Signed-off-by: Abhishek Choudhary <[email protected]>
Signed-off-by: Abhishek Choudhary <[email protected]>
"http_failures": 1
}
local core = require("apisix.core")
local route_config = {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to convert json config to lua table to get rid of this error in CI:

Image

Comment on lines -18 to -22
BEGIN {
if ($ENV{TEST_EVENTS_MODULE} ne "lua-resty-worker-events") {
$SkipReason = "Only for lua-resty-worker-events events module";
}
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why can this test case only run using lua-resty-worker-events?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the deleted test cases have their counterparts that can run under lua-resty-events.

@AlinsRan
AlinsRan requested a review from bzp2010 January 23, 2026 08:24
@Baoyuantop

Copy link
Copy Markdown
Contributor

Should we discuss this change on the mailing list? It appears to be a breaking change.

@nic-6443

Copy link
Copy Markdown
Member

Should we discuss this change on the mailing list? It appears to be a breaking change.

These two modules are fully compatible, and lua-resty-events has been the default for some time now.

@AlinsRan
AlinsRan requested a review from nic-chen January 26, 2026 06:05
@Baoyuantop
Baoyuantop merged commit d89cb86 into apache:master Jan 26, 2026
35 of 39 checks passed
wistefan pushed a commit to wistefan/apisix that referenced this pull request Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL This PR changes 500-999 lines, ignoring generated files. tech debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants