AlinsRan opened a new pull request, #14240: URL: https://github.com/apache/apisix/pull/14240
### Description When a Consumer overrides a plugin from its Consumer Group, the merge selects the Consumer configuration. The second rewrite pass could still skip that configuration because the group had already inserted the plugin name into the intermediate table. Use the effective route's plugin names before the Consumer merge to determine which rewrite handlers to run. Keep this information on the request context for the duration of the second pass. This preserves route-level execution and avoids storing scheduling flags on shared plugin configurations. The regression test uses `proxy-rewrite` to append a header and checks its value across alternating routes. It covers a group-only configuration, a Consumer override, and a route that already ran the same plugin. ### Verification - The standalone YAML Consumer Group, Consumer and credential suites passed (3 files, 32 assertions). - Luacheck passed for both modified Lua files. ### Checklist - [x] I have explained the need for this PR and the problem it solves - [x] I have explained the changes or the new features added to this PR - [x] I have added tests corresponding to this change - [x] I have updated the documentation to reflect this change - [x] I have verified that this change is backward compatible -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
