| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
chore(lint): fix some helpers-outside-of-setup warnings (#14410) This reduces the number of warnings reported by the 'helpers-outside-of-setup' ast-grep lint rule. The lint rule itself had some false positives. I've updated it to remove those. In order to keep the changes easy to review, I've limited fixes to cases that only require trivial edits--essentially just moving the offending function calls into a `setup()`/`lazy_setup()` scope. There are several files that require a little more refactoring to fix, so I've left them alone for now. I'll address them in a follow-up PR, at which point this lint rule could be converted from a warning to an error. ``` spec/02-integration/04-admin_api/21-admin-api-keys_spec.lua spec/02-integration/05-proxy/10-balancer/02-least-connections_spec.lua spec/02-integration/05-proxy/10-balancer/02-least-connections_spec.lua spec/02-integration/05-proxy/10-balancer/07-latency_spec.lua spec/02-integration/05-proxy/10-balancer/07-latency_spec.lua spec/02-integration/08-status_api/05-dns_client_spec.lua spec/02-integration/09-hybrid_mode/01-sync_spec.lua spec/03-plugins/23-rate-limiting/04-access_spec.lua spec/03-plugins/26-prometheus/04-status_api_spec.lua spec/03-plugins/26-prometheus/04-status_api_spec.lua spec/03-plugins/26-prometheus/04-status_api_spec.lua spec/03-plugins/39-ai-request-transformer/01-transformer_spec.lua ``` ``` $ ast-grep scan --filter helpers-outside-of-setup | grep -c '^warning' 60 ``` ``` ast-grep scan --filter helpers-outside-of-setup | grep -c '^warning' 12 ``` | 1 年前 | |
tests(coverage): add coverage for integration tests (#10825) * tests(coverage): coverage for integration tests * luacov is enabled via nginx templates for integration tests * keep going on failure * stats files are stored using timestamps instead of indexes * aggregator script uses lfs to parse all luacov.stats.out files * tests(coverage): timeouts set larger timeouts while doing test coverage runs * tests(coverage): disable schedule disable schedule on CE: coverage fails due to github runners limitations * tests(coverage): use github ids to name artifacts | 3 年前 | |
chore(build): remove ngx_wasm_module from default builds (#14347) | 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 3 年前 | ||
| 1 年前 |