kong/spec/02-integration/05-proxy/10-balancer/01-healthchecks_spec.lua (16 lines): - line 696: -- FIXME for some reason this test fails only on CI - line 765: -- TODO /upstreams does not understand shortened IPv6 addresses - line 951: -- TODO produce an equivalent test when upstreams are preserved - line 1011: -- TODO produce an equivalent test when upstreams are preserved - line 1013: -- FIXME when using eventual consistency sometimes it takes a long - line 1157: -- FIXME it seems this tests are actually failing - line 1551: -- TODO this test is marked as flaky because add_upstream fails - line 1656: -- FIXME this test is flaky in CI only - line 1776: -- FIXME this test is flaky in CI only - line 1975: -- FIXME this test may be reporting a real failure - line 2101: -- TODO /upstreams does not understand shortened IPv6 addresses - line 2167: -- TODO /upstreams does not understand shortened IPv6 addresses - line 2184: -- TODO /upstreams does not understand shortened IPv6 addresses - line 2338: -- TODO enable this test when upstreams are preserved (not rebuild) - line 2340: -- TODO marked as flaky as it fails only in CI - line 2560: -- FIXME this test fails on CI but should be ok kong/spec/01-unit/01-db/01-schema/01-schema_spec.lua (13 lines): - line 2845: assert.same({"", "a", ""}, data.arr) -- array, TODO: should we remove empty strings from arrays? - line 2846: assert.same({"", "a" }, data.set) -- set, TODO: should we remove empty strings from sets? - line 2847: assert.same({ key = "" }, data.map) -- map, TODO: should we remove empty strings from maps? - line 2852: assert.same({"", "a", ""}, data.rec.arr) -- array, TODO: should we remove empty strings from arrays? - line 2853: assert.same({"", "a" }, data.rec.set) -- set, TODO: should we remove empty strings from sets? - line 2854: assert.same({ key = "" }, data.rec.map) -- map, TODO: should we remove empty strings from maps? - line 2890: assert.same({"", "a", ""}, data.arr) -- array, TODO: should we set null empty strings from arrays? - line 2891: assert.same({"", "a" }, data.set) -- set, TODO: should we set null empty strings from sets? - line 2892: assert.same({ key = "" }, data.map) -- map, TODO: should we set null empty strings from maps? - line 2897: assert.same({"", "a", ""}, data.rec.arr) -- array, TODO: should we set null empty strings from arrays? - line 2898: assert.same({"", "a" }, data.rec.set) -- set, TODO: should we set null empty strings from sets? - line 2899: assert.same({ key = "" }, data.rec.map) -- map, TODO: should we set null empty strings from maps? - line 3205: -- TODO is this behavior correct? kong/spec/02-integration/03-db/01-db_spec.lua (12 lines): - line 291: --TODO: cassandra forces luasocket on timer - line 317: --TODO: cassandra forces luasocket on timer - line 347: --TODO: cassandra forces luasocket on timer - line 377: --TODO: cassandra forces luasocket on timer - line 478: --TODO: cassandra forces luasocket on timer - line 505: --TODO: cassandra forces luasocket on timer - line 538: --TODO: cassandra forces luasocket on timer - line 570: --TODO: cassandra forces luasocket on timer - line 709: --TODO: cassandra forces luasocket on timer - line 735: --TODO: cassandra forces luasocket on timer - line 766: --TODO: cassandra forces luasocket on timer - line 796: --TODO: cassandra forces luasocket on timer kong/spec/02-integration/03-db/02-db_core_entities_spec.lua (6 lines): - line 608: --TODO: enable when implemented - line 655: -- TODO: enable when done - line 977: -- TODO: the uuid type is `auto` for now, so cannot be overidden for - line 1090: --TODO: enable when done - line 1129: --TODO: enable when it works again - line 1441: -- TODO: the uuid type is `auto` for now, so cannot be overidden for kong/kong/db/strategies/cassandra/init.lua (5 lines): - line 1159: -- TODO: send one query using IN - line 1161: -- TODO: pk name id is hardcoded - line 1175: -- TODO: if we don't sort, we can have a performance guidance to user - line 1254: -- TODO: cache me - line 1259: -- TODO: cache me kong/spec/02-integration/04-admin_api/19-vaults_spec.lua (5 lines): - line 86: -- TODO: `unique_across_ws=true` doesn't seem to work with Cassandra - line 150: -- TODO: `unique_across_ws=true` doesn't seem to work with Cassandra - line 188: -- TODO: `unique_across_ws=true` doesn't seem to work with Cassandra - line 225: -- TODO: `unique_across_ws=true` doesn't seem to work with Cassandra - line 267: -- TODO: `unique_across_ws=true` doesn't seem to work with Cassandra kong/kong/plugins/proxy-cache/handler.lua (5 lines): - line 122: -- TODO refactor these searches to O(1) - line 139: -- TODO note that no-cache isnt quite accurate here - line 150: -- TODO refactor these searches to O(1) - line 289: if err == "request object not in cache" then -- TODO make this a utils enum err - line 388: -- TODO handle Vary header kong/kong/plugins/acme/client.lua (4 lines): - line 94: -- TODO: populate new account? - line 107: -- TODO: let acme accept initlizaed storage table alternatively - line 141: -- FIXME: this might block worker for several seconds in some virtualization env - line 257: -- TODO: wait longer? kong/kong/runloop/handler.lua (4 lines): - line 314: -- TODO: this should not be needed as the schema should check it already - line 761: -- TODO: we should perhaps only purge the configuration related cache. - line 778: -- TODO: balancer is a big blob of global state and you cannot easily - line 1083: -- TODO: PR #9337 may affect the following line kong/spec/01-unit/09-balancer/04-round_robin_spec.lua (4 lines): - line 1226: -- FIXME: this test depends on wheel sorting, which is not good - line 1276: -- FIXME: this test depends on wheel sorting, which is not good - line 1483: --assert.equal(0, toip_count) -- TODO: must it be 0? - line 1489: -- FIXME: this test depends on wheel sorting, which is not good kong/kong/plugins/grpc-gateway/deco.lua (3 lines): - line 126: -- TODO: memoize - line 222: -- TODO: do we allow http parameter when body is not *? - line 254: -- TODO primitive type checking kong/spec/02-integration/04-admin_api/18-worker-events.lua (3 lines): - line 110: -- TODO: it should really be 201, but Kong's PUT has always been 200, - line 160: -- TODO: it should really be 201, but Kong's PUT has always been 200, - line 210: -- TODO: it should really be 201, but Kong's PUT has always been 200, kong/spec/02-integration/03-db/08-declarative_spec.lua (3 lines): - line 156: --[[ FIXME this case is known to cause an issue - line 394: --[[ FIXME this case is known to cause an issue - line 505: --[[ FIXME this case is known to cause an issue deploy-templates/templates/_helpers.tpl (3 lines): - line 162: {{- if .Values.admin.containerPort -}} {{/* TODO: Remove legacy admin behavior */}} - line 495: TODO: remove legacy admin listen behavior at a future date - line 562: {{- if .Values.enterprise.portal.portal_auth }} {{/* TODO: deprecated, remove in a future version */}} kong/kong/pdk/service/request.lua (2 lines): - line 72: -- TODO these constants should be shared with kong.request - line 455: -- TODO Can we get the body size limit configured for Kong and check for kong/kong/plugins/opentelemetry/schema.lua (2 lines): - line 25: -- TODO: support [string, number, boolean] - line 37: { protocols = typedefs.protocols_http }, -- TODO: support stream mode kong/kong/db/strategies/cassandra/connector.lua (2 lines): - line 29: -- TODO: replace fallback logic with lua-resty-socket once it supports - line 485: -- TODO: prepare queries kong/kong/clustering/control_plane.lua (2 lines): - line 329: sync_status = sync_status, -- TODO: import may have been failed though - line 516: --TODO: should we update disconnect data plane status? kong/spec/02-integration/13-vaults/01-vault_spec.lua (2 lines): - line 103: -- TODO: this is unexpected but schema.process_auto_fields uses currently - line 156: -- TODO: this is unexpected but schema.process_auto_fields uses currently kong/kong/clustering/utils.lua (2 lines): - line 315: -- TODO: DAOs are not checked in any way at the moment. For example if plugin introduces a new DAO in - line 364: -- TODO: pick one random CP kong/spec/helpers/perf/drivers/docker.lua (2 lines): - line 130: ngx.sleep(3) -- TODO: less flaky - line 259: ngx.sleep(3) -- TODO: less flaky kong/spec/03-plugins/24-response-rate-limiting/04-access_spec.lua (2 lines): - line 770: -- FIXME this leaves the database in a bad state after this test, - line 793: -- FIXME this leaves the database in a bad state after this test, kong/kong/db/schema/entities/routes.lua (2 lines): - line 30: default = { "http", "https" }, -- TODO: different default depending on service's scheme - line 88: default = { "http", "https" }, -- TODO: different default depending on service's scheme kong/kong/db/schema/init.lua (2 lines): - line 919: -- TODO return nested table or string? - line 1265: -- TODO hopefully deprecate this function. kong/kong/conf_loader/init.lua (2 lines): - line 1537: -- TODO: Deprecated, but kept for backward compatibility. - line 1591: -- TODO: allow plugins to declare shm dependencies that are automatically deploy-templates/templates/ingress-admin.yaml (1 line): - line 3: {{- if .Values.admin.containerPort -}} {{/* TODO: remove legacy admin handling */}} kong/kong/clustering/services/negotiation.lua (1 line): - line 270: -- TODO: use event to notify other workers deploy-templates/templates/deployment.yaml (1 line): - line 97: {{/* TODO: remove legacy admin port template */}} kong/kong/plugins/statsd/log.lua (1 line): - line 256: -- TODO: this follows the pattern used by kong/spec/fixtures/balancer_utils.lua (1 line): - line 442: -- TODO: find out what's wrong with router invalidation in the particular kong/kong/clustering/wrpc_control_plane.lua (1 line): - line 258: sync_status = self.sync_status, -- TODO: import may have been failed though kong/kong/plugins/ldap-auth/access.lua (1 line): - line 208: -- TODO: provide migration to capitalize older configurations kong/spec/03-plugins/26-prometheus/02-access_spec.lua (1 line): - line 292: -- TODO: uncomment below once the ngx.shared iterrator in stream is fixed kong/kong/init.lua (1 line): - line 789: -- TODO: do we want to keep connection context? kong/scripts/changelog-helper.lua (1 line): - line 161: -- FIXME find a more appropriate pr from the list in pr_res. Perhaps using to_ref ? kong/kong/db/schema/others/declarative_config.lua (1 line): - line 437: -- FIXME support building cache_keys with fk's whose pk is not id kong/spec/02-integration/05-proxy/24-buffered_spec.lua (1 line): - line 11: -- TODO: http2 / grpc does not currently work with kong/spec/02-integration/05-proxy/23-context_spec.lua (1 line): - line 188: -- TODO: we need to get rid of the next line! kong/spec/helpers/perf.lua (1 line): - line 102: -- TODO: use an org token kong/spec/02-integration/02-cmd/02-start_stop_spec.lua (1 line): - line 251: -- TODO: update with new error messages and behavior kong/spec/helpers/perf/drivers/terraform.lua (1 line): - line 61: "-o IdentityFile=" .. self.work_dir .. "/id_rsa " .. -- TODO: no hardcode kong/spec/03-plugins/26-prometheus/04-status_api_spec.lua (1 line): - line 425: -- TODO: uncomment below once the ngx.shared iterrator in stream is fixed kong/t/01-pdk/07-service-response/05-get_body.t (1 line): - line 17: -- TODO: implement kong/kong/db/migrations/core/000_base.lua (1 line): - line 230: -- TODO: delete on 1.0.0 migrations kong/kong/db/schema/typedefs.lua (1 line): - line 281: -- TODO: this seems to allow ipv4s too, should it? deploy-templates/ci/test4-values.yaml (1 line): - line 2: # TODO: remove legacy admin listen behavior at a future date kong/kong/plugins/oauth2/daos.lua (1 line): - line 77: { code = { type = "string", required = false, unique = true, auto = true }, }, -- FIXME immutable kong/spec/02-integration/05-proxy/10-balancer/05-stress.lua (1 line): - line 115: -- FIXME some failures are still happening, kong/autodoc/admin-api/openapi-gen.lua (1 line): - line 267: if entity.name then -- TODO: treat special case "routes_subschemas" kong/kong/pdk/vault.lua (1 line): - line 151: -- TODO: do we need to clear cache first? kong/t/01-pdk/08-response/10-set_body.t (1 line): - line 17: -- TODO: implement kong/autodoc/admin-api/data/admin-api.lua (1 line): - line 22: "kong/api/routes/cache.lua", -- FIXME should we document this? kong/kong/runloop/balancer/init.lua (1 line): - line 286: balancer_data.port = balancer_data.port or 80 -- TODO: remove this fallback value kong/spec/helpers.lua (1 line): - line 1553: -- TODO: this code is duplicated all over the codebase, kong/kong/pdk/tracing.lua (1 line): - line 351: -- TODO: implement baggage API kong/t/01-pdk/07-service-response/04-get_raw_body.t (1 line): - line 17: -- TODO: implement kong/spec/02-integration/03-db/10-db_unique_foreign_spec.lua (1 line): - line 241: -- TODO: this is slightly unexpected, but it has its uses when thinking about idempotency kong/spec/02-integration/02-cmd/11-config_spec.lua (1 line): - line 158: -- this actually sends data to the telemetry endpoint. TODO: how to avoid that? kong/kong/plugins/oidc/utils.lua (1 line): - line 30: -- TODO Handle JSON parsing errors kong/kong/plugins/acme/handler.lua (1 line): - line 206: -- TODO: race condition creating account? kong/spec/02-integration/05-proxy/14-server_tokens_spec.lua (1 line): - line 512: -- TODO: currently we don't handle errors from plugins on header_filter or body_filter. kong/spec/02-integration/06-invalidations/02-core_entities_invalidations_spec.lua (1 line): - line 474: -- TODO: PATCH update are currently not possible kong/spec/02-integration/04-admin_api/15-off_spec.lua (1 line): - line 1115: -- TODO: figure out how to mock LMDB in busted kong/kong/tracing/instrumentation.lua (1 line): - line 328: -- TODO: support stream module kong/kong/api/routes/health.lua (1 line): - line 56: -- TODO: no way to bypass connection pool deploy-templates/templates/service-kong-admin.yaml (1 line): - line 2: {{- if .Values.admin.containerPort -}} {{/* TODO: remove legacy admin handling */}} kong/kong/plugins/grpc-web/deco.lua (1 line): - line 76: -- TODO: memoize kong/kong/plugins/jwt/handler.lua (1 line): - line 115: kong.ctx.shared.authenticated_jwt_token = token -- TODO: wrap in a PDK function? kong/kong/runloop/balancer/balancers.lua (1 line): - line 118: local opts = {} -- TODO: see if we should use config or something kong/kong/db/dao/init.lua (1 line): - line 1476: value = value.id -- FIXME extract foreign key, do not assume `id` kong/kong/plugins/grpc-gateway/handler.lua (1 line): - line 32: ["Access-Control-Allow-Headers"] = "content-type", -- TODO: more headers? kong/spec/02-integration/04-admin_api/08-targets_routes_spec.lua (1 line): - line 456: -- FIXME this test is flaky in CI only kong/kong/plugins/zipkin/reporter.lua (1 line): - line 118: -- TODO: on failure, retry? kong/kong/tools/wrpc/proto.lua (1 line): - line 26: ---@TODO: better way to do this kong/kong/pdk/request.lua (1 line): - line 784: -- TODO: should we also compare content_length to client_body_buffer_size here? kong/kong/db/init.lua (1 line): - line 52: -- TODO: support schemas from plugins entities as well. kong/kong/global.lua (1 line): - line 1: -- TODO: get rid of 'kong.meta'; this module is king