High-performance proxy for MySQL and PostgreSQL
This report summarizes scanner evidence for sysown/proxysql, a C++ project with 6,936 GitHub stars. SynthScan examined 868,702 lines of code across 2743 source files, recording 2682 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 4.1 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 2333 finding(s).
Are imports declared and package/API names verified? 90 finding(s).
Are wrappers, guards, and repeated structures necessary? 667 finding(s).
Which changes need focused human review? 2682 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 2682 distinct pattern matches across 22 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | codecov.yml | 1 | # Codecov configuration for ProxySQL. | COMMENT |
| LOW | .aider.conf.yml | 1 | ########################################################## | COMMENT |
| LOW | .aider.conf.yml | 21 | #model: xxx | COMMENT |
| LOW | .aider.conf.yml | 41 | COMMENT | |
| LOW | .aider.conf.yml | 61 | COMMENT | |
| LOW | .aider.conf.yml | 81 | #weak-model: xxx | COMMENT |
| LOW | .aider.conf.yml | 101 | ## Enable caching of prompts (default: False) | COMMENT |
| LOW | .aider.conf.yml | 121 | COMMENT | |
| LOW | .aider.conf.yml | 141 | #light-mode: false | COMMENT |
| LOW | .aider.conf.yml | 161 | ## Set the color for assistant output (default: #0088ff) | COMMENT |
| LOW | .aider.conf.yml | 181 | COMMENT | |
| LOW | .aider.conf.yml | 201 | #auto-commits: true | COMMENT |
| LOW | .aider.conf.yml | 221 | ## Enable/disable git pre-commit hooks with --no-verify (default: False) | COMMENT |
| LOW | .aider.conf.yml | 241 | COMMENT | |
| LOW | .aider.conf.yml | 261 | COMMENT | |
| LOW | .aider.conf.yml | 281 | #analytics-posthog-project-api-key: xxx | COMMENT |
| LOW | .aider.conf.yml | 301 | ## Show the version number and exit | COMMENT |
| LOW | .aider.conf.yml | 321 | COMMENT | |
| LOW | .aider.conf.yml | 341 | #voice-language: en | COMMENT |
| LOW | .aider.conf.yml | 361 | #read: xxx | COMMENT |
| LOW | .aider.conf.yml | 381 | #verbose: false | COMMENT |
| LOW | .aider.conf.yml | 401 | ## Enable/disable fancy input with history and completion (default: True) | COMMENT |
| LOW | .aider.conf.yml | 421 | COMMENT | |
| LOW | .aider.conf.yml | 441 | #mini: false | COMMENT |
| LOW | tools/eventslog_reader_sample.cpp | 1 | #include <iostream> | COMMENT |
| LOW | …ages/proxysql/deb-compliant/entrypoint/entrypoint.bash | 41 | build_target="$PROXYSQL_BUILD_TYPE" | COMMENT |
| LOW | …ages/proxysql/deb-compliant/entrypoint/entrypoint.bash | 121 | ' ./proxysql.ctl > ./proxysql.ctl.new && mv ./proxysql.ctl.new ./proxysql.ctl | COMMENT |
| LOW | test/sqlite_history_convert.cpp | 1 | #include <pthread.h> | COMMENT |
| LOW | …infra-dbdeployer-mariadb10-binlog/docker/entrypoint.sh | 21 | TLS_CERT="${TLS_DIR}/server-cert.pem" | COMMENT |
| LOW | …fra-dbdeployer-pgsql17-repl/bin/toxiproxy-bootstrap.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …fra-dbdeployer-pgsql17-repl/bin/docker-proxy-post.bash | 1 | #!/bin/bash | COMMENT |
| LOW | …fra-dbdeployer-pgsql17-repl/bin/docker-proxy-post.bash | 41 | done | COMMENT |
| LOW | test/infra/common/env.sh | 1 | #!/bin/bash | COMMENT |
| LOW | test/infra/common/env.sh | 141 | # e.g.: "basic-t admin_various_.* reg_test_3[5-7]\d\d-.*" | COMMENT |
| LOW | test/infra/control/run-tests-isolated.bash | 1 | #!/bin/bash | COMMENT |
| LOW | test/infra/control/run-tests-isolated.bash | 261 | GROUP_TEST_COUNT="$(printf '%s\n' "${TEST_SELECTION}" | sed -n '1s/^#STATS total=\([0-9]*\) excluded=\([0-9]*\)$/\1/ | COMMENT |
| LOW | test/infra/control/run-tests-isolated.bash | 381 | # ci-builds.yml explicitly deletes test/deps/ from the cached workspace after | COMMENT |
| LOW | test/infra/control/run-tests-isolated.bash | 461 | set -e | COMMENT |
| LOW | test/infra/control/run-tests-isolated.bash | 501 | if [ -d \"/gcov\" ] && [ \"\$(ls -A /gcov 2>/dev/null)\" ]; then | COMMENT |
| LOW | test/infra/control/run-tests-isolated.bash | 561 | -d . -o \"\${coverage_file}\" >> \"\${coverage_log}\" 2>&1 | COMMENT |
| LOW | test/infra/control/destroy-multi-group.bash | 1 | #!/bin/bash | COMMENT |
| LOW | test/infra/control/start-proxysql-isolated.bash | 61 | echo ">>> Preparing ProxySQL data directory: ${PROXY_DATA_DIR}" | COMMENT |
| LOW | test/infra/control/start-proxysql-isolated.bash | 201 | echo ">>> Mounting duckdb plugin .so into ProxySQL container" | COMMENT |
| LOW | test/infra/control/validate_fork_pr_builds.py | 41 | # CI-builds-fork.yml. Refresh this together with that pin. It was four | COMMENT |
| LOW | test/infra/control/validate_fork_pr_builds.py | 321 | builds = reusable.get("jobs", {}).get("builds") | COMMENT |
| LOW | test/infra/control/check_all_nodes.bash | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/infra/control/run-multi-group.bash | 1 | #!/bin/bash | COMMENT |
| LOW | test/infra/control/verify-package-install.bash | 1 | #!/bin/bash | COMMENT |
| LOW | test/infra/control/run-unit-tests-asan-coverage.bash | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/infra/control/run-unit-tests-asan-coverage.bash | 21 | # * lib/, src/, and test/tap/tests/unit/ have been built with | COMMENT |
| LOW | test/infra/control/run-unit-tests-asan-coverage.bash | 61 | COMMENT | |
| LOW | …infra/docker-pgsql16-single/bin/docker-pgsql-post.bash | 1 | #!/bin/bash | COMMENT |
| LOW | test/afl_digest_test/afl_mysql_query_digest.cpp | 1 | #pragma GCC optimize("O0") | COMMENT |
| LOW | test/afl_digest_test/c_tokenizer.cpp | 1241 | // generic space removal operations | COMMENT |
| LOW | test/afl_digest_test/c_tokenizer.cpp | 1361 | * @param shared_st Shared state used to continue the query processing. | COMMENT |
| LOW | test/afl_digest_test/c_tokenizer.cpp | 1481 | * @param stage_3_st The state from previous execution of 'stage 2' to be updated. | COMMENT |
| LOW | test/afl_digest_test/c_tokenizer.cpp | 1501 | // | COMMENT |
| LOW | test/afl_digest_test/c_tokenizer.cpp | 1741 | COMMENT | |
| LOW | test/afl_digest_test/c_tokenizer.cpp | 1881 | // Since literal number processing requires the copy of the literal into the output buffer, processing | COMMENT |
| LOW | test/afl_digest_test/c_tokenizer.cpp | 1901 | } | COMMENT |
| 1370 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …infra-dbdeployer-mariadb10-binlog/docker/entrypoint.sh | 24 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …infra-dbdeployer-mariadb10-binlog/docker/entrypoint.sh | 36 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 15 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 17 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 25 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 29 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 49 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 53 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 87 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 89 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 102 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 106 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 126 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 130 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 166 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 169 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 184 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …fra/infra-dbdeployer-pgsql17-repl/docker/entrypoint.sh | 186 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_shun_test.sh | 58 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_shun_test.sh | 69 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_shun_test.sh | 86 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/repl/proxysql_repl_tests/exec_shun_test.sh | 98 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/repl/proxysql_repl_tests/exec_shun_test.sh | 104 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/repl/proxysql_repl_tests/exec_shun_test.sh | 110 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_shun_test.sh | 170 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_shun_test.sh | 187 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_shun_test.sh | 207 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_repl_test.sh | 65 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_repl_test.sh | 76 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_repl_test.sh | 93 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_repl_test.sh | 105 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_repl_test.sh | 122 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_repl_test.sh | 143 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_repl_test.sh | 206 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_repl_test.sh | 222 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_repl_test.sh | 238 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/stress_repl_test.sh | 65 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/stress_repl_test.sh | 76 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/stress_repl_test.sh | 93 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/stress_repl_test.sh | 105 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/stress_repl_test.sh | 122 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/stress_repl_test.sh | 142 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/stress_repl_test.sh | 205 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/stress_repl_test.sh | 221 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/stress_repl_test.sh | 237 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/stress_all_repl_tests.sh | 30 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/exec_all_repl_tests.sh | 30 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/repl/proxysql_repl_tests/bin/debezium-check.bash | 9 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/test_external_live.sh | 16 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | scripts/test_external_live.sh | 18 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/test_external_live.sh | 61 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/test_external_live.sh | 63 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/test_external_live.sh | 92 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/test_external_live.sh | 94 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/test_external_live.sh | 151 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/test_external_live.sh | 153 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 40 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 42 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 97 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 99 | # ============================================================================ | COMMENT |
| 79 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 406 | def _validate_snapshot_username(username: str) -> None: | CODE |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 904 | def test_requirements_pin_supported_driver_majors(self): | CODE |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 909 | def test_tap_assets_have_a_build_dependency_and_clean_output(self): | CODE |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 918 | def test_tap_wrappers_do_not_install_dependencies_or_require_staging_locally(self): | CODE |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 858 | def test_source_function_has_security_boundaries(self): | CODE |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 878 | def test_source_function_requires_runtime_reader_secret_and_current_database(self): | CODE |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 886 | def test_example_configuration_is_loadable_with_protected_permissions(self): | CODE |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 930 | def test_readme_documents_scheduler_and_cluster_safety(self): | CODE |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 108 | def test_rejects_world_readable_config(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 113 | def test_rejects_symlinked_config_before_reading_target(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 121 | def test_group_read_requires_root_owner_and_owner_only_is_allowed(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 409 | def test_missing_action_is_configurable(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 418 | def test_aborts_for_unmanaged_main_runtime_drift(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 425 | def test_unmanaged_conflict_requires_adoption(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 437 | def test_cross_profile_conflict_aborts(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 444 | def test_duplicate_admin_rows_are_rejected(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 452 | def test_ownership_helpers_validate_and_normalize(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 466 | def test_unchanged_rows_need_no_action_or_load(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 474 | def test_managed_runtime_drift_requires_load(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 482 | def test_inactive_main_row_is_expected_absent_from_runtime(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 488 | def test_runtime_backend_half_with_frontend_disabled_is_not_drift(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 497 | def test_unmanaged_runtime_backend_half_with_frontend_disabled_is_not_drift(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 740 | def test_source_failure_is_secret_safe(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 748 | def test_dry_run_does_not_write_load_or_save(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 758 | def test_write_failure_never_loads_runtime(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 766 | def test_loads_on_actions_and_saves_only_after_load(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 774 | def test_loads_runtime_drift_without_actions(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 783 | def test_runtime_backend_half_skips_load_on_a_repeated_run(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 793 | def test_save_failure_reports_partial_after_successful_load(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 802 | def test_exclusive_lock_reports_contention(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 811 | def test_exclusive_lock_rejects_symlinked_target(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 821 | def test_summary_has_non_negative_duration(self): | STRING |
| LOW⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 829 | def test_partial_summary_returns_nonzero_after_printing(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 61 | def test_defaults_and_cli_hostgroup_override(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 71 | def test_cli_overrides_take_precedence(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 143 | def test_config_owner_must_be_root_or_the_service_user(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 168 | def test_fdopen_failure_does_not_close_a_transferred_descriptor(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 181 | def test_rejects_group_write_even_when_root_owned(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 188 | def test_rejects_invalid_profile_and_function(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 228 | def test_rejects_each_invalid_configuration_value(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 274 | def test_parse_args_supports_overrides(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 316 | def test_rejects_invalid_verifiers_without_leaking_value(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 330 | def test_rejects_duplicate_without_leaking_verifier(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 336 | def test_empty_snapshot_requires_opt_in(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 375 | def test_create_uses_configured_hostgroup(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 388 | def test_managed_update_changes_only_password_active_and_ownership(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 577 | def test_source_composes_schema_and_function_as_identifiers(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 591 | def test_admin_fetches_exact_projection_from_both_tables(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 607 | def test_admin_normalizes_integer_fields_returned_as_postgresql_text(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 623 | def test_admin_update_uses_bound_parameters(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 632 | def test_admin_create_and_disable_use_explicit_columns_and_bound_keys(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 647 | def test_admin_runtime_commands_use_postgresql_users(self): | STRING |
| LOW | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 656 | def test_drivers_are_imported_only_when_default_connectors_are_used(self): | STRING |
| LOW | test/infra/control/test_maketest_schedule.py | 19 | def test_only_nightly_and_manual_triggers(self): | CODE |
| LOW | test/infra/control/test_maketest_schedule.py | 27 | def test_builds_are_independent_of_the_pr_producer(self): | CODE |
| LOW | test/infra/control/test_maketest_schedule.py | 41 | def test_container_build_accepts_runner_owned_checkout(self): | CODE |
| LOW | test/infra/control/test_maketest_schedule.py | 71 | def test_build_exit_status_logs_and_cleanup(self): | CODE |
| LOW | test/infra/control/test_unit_runner_timeout.py | 71 | def test_timeout_kills_term_resistant_process_group_and_continues(self): | CODE |
| LOW | test/infra/control/test_unit_runner_timeout.py | 89 | def test_timeout_kills_descendant_after_parent_accepts_term_and_continues(self): | CODE |
| LOW | test/infra/control/test_unit_runner_timeout.py | 120 | def test_zero_exit_sanitizer_report_is_failure(self): | CODE |
| 348 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/infra/README.md | 76 | ### Step 1: Global Setup | COMMENT |
| LOW⚡ | test/infra/README.md | 92 | ### Step 2: Start ProxySQL & Backends | COMMENT |
| LOW⚡ | test/infra/README.md | 99 | ### Step 3: Run TAP Tests | COMMENT |
| LOW⚡ | test/infra/README.md | 106 | ### Step 4: Teardown | COMMENT |
| LOW | test/infra/SKILL.md | 29 | ### Step 1: Environment Setup | COMMENT |
| LOW | test/infra/SKILL.md | 43 | ### Step 2: Start Infrastructure | COMMENT |
| LOW | test/infra/SKILL.md | 56 | ### Step 3: Start ProxySQL | COMMENT |
| LOW | test/infra/SKILL.md | 68 | ### Step 4: Configure ProxySQL Backend | COMMENT |
| LOW | test/infra/SKILL.md | 82 | ### Step 5: Run Tests | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1291 | // Step 1: Simple query BEGIN - verify it succeeded | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1301 | // Step 2: Enter pipeline mode and SET | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1430 | // Step 2: Simple query SET | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1433 | // Step 3: Re-enter pipeline mode and COMMIT | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2894 | // Step 1: Set a variable to create marker state | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2899 | // Step 2: Enter pipeline mode | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2905 | // Step 3: Send RESET ALL (may be rejected due to startup mismatch) | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2912 | // Step 4: Send a subsequent query - this tests the pipeline reset fix | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2919 | // Step 5: Sync | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2926 | // Step 6: Consume results with proper loop (like working tests) | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2981 | // Step 1: Set a marker value | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2984 | // Step 2: Enter pipeline mode | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2990 | // Step 3: Send RESET DateStyle | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2997 | // Step 4: Send subsequent query | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 3004 | // Step 5: Sync | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 3011 | // Step 6: Consume results with proper loop | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1366 | // Step 3: Simple query ROLLBACK | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1393 | // Step 1: Enter pipeline mode and BEGIN | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1489 | // Step 1: Simple query BEGIN and first SET | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1508 | // Step 2: Enter pipeline mode for second SET and COMMIT | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1603 | // Step 1: Enter pipeline mode, BEGIN, SET, then exit | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1674 | // Step 2: Simple query ROLLBACK | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1937 | // Step 1: Get original value and seed pool with marked connections | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1969 | // Step 2: Create connections with startup parameter -15 (different from marker '3') | COMMENT |
| LOW | test/tap/tests/test_filtered_set_statements-t.cpp | 51 | // NOTE: This variable has been temporarily ignored. Check issues #3442 and #3441. | COMMENT |
| LOW⚡ | test/tap/tests/pgsql-test_malformed_packet-t.cpp | 642 | // Step 6: Send the malformed packet on the authenticated connection | COMMENT |
| LOW⚡ | test/tap/tests/pgsql-test_malformed_packet-t.cpp | 649 | // Step 7: Wait for a response to the packet. | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 178 | // Step 1: Prepare statement (backend operation) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 183 | // Step 2: Initial Describe to verify statement exists (backend operation) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 187 | // Step 3: Send flood of Close Statement messages (NO backend routing) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 199 | // Step 4: Send Describe (backend operation - REQUIRES backend connection) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 208 | // Step 5: Send Sync to complete extended query frame | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 212 | // Step 6: Wait for completion | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 261 | // Step 3: Send flood of Close Statement messages (NO backend routing) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 270 | // Step 4: Send Bind (backend operation) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 276 | // Step 5: Send Execute (backend operation - DEADLOCK TRIGGER) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 282 | // Step 6: Send Sync to complete extended query frame | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 286 | // Step 7: Wait for completion | COMMENT |
| LOW⚡ | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 57 | // Step 0: Connect to ProxySQL admin | COMMENT |
| LOW⚡ | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 67 | // Step 1: Connect to MySQL backend directly, check binlog, set wait_timeout | COMMENT |
| LOW | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 95 | // Step 2: Discover hostgroup topology | COMMENT |
| LOW | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 163 | // Step 3: Connect to ProxySQL and create backends in both hostgroups | COMMENT |
| LOW | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 229 | // Step 4: Send COM_BINLOG_DUMP via mariadb_rpl | COMMENT |
| LOW | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 273 | // Step 5: Wait for the idle backend (reader_hg) to be closed by MySQL | COMMENT |
| LOW | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 292 | // Step 6: Verify ProxySQL did not crash | COMMENT |
| LOW | …/tap/tests/pgsql-admin_metacmds_describe_queries-t.cpp | 368 | // Step 1: Execute first describe query (sets describe_mode=true, saves table name) | COMMENT |
| LOW | …/tap/tests/pgsql-admin_metacmds_describe_queries-t.cpp | 383 | // Step 2: Execute second describe query (uses saved table name) | COMMENT |
| LOW⚡ | …/tap/tests/pgsql-admin_metacmds_describe_queries-t.cpp | 396 | // Step 3: Execute NON-DESCRIBE query (should reset describe_mode=false) | COMMENT |
| LOW⚡ | …/tap/tests/pgsql-admin_metacmds_describe_queries-t.cpp | 405 | // Step 4: Execute new describe query with different table | COMMENT |
| LOW | …/tap/tests/pgsql-admin_metacmds_describe_queries-t.cpp | 423 | // Step 5: Verify pg_attribute works with new table | COMMENT |
| LOW | test/tap/tests/mcp_stats_refresh-t.cpp | 252 | // Step 1: Get initial connection count via MCP stats | COMMENT |
| 107 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1291 | // Step 1: Simple query BEGIN - verify it succeeded | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1301 | // Step 2: Enter pipeline mode and SET | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1430 | // Step 2: Simple query SET | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1433 | // Step 3: Re-enter pipeline mode and COMMIT | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2894 | // Step 1: Set a variable to create marker state | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2899 | // Step 2: Enter pipeline mode | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2905 | // Step 3: Send RESET ALL (may be rejected due to startup mismatch) | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2912 | // Step 4: Send a subsequent query - this tests the pipeline reset fix | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2919 | // Step 5: Sync | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2926 | // Step 6: Consume results with proper loop (like working tests) | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2981 | // Step 1: Set a marker value | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2984 | // Step 2: Enter pipeline mode | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2990 | // Step 3: Send RESET DateStyle | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 2997 | // Step 4: Send subsequent query | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 3004 | // Step 5: Sync | COMMENT |
| LOW⚡ | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 3011 | // Step 6: Consume results with proper loop | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1366 | // Step 3: Simple query ROLLBACK | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1393 | // Step 1: Enter pipeline mode and BEGIN | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1489 | // Step 1: Simple query BEGIN and first SET | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1508 | // Step 2: Enter pipeline mode for second SET and COMMIT | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1603 | // Step 1: Enter pipeline mode, BEGIN, SET, then exit | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1674 | // Step 2: Simple query ROLLBACK | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1937 | // Step 1: Get original value and seed pool with marked connections | COMMENT |
| LOW | …/tests/pgsql-transaction_variable_state_tracking-t.cpp | 1969 | // Step 2: Create connections with startup parameter -15 (different from marker '3') | COMMENT |
| LOW⚡ | test/tap/tests/pgsql-test_malformed_packet-t.cpp | 642 | // Step 6: Send the malformed packet on the authenticated connection | COMMENT |
| LOW⚡ | test/tap/tests/pgsql-test_malformed_packet-t.cpp | 649 | // Step 7: Wait for a response to the packet. | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 178 | // Step 1: Prepare statement (backend operation) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 183 | // Step 2: Initial Describe to verify statement exists (backend operation) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 187 | // Step 3: Send flood of Close Statement messages (NO backend routing) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 199 | // Step 4: Send Describe (backend operation - REQUIRES backend connection) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 208 | // Step 5: Send Sync to complete extended query frame | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 212 | // Step 6: Wait for completion | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 261 | // Step 3: Send flood of Close Statement messages (NO backend routing) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 270 | // Step 4: Send Bind (backend operation) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 276 | // Step 5: Send Execute (backend operation - DEADLOCK TRIGGER) | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 282 | // Step 6: Send Sync to complete extended query frame | COMMENT |
| LOW⚡ | …pgsql-reg_test_5300_threshold_resultset_deadlock-t.cpp | 286 | // Step 7: Wait for completion | COMMENT |
| LOW⚡ | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 57 | // Step 0: Connect to ProxySQL admin | COMMENT |
| LOW⚡ | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 67 | // Step 1: Connect to MySQL backend directly, check binlog, set wait_timeout | COMMENT |
| LOW | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 95 | // Step 2: Discover hostgroup topology | COMMENT |
| LOW | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 163 | // Step 3: Connect to ProxySQL and create backends in both hostgroups | COMMENT |
| LOW | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 229 | // Step 4: Send COM_BINLOG_DUMP via mariadb_rpl | COMMENT |
| LOW | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 273 | // Step 5: Wait for the idle backend (reader_hg) to be closed by MySQL | COMMENT |
| LOW | …t/tap/tests/test_binlog_dump_multi_backend_crash-t.cpp | 292 | // Step 6: Verify ProxySQL did not crash | COMMENT |
| LOW | …/tap/tests/pgsql-admin_metacmds_describe_queries-t.cpp | 368 | // Step 1: Execute first describe query (sets describe_mode=true, saves table name) | COMMENT |
| LOW | …/tap/tests/pgsql-admin_metacmds_describe_queries-t.cpp | 383 | // Step 2: Execute second describe query (uses saved table name) | COMMENT |
| LOW⚡ | …/tap/tests/pgsql-admin_metacmds_describe_queries-t.cpp | 396 | // Step 3: Execute NON-DESCRIBE query (should reset describe_mode=false) | COMMENT |
| LOW⚡ | …/tap/tests/pgsql-admin_metacmds_describe_queries-t.cpp | 405 | // Step 4: Execute new describe query with different table | COMMENT |
| LOW | …/tap/tests/pgsql-admin_metacmds_describe_queries-t.cpp | 423 | // Step 5: Verify pg_attribute works with new table | COMMENT |
| LOW | test/tap/tests/mcp_stats_refresh-t.cpp | 252 | // Step 1: Get initial connection count via MCP stats | COMMENT |
| LOW | test/tap/tests/mcp_stats_refresh-t.cpp | 294 | // Step 2: Create several new MySQL connections to the frontend port | COMMENT |
| LOW | test/tap/tests/mcp_stats_refresh-t.cpp | 312 | // Step 3: Query connection count again | COMMENT |
| LOW | test/tap/tests/mcp_stats_refresh-t.cpp | 331 | // Step 4: Verify count increased | COMMENT |
| LOW | test/tap/tests/pgsql-test_dns_cache-t.cpp | 225 | // Step 1: IP literal must NOT cause DNS work | COMMENT |
| LOW | test/tap/tests/pgsql-test_dns_cache-t.cpp | 240 | // Step 2: Resolvable hostname populates record_updated | COMMENT |
| LOW | test/tap/tests/pgsql-test_dns_cache-t.cpp | 261 | // Step 3: Client connect through proxy hits the cache | COMMENT |
| LOW | test/tap/tests/pgsql-test_dns_cache-t.cpp | 279 | // Step 4: Whitespace around hostname is trimmed before resolution | COMMENT |
| LOW | test/tap/tests/pgsql-test_dns_cache-t.cpp | 292 | // Step 5: Unresolvable hostname — lookup is queried but produces nothing | COMMENT |
| LOW | test/tap/tests/pgsql-test_dns_cache-t.cpp | 325 | // Step 6: Removing servers drops orphaned cache records | COMMENT |
| LOW | test/tap/tests/pgsql-test_dns_cache-t.cpp | 352 | // Step 7: Disabled cache (refresh_interval=0) flatlines counters | COMMENT |
| 61 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .aider.conf.yml | 48 | ## Specify a file with context window and costs for unknown models | COMMENT |
| MEDIUM | test/infra/control/start-proxysql-isolated.bash | 157 | # Same pattern for the genai plugin (post-carve-out, GenAI/MCP/RAG/LLM | COMMENT |
| MEDIUM | test/tap/tests/test_mcp_rag_metrics-t.sh | 2 | # TAP integration test for authenticated RAG requests, metrics, and logging. | COMMENT |
| MEDIUM | test/tap/tests/test_mcp_rag_metrics-t.sh | 38 | echo "msg: # === MCP RAG Metrics Test Suite ===" | CODE |
| MEDIUM | test/tap/tests/rag_stats_testing/prepare_test_db.sh | 2 | # Seed the RAG database opened by the ProxySQL process using Python stdlib. | COMMENT |
| MEDIUM | …/tap/tests/rag_stats_testing/test_rag_tool_counters.sh | 2 | # Verify RAG tool counters by measuring deltas without clearing shared stats. | COMMENT |
| MEDIUM | test/tap/tests/rag_stats_testing/test_rag_search_log.sh | 2 | # Verify RAG search logging with run-unique rows and no global table reset. | COMMENT |
| MEDIUM | plugins/genai/include/MySQL_Tool_Handler.h | 60 | // Query guardrails | COMMENT |
| MEDIUM | plugins/genai/include/Query_Tool_Handler.h | 80 | // Query guardrails | COMMENT |
| MEDIUM | …powers/plans/2026-07-08-pgsql-sp1-tap-coverage-gaps.md | 59 | ## Task 1: Wire-level auth-challenge test scaffold + cleartext case | COMMENT |
| MEDIUM | …uperpowers/plans/2026-07-08-pgsql-sp3-driver-matrix.md | 52 | ## Task 1: Multi-language runner image + CLI/subprocess scaffolding | COMMENT |
| MEDIUM | …uperpowers/plans/2026-06-14-pgsql-native-scram-plus.md | 228 | # Task 2: libscram scaffolding — ScramState fields, init, free, setter | COMMENT |
| MEDIUM | …s/superpowers/plans/2026-05-03-genai-features-batch.md | 759 | ## Task 8: RAG — Add content_hash Column (Feature D, Part 1) | COMMENT |
| MEDIUM | …s/superpowers/plans/2026-05-03-genai-features-batch.md | 835 | ## Task 9: RAG — Hash-Based Update Detection (Feature D, Part 2) | COMMENT |
| MEDIUM | …s/superpowers/plans/2026-05-03-genai-features-batch.md | 919 | ## Task 10: RAG — Delete Detection (Feature D, Part 3) | COMMENT |
| MEDIUM | …powers/plans/2026-04-16-step0-protocolx-cherry-pick.md | 369 | ## Task 6: Cherry-pick Batch 5 — mysqlx reference-plugin scaffold | COMMENT |
| MEDIUM | …powers/specs/2026-05-03-genai-features-batch-design.md | 170 | ## Feature D: RAG Incremental Sync | COMMENT |
| MEDIUM | …powers/specs/2026-05-03-genai-features-batch-design.md | 247 | #### MCP RAG tool compatibility | COMMENT |
| MEDIUM | scripts/mcp/test_rag.sh | 3 | # test_rag.sh - Test RAG functionality via MCP endpoint | COMMENT |
| MEDIUM | scripts/mcp/test_rag.sh | 134 | # Test specific RAG tools | COMMENT |
| MEDIUM | scripts/mcp/test_rag.sh | 160 | # Test RAG admin stats | COMMENT |
| MEDIUM | …veryAgent/ClaudeCode_Headless/headless_db_discovery.sh | 49 | TIMEOUT=3600 # 1 hour default (multi-agent discovery takes longer) | CODE |
| MEDIUM | doc/rag-documentation.md | 1 | # RAG (Retrieval-Augmented Generation) in ProxySQL | COMMENT |
| MEDIUM | doc/rag-documentation.md | 122 | # Test RAG functionality via MCP endpoint | COMMENT |
| MEDIUM | doc/rag-documentation.md | 125 | # Test RAG database schema | COMMENT |
| MEDIUM | doc/rag-examples.md | 1 | # RAG Tool Examples | COMMENT |
| MEDIUM | doc/rag-examples.md | 18 | ### List all RAG tools | COMMENT |
| MEDIUM | doc/rag-doxygen-documentation-summary.md | 1 | # RAG Subsystem Doxygen Documentation Summary | COMMENT |
| MEDIUM | doc/RELEASE_NOTES_WORKFLOW.md | 8 | # 1. Run the orchestration script | COMMENT |
| MEDIUM | doc/rag-doxygen-documentation.md | 1 | # RAG Subsystem Doxygen Documentation | COMMENT |
| MEDIUM | doc/GH-Actions/README.md | 444 | # 2. Sparse-checkout just the CI orchestration + group definitions. | COMMENT |
| MEDIUM | doc/VECTOR_FEATURES/EXTERNAL_LLM_SETUP.md | 55 | # Start llama-server with embedding model | COMMENT |
| MEDIUM | doc/RAG/rag_system_prompt.md | 1 | # Agent System Prompt: ProxySQL RAG Orchestrator | COMMENT |
| MEDIUM | doc/RAG/RAG_COMPLETION_SUMMARY.md | 1 | # RAG Implementation Completion Summary | COMMENT |
| MEDIUM | doc/RAG/sql-examples.md | 1 | # ProxySQL RAG Index — SQL Examples (FTS, Vectors, Hybrid) | COMMENT |
| MEDIUM | doc/RAG/architecture-runtime-retrieval.md | 1 | # ProxySQL RAG Engine — Runtime Retrieval Architecture (v0 Blueprint) | COMMENT |
| MEDIUM | doc/RAG/architecture-runtime-retrieval.md | 15 | ## 1. The runtime role of ProxySQL in a RAG system | COMMENT |
| MEDIUM | doc/RAG/RAG_FILE_SUMMARY.md | 1 | # RAG Implementation File Summary | COMMENT |
| MEDIUM | doc/RAG/architecture-data-model.md | 1 | # ProxySQL RAG Index — Data Model & Ingestion Architecture (v0 Blueprint) | COMMENT |
| MEDIUM | doc/RAG/chunking-and-embedding-guide.md | 1 | # RAG Source Configuration Guide: `chunking_json` and `embedding_json` | COMMENT |
| MEDIUM | doc/RAG/ingest-usage-guide.md | 1 | # RAG Ingestion Tool - Usage Guide (MySQL Protocol Version) | COMMENT |
| MEDIUM | doc/RAG/ingest-usage-guide.md | 18 | # 2. Initialize the RAG database schema | COMMENT |
| MEDIUM | doc/RAG/ingest-usage-guide.md | 35 | ### Step 1: Initialize the RAG Database | COMMENT |
| MEDIUM | doc/RAG/RAG_IMPLEMENTATION_COMPLETE.md | 1 | # ProxySQL RAG Subsystem Implementation - Complete | COMMENT |
| MEDIUM | doc/RAG/RAG_IMPLEMENTATION_COMPLETE.md | 9 | ### 1. RAG Tool Handler | COMMENT |
| MEDIUM | doc/RAG/mcp-tools.md | 1 | # MCP Tooling for ProxySQL RAG Engine (v0 Blueprint) | COMMENT |
| MEDIUM | doc/RAG/embeddings-design.md | 1 | # ProxySQL RAG Index — Embeddings & Vector Retrieval Design (Chunk-Level) (v0→v1 Blueprint) | COMMENT |
| MEDIUM | doc/plugin-chassis/FILE_CHANGES.md | 162 | ## G. Chassis: test scaffolding | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | tools/pgsql_user_sync/tests/test_pgsql_user_sync.py | 459 | '{"proxysql_pgsql_user_sync": null}', | STRING |
| HIGH | test/infra/control/test_ci_engine_ref.py | 73 | for contents in ['{', '[]', '{"schema":"2"}', '{"schema":null}', '{"schema":true}', '{"schema":2.5}']: | CODE |
| HIGH⚡ | test/infra/control/validate_fork_pr_builds.py | 79 | ``inputs.trusted && a || b`` or ``(inputs.trusted && a) || b``, where | STRING |
| HIGH⚡ | test/infra/control/validate_fork_pr_builds.py | 79 | ``inputs.trusted && a || b`` or ``(inputs.trusted && a) || b``, where | STRING |
| HIGH⚡ | test/infra/control/validate_fork_pr_builds.py | 83 | ``inputs.trusted && failure() && !cancelled() && (a || b)`` -- so only | STRING |
| HIGH⚡ | test/infra/control/validate_fork_pr_builds.py | 83 | ``inputs.trusted && failure() && !cancelled() && (a || b)`` -- so only | STRING |
| HIGH⚡ | …/infra/control/test_dependency_artifact_publication.py | 173 | self.assertIn('inputs.source_ref || github.event.pull_request.head.sha || github.sha', plan) | CODE |
| HIGH⚡ | test/infra/control/test_validate_fork_pr_builds.py | 115 | docs[2]['jobs']['finalize']={'if':'${{ inputs.trusted && always() }}','steps':[{'uses':'actions/upload-artifact@ | CODE |
| HIGH⚡ | test/infra/control/test_validate_fork_pr_builds.py | 126 | "${{ inputs.trusted && failure() || cancelled() }}", | CODE |
| HIGH⚡ | test/infra/control/test_validate_fork_pr_builds.py | 127 | "${{ (inputs.trusted && failure()) || cancelled() }}", | CODE |
| HIGH⚡ | test/infra/control/test_validate_fork_pr_builds.py | 136 | "${{ inputs.trusted && (a || b) && (c || d) }}", | CODE |
| HIGH⚡ | test/infra/control/test_validate_fork_pr_builds.py | 137 | "${{ inputs.trusted && always() }}", | CODE |
| HIGH⚡ | test/infra/control/test_validate_fork_pr_builds.py | 150 | '(!github.event.workflow_run || github.event.workflow_run.head_repository.full_name == github.repository) }} | CODE |
| HIGH⚡ | test/infra/control/test_validate_fork_pr_builds.py | 271 | "${{ inputs.trusted && failure() || cancelled() }}", | CODE |
| HIGH⚡ | test/infra/control/test_validate_fork_pr_builds.py | 272 | "${{ (inputs.trusted && failure()) || cancelled() }}", | CODE |
| HIGH | test/infra/control/test_validate_fork_pr_builds.py | 17 | "${{ inputs.trusted && failure() && !cancelled() " | CODE |
| HIGH | test/infra/control/test_validate_fork_pr_builds.py | 27 | "if": "${{ !github.event.workflow_run || github.event.workflow_run.head_repository.full_name == github.r | CODE |
| HIGH | test/infra/control/test_validate_fork_pr_builds.py | 90 | {"name": "Upload handoff (src)", "if": "${{ inputs.trusted && success() }}", "uses": "actions/upload | CODE |
| HIGH | test/infra/control/test_ci_skip_label.py | 119 | base = '${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}' | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 701 | except Exception: | CODE |
| LOW | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 752 | except Exception: | CODE |
| LOW | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 800 | except Exception: | CODE |
| LOW | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 825 | except Exception: | CODE |
| LOW | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 863 | except Exception: | CODE |
| LOW | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 872 | except Exception: | CODE |
| LOW⚡ | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 887 | except Exception: | CODE |
| LOW⚡ | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 895 | except Exception: | CODE |
| LOW⚡ | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 903 | except Exception: | CODE |
| LOW⚡ | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 909 | except Exception: | CODE |
| LOW⚡ | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 915 | except Exception: | CODE |
| MEDIUM | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 729 | def fetch_snapshot(self) -> list[tuple[str, str]]: | CODE |
| LOW | test/infra/control/test_startup_tls_ownership.py | 89 | except Exception: | CODE |
| LOW | test/tap/tests/test_sqlite3_from_unixtime-t.py | 24 | except Exception as e: | CODE |
| LOW | test/tap/tests/pgsql-user-sync-t.py | 174 | except Exception: | CODE |
| LOW | test/tap/tests/pgsql-user-sync-t.py | 187 | except Exception: | CODE |
| LOW | test/tap/tests/pgsql-user-sync-t.py | 289 | except Exception as error: | CODE |
| LOW | …g_test_3992_fast_forward_malformed_packet-pymysql-t.py | 29 | except Exception as e: | CODE |
| LOW | test/tap/groups/test_6197_prepare_outcome.py | 96 | except Exception as exc: | STRING |
| MEDIUM | test/tap/groups/test_6197_prepare_outcome.py | 77 | def serve(): | CODE |
| LOW | test/tap/noise/noise_stats_poller.py | 39 | except Exception as e: | CODE |
| MEDIUM | test/tap/noise/noise_stats_poller.py | 40 | print(f"Error in noise poller: {e}", file=sys.stderr) | CODE |
| LOW | test/scripts/mysqlx/behavioral_validation.py | 90 | except Exception as e: | CODE |
| LOW | test/scripts/mysqlx/behavioral_validation.py | 102 | except Exception: | CODE |
| LOW⚡ | test/scripts/mysqlx/behavioral_validation.py | 127 | except Exception as e: | CODE |
| LOW⚡ | test/scripts/mysqlx/behavioral_validation.py | 135 | except Exception as e: | CODE |
| LOW⚡ | test/scripts/mysqlx/behavioral_validation.py | 142 | except Exception: | CODE |
| LOW | test/scripts/mysqlx/behavioral_validation.py | 230 | except Exception as e: | CODE |
| LOW | test/scripts/mysqlx/behavioral_validation.py | 244 | except Exception as e: | CODE |
| LOW | test/scripts/mysqlx/stress.py | 94 | except Exception as e: | CODE |
| LOW | test/scripts/mysqlx/stress.py | 105 | except Exception: | CODE |
| LOW | test/scripts/mysqlx/stress.py | 141 | except Exception: | CODE |
| MEDIUM | test/scripts/mysqlx/stress.py | 101 | def find_proxysql_pid() -> Optional[int]: | CODE |
| MEDIUM | test/scripts/mysqlx/stress.py | 129 | def fetch_route_stats(args) -> List[dict]: | CODE |
| LOW | test/scripts/bin/proxysql-tester.py | 214 | except Exception as e: | CODE |
| LOW | test/scripts/bin/proxysql-tester.py | 262 | except Exception as e: | CODE |
| LOW⚡ | test/scripts/bin/proxysql-tester.py | 1347 | except Exception as e: | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 702 | except Exception as e: | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 803 | except Exception as e: | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 836 | except Exception as e: | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 899 | except Exception as e: | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 941 | except Exception as log_error: | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 973 | except Exception as e: | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 1210 | except Exception as e: | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 1420 | except Exception as e: | STRING |
| LOW | test/scripts/lib/utils.py | 49 | except Exception: | CODE |
| LOW | test/scripts/lib/utils.py | 67 | except Exception as e: | CODE |
| LOW | test/scripts/lib/utils.py | 99 | except Exception as e: | CODE |
| LOW | test/pg-compat/behaviors/transactions.py | 63 | except Exception: | CODE |
| LOW | scripts/stats_scrapper.py | 78 | except Exception as err: | CODE |
| MEDIUM | scripts/stackexchange_posts.py | 113 | print(f"Error retrieving parent posts: {e}") | STRING |
| MEDIUM | scripts/stackexchange_posts.py | 148 | print(f"Error retrieving child posts (chunk {i//chunk_size + 1}): {e}") | STRING |
| MEDIUM | scripts/stackexchange_posts.py | 168 | print(f"Error checking existing posts: {e}") | CODE |
| LOW | scripts/stackexchange_posts.py | 389 | except Exception as e: | CODE |
| LOW | scripts/kill_idle_backend_conns.py | 78 | except Exception as err: | CODE |
| LOW | scripts/copy_stackexchange_Posts_mysql_to_sqlite3.py | 75 | except Exception as e: | CODE |
| LOW | scripts/copy_stackexchange_Posts_mysql_to_sqlite3.py | 84 | except Exception as e: | CODE |
| LOW | scripts/copy_stackexchange_Posts_mysql_to_sqlite3.py | 122 | except Exception as e: | CODE |
| MEDIUM | scripts/copy_stackexchange_Posts_mysql_to_sqlite3.py | 125 | print(f"Error inserting row {rows+1}: {e}") | CODE |
| LOW | scripts/copy_stackexchange_Posts_mysql_to_sqlite3.py | 171 | except Exception as e: | CODE |
| 38 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scenarios.py | 64 | except: | CODE |
| HIGH | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 701 | except Exception: | CODE |
| HIGH | test/infra/control/test_unit_runner_timeout.py | 65 | except ProcessLookupError: | CODE |
| HIGH | test/infra/control/test_unit_runner_timeout.py | 117 | except ProcessLookupError: | CODE |
| HIGH | test/infra/control/test_startup_tls_ownership.py | 82 | except OSError: | CODE |
| HIGH | test/tap/groups/lint_group_coverage.py | 137 | except OSError: | CODE |
| HIGH | test/scripts/mysqlx/behavioral_validation.py | 102 | except Exception: | CODE |
| HIGH | test/scripts/mysqlx/behavioral_validation.py | 142 | except Exception: | CODE |
| HIGH | test/scripts/mysqlx/stress.py | 119 | except FileNotFoundError: | CODE |
| HIGH | test/scripts/mysqlx/stress.py | 124 | except (FileNotFoundError, PermissionError): | CODE |
| HIGH | test/scripts/bin/proxysql-tester.py | 498 | except: | CODE |
| HIGH | test/scripts/bin/proxysql-tester.py | 511 | except: | CODE |
| HIGH | test/scripts/bin/proxysql-tester.py | 525 | except: | CODE |
| HIGH | test/scripts/bin/proxysql-tester.py | 539 | except: | CODE |
| HIGH | test/pg-compat/behaviors/transactions.py | 63 | except Exception: | CODE |
| HIGH | scripts/nlp_search_demo.py | 79 | except: | CODE |
| HIGH | scripts/lint/normalize-clang-tidy.py | 52 | except Exception: | CODE |
| HIGH | scripts/lint/normalize-clang-tidy.py | 58 | except Exception: | CODE |
| HIGH | …coveryAgent/ClaudeCode_Headless/two_phase_discovery.py | 247 | except: | CODE |
| HIGH | …coveryAgent/ClaudeCode_Headless/two_phase_discovery.py | 251 | except: | CODE |
| HIGH | scripts/release-tools/orchestrate_release.py | 48 | except: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …infra/infra-dbdeployer-pgsql17-repl/docker-compose.yml | 16 | # name so downstream SP-2 tasks (harness/ProxySQL) resolve the backend. | COMMENT |
| MEDIUM | …infra/infra-dbdeployer-pgsql17-repl/docker-compose.yml | 29 | # that name so downstream SP-2 tasks (harness/ProxySQL) resolve it. | COMMENT |
| MEDIUM | test/infra/control/run-tests-isolated.bash | 519 | # Basename matching is robust to GCOV_PREFIX_STRIP and | COMMENT |
| MEDIUM | test/tap/tests/test_mysqlx_soak_stress-t.sh | 8 | # over time. The harness has its own pass/fail logic (error rate < | COMMENT |
| MEDIUM | test/tap/tests/test_mysqlx_soak_stress-t.sh | 18 | # exit. Without it a missing harness file or a Python exception | COMMENT |
| MEDIUM | test/tap/tests/test_mysqlx_soak_behavioral-t.sh | 4 | # behavioral_validation.py harness (issues #5677, #5678). | COMMENT |
| MEDIUM | test/tap/tests/test_mysqlx_soak_behavioral-t.sh | 7 | # harness. Expects the proxysql.${INFRA_ID} container to be up with | COMMENT |
| MEDIUM | test/tap/tests/test_mysqlx_soak_behavioral-t.sh | 24 | # exit. Without it a missing harness file or a Python exception | COMMENT |
| MEDIUM | test/tap/tests/pgsql-set_statement_test-t.cpp | 419 | // Use a longer timeout and more robust result consumption | COMMENT |
| MEDIUM | test/tap/groups/mysqlx-soak/setup-infras.bash | 19 | # The harness scripts (behavioral_validation.py, stress.py) are then | COMMENT |
| MEDIUM | test/tap/groups/mysqlx-soak/setup-infras.bash | 106 | # surfaced in soak as 100% error rate in the stress harness and as | COMMENT |
| MEDIUM | test/tap/groups/mysqlx-soak/env.sh | 2 | # MySQL 8.4 backend. This group runs operational harness scripts — | COMMENT |
| MEDIUM | test/tap/groups/mysqlx-soak/env.sh | 8 | # isolated docker harness so the plugin is exercised end-to-end the | COMMENT |
| MEDIUM | test/tap/groups/mysqlx-soak/env.sh | 20 | # No ProxySQL cluster needed for this harness; a single primary node | COMMENT |
| MEDIUM | test/tap/groups/mysqlx-soak/env.sh | 26 | # tells the plugin to bind on. Matches the harness's --proxysql-port | COMMENT |
| MEDIUM | test/tap/groups/pg-compat/env.sh | 5 | # SP-2 tasks (Toxiproxy, ProxySQL config, pytest harness) consume THESE vars. | COMMENT |
| MEDIUM | test/scripts/mysqlx/stress.py | 202 | # this harness, we just count the churn intent in the | COMMENT |
| MEDIUM | test/pg-compat/conftest.py | 19 | # client_encoding pinned to UTF8 for the same reason harness/targets.py | COMMENT |
| MEDIUM | test/pg-compat/xfail.toml | 22 | # Format (see harness/xfail.py for the loader): | COMMENT |
| MEDIUM | test/pg-compat/xfail.toml | 36 | # test -- typically because the harness neutralizes it (e.g. by pinning a | COMMENT |
| MEDIUM | test/pg-compat/harness/targets.py | 31 | # psycopg is imported so callers can ``from harness import targets`` and reach | COMMENT |
| MEDIUM | test/pg-compat/behaviors/connect.py | 14 | # harness/targets.py's encoding rationale (backend DBs default to | COMMENT |
| MEDIUM | plugins/genai/src/tool_handlers/RAG_Tool_Handler.cpp | 1722 | // This is a basic validation - in production, more robust validation should be used | COMMENT |
| MEDIUM | …veryAgent/ClaudeCode_Headless/headless_db_discovery.sh | 8 | # comprehensive database discovery using 4 collaborating agents: | COMMENT |
| MEDIUM⚡ | scripts/release-tools/orchestrate_release.py | 41 | """Generate comprehensive prompt for LLM.""" | STRING |
| MEDIUM | lib/PgSQL_Connection.cpp | 3116 | // but copying keeps us robust against the dangling-pointer rule). | COMMENT |
| MEDIUM⚡ | lib/Chart_bundle_js.cpp | 1 | char * Chart_bundle_js_c = (char *) "/*!\n * Chart.js\n * http://chartjs.org/\n * Version: 2.7.1\n *\n * Copyright 2017 | CODE |
| MEDIUM⚡ | lib/Chart_bundle_js.cpp | 1 | char * Chart_bundle_js_c = (char *) "/*!\n * Chart.js\n * http://chartjs.org/\n * Version: 2.7.1\n *\n * Copyright 2017 | CODE |
| LOW⚡ | lib/Chart_bundle_js.cpp | 1 | char * Chart_bundle_js_c = (char *) "/*!\n * Chart.js\n * http://chartjs.org/\n * Version: 2.7.1\n *\n * Copyright 2017 | CODE |
| MEDIUM⚡ | lib/Chart_bundle_js.cpp | 1 | char * Chart_bundle_js_c = (char *) "/*!\n * Chart.js\n * http://chartjs.org/\n * Version: 2.7.1\n *\n * Copyright 2017 | CODE |
| MEDIUM⚡ | lib/Chart_bundle_js.cpp | 1 | char * Chart_bundle_js_c = (char *) "/*!\n * Chart.js\n * http://chartjs.org/\n * Version: 2.7.1\n *\n * Copyright 2017 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | plugins/mysql_router/src/metadata_client.cpp | 270 | // least as strict as requested. | COMMENT |
| HIGH | doc/AI-DOCUMENTATION-FRAMEWORK.md | 33 | > **⚠️ Important Notice**: This documentation was generated by AI and may contain inaccuracies. | CODE |
| HIGH | doc/AI-DOCUMENTATION-FRAMEWORK.md | 45 | ├── ai-generated/ # AI-generated exploration guides | CODE |
| HIGH | doc/LLM_Bridge/README.md | 267 | | Machine learning is a subset of artificial intelligence | Generated by llama3.2 | 0 | openai | | CODE |
| HIGH | doc/ai-generated/DOCUMENTATION-INDEX.md | 3 | > **⚠️ Important Notice**: This documentation was generated by AI and may contain inaccuracies. | CODE |
| HIGH | doc/ai-generated/architecture/VISUAL-GUIDE.md | 3 | > **⚠️ Important Notice**: This documentation was generated by AI and may contain inaccuracies. | CODE |
| HIGH | doc/ai-generated/architecture/PROJECT-LAYOUT.md | 3 | > **⚠️ Important Notice**: This documentation was generated by AI and may contain inaccuracies. | CODE |
| HIGH | doc/ai-generated/architecture/TEST-PIPELINE.md | 3 | > **⚠️ Important Notice**: This documentation was generated by AI and may contain inaccuracies. | CODE |
| HIGH | doc/ai-generated/architecture/ARCHITECTURE-OVERVIEW.md | 3 | > **⚠️ Important Notice**: This documentation was generated by AI and may contain inaccuracies. | CODE |
| HIGH | doc/ai-generated/architecture/RELEASE-PIPELINE.md | 3 | > **⚠️ Important Notice**: This documentation was generated by AI and may contain inaccuracies. | CODE |
| HIGH | …ai-generated/architecture/ENHANCEMENT-OPPORTUNITIES.md | 3 | > **⚠️ Important Notice**: This documentation was generated by AI and may contain inaccuracies. | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 836 | CODE | |
| LOW | test/infra/control/test_clickhouse_build.py | 27 | CODE | |
| LOW | test/infra/control/test_clickhouse_build.py | 82 | CODE | |
| LOW | test/infra/control/test_startup_tls_ownership.py | 23 | CODE | |
| LOW | test/infra/control/test_check_ci_tier_fanout.py | 97 | CODE | |
| LOW | test/infra/control/test_check_ci_tier_fanout.py | 215 | CODE | |
| LOW | test/infra/control/test_check_ci_tier_fanout.py | 267 | CODE | |
| LOW | test/infra/control/test_check_ci_tier_fanout.py | 297 | CODE | |
| LOW | test/infra/control/test_check_ci_tier_fanout.py | 372 | CODE | |
| LOW | test/infra/control/test_check_ci_tier_fanout.py | 385 | CODE | |
| LOW | …/infra/control/test_dependency_artifact_autopublish.py | 18 | CODE | |
| LOW | test/infra/control/ci_tier_conditions.py | 59 | CODE | |
| LOW | test/infra/control/validate_fork_pr_builds.py | 74 | CODE | |
| LOW | test/infra/control/test_dependency_artifact_tsan.py | 126 | CODE | |
| LOW | test/infra/control/test_validate_fork_pr_builds.py | 155 | CODE | |
| LOW | test/infra/control/test_ci_skip_label.py | 54 | CODE | |
| LOW | test/infra/control/test_ci_skip_label.py | 78 | CODE | |
| LOW | test/infra/control/check_ci_tier_fanout.py | 113 | CODE | |
| LOW | test/tap/groups/check_groups.py | 36 | CODE | |
| LOW | test/tap/groups/check_groups.py | 66 | CODE | |
| LOW | test/tap/groups/test_6197_prepare_outcome.py | 70 | CODE | |
| LOW | test/tap/groups/test_6197_prepare_outcome.py | 77 | CODE | |
| LOW | test/tap/groups/lint_group_coverage.py | 90 | CODE | |
| LOW | test/tap/groups/lint_group_coverage.py | 127 | CODE | |
| LOW | test/tap/groups/test_ai_group_shards.py | 112 | CODE | |
| LOW | test/tap/groups/test_ai_group_shards.py | 145 | CODE | |
| LOW | test/scripts/mysqlx/stress.py | 109 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 266 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 331 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 370 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 1001 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 1065 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 1351 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 551 | CODE | |
| LOW | scripts/stackexchange_posts.py | 118 | CODE | |
| LOW | scripts/stackexchange_posts.py | 231 | CODE | |
| LOW | scripts/nlp_search_demo.py | 463 | CODE | |
| LOW | scripts/nlp_search_demo.py | 46 | CODE | |
| LOW | scripts/nlp_search_demo.py | 228 | CODE | |
| LOW | scripts/nlp_search_demo.py | 422 | CODE | |
| LOW | scripts/copy_stackexchange_Posts_mysql_to_sqlite3.py | 61 | CODE | |
| LOW | scripts/lint/normalize-clang-tidy.py | 73 | CODE | |
| LOW | scripts/mcp/proxysql_mcp_stdio_bridge.py | 239 | CODE | |
| LOW | …mcp/DiscoveryAgent/FastAPI_deprecated_POC/agent_app.py | 398 | CODE | |
| LOW | …veryAgent/ClaudeCode_Headless/headless_db_discovery.py | 118 | CODE | |
| LOW | scripts/release-tools/parse_commits_legacy.py | 35 | CODE | |
| LOW | scripts/release-tools/generate_changelog.py | 84 | CODE | |
| LOW | scripts/release-tools/categorize_commits.py | 85 | CODE | |
| LOW | scripts/release-tools/generate_release_notes.py | 28 | CODE | |
| LOW | scripts/release-tools/generate_release_notes.py | 76 | CODE | |
| LOW | scripts/release-tools/generate_release_notes.py | 140 | CODE | |
| LOW | scripts/release-tools/generate_release_notes.py | 202 | CODE | |
| LOW | scripts/release-tools/generate_release_notes.py | 273 | CODE | |
| LOW | scripts/release-tools/generate_structured_notes.py | 83 | CODE | |
| LOW | deps/artifacts/bundles.py | 40 | CODE | |
| LOW | deps/artifacts/bundles.py | 96 | CODE | |
| LOW | deps/artifacts/bundles.py | 137 | CODE | |
| LOW | deps/artifacts/manage.py | 33 | CODE | |
| LOW | deps/artifacts/manage.py | 80 | CODE | |
| LOW | deps/artifacts/identity.py | 144 | CODE | |
| 1 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | doc/VECTOR_FEATURES/EXTERNAL_LLM_SETUP.md | 117 | SET ai_nl2sql_provider_key='sk-your-api-key'; | CODE |
| HIGH⚡ | doc/VECTOR_FEATURES/EXTERNAL_LLM_SETUP.md | 147 | SET ai_nl2sql_provider_key='your-api-key'; | CODE |
| HIGH⚡ | doc/VECTOR_FEATURES/EXTERNAL_LLM_SETUP.md | 156 | SET ai_nl2sql_provider_key='sk-ant-your-api-key'; | CODE |
| HIGH⚡ | doc/VECTOR_FEATURES/EXTERNAL_LLM_SETUP.md | 166 | SET ai_nl2sql_provider_key='your-api-key'; | CODE |
| HIGH⚡ | doc/RAG/embedding-test-plan.md | 17 | export OPENAI_API_KEY="your-api-key-here" | CODE |
| HIGH | doc/RAG/chunking-and-embedding-guide.md | 235 | "api_key": "sk-your-api-key", | CODE |
| HIGH | doc/RAG/ingest-usage-guide.md | 321 | "api_key": "sk-your-api-key", | CODE |
| HIGH | doc/LLM_Bridge/API.md | 98 | SET genai_llm_provider_key='sk-your-api-key'; | CODE |
| HIGH | doc/LLM_Bridge/README.md | 79 | SET genai-llm_provider_key='your-api-key'; -- Empty for local endpoints | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .aider.conf.yml | 92 | ## Check if model accepts settings like reasoning_effort/thinking_tokens (default: True) | COMMENT |
| LOW | test/infra/control/cluster_init.bash | 42 | # Check if already initialized | COMMENT |
| LOW | test/infra/control/run-multi-group.bash | 231 | # Check if we should stop due to previous failure | COMMENT |
| LOW | test/tap/groups/ai/pre-cleanup.bash | 30 | # Check if ProxySQL container is running | COMMENT |
| LOW⚡ | test/scripts/bin/proxysql-tester.py | 1359 | # Check if connection_warming is supported | STRING |
| LOW | test/scripts/bin/proxysql-tester.py | 643 | # Check if any tests belong to this group | STRING |
| LOW | test/legacy_python_tests/docker_fleet.py | 294 | # Check if anything at all is returned | COMMENT |
| LOW | scripts/verify_vector_features.sh | 32 | # Check if it's not a stub | COMMENT |
| LOW | scripts/mcp/test_mcp_fts.sh | 166 | # Check if MCP server is accessible | COMMENT |
| LOW | scripts/mcp/test_mcp_fts.sh | 955 | # Check if snippet is present in results | COMMENT |
| LOW⚡ | scripts/mcp/setup_test_db.sh | 75 | # Check if Docker is available | COMMENT |
| LOW⚡ | scripts/mcp/setup_test_db.sh | 77 | # Check if user can run docker | COMMENT |
| LOW⚡ | scripts/mcp/setup_test_db.sh | 84 | # Check if mysql client can connect locally | COMMENT |
| LOW | scripts/mcp/setup_test_db.sh | 233 | # Check if container already exists | COMMENT |
| LOW | scripts/mcp/setup_test_db.sh | 637 | # Check if command was provided | COMMENT |
| LOW | scripts/mcp/test_rag.sh | 122 | # Check if response contains tools | COMMENT |
| LOW | scripts/mcp/test_nl2sql_e2e.sh | 105 | # Check if expected pattern exists | COMMENT |
| LOW | scripts/mcp/test_nl2sql_tools.sh | 108 | # Check if MCP server is accessible | COMMENT |
| LOW | scripts/mcp/test_nl2sql_tools.sh | 222 | # Check if expected pattern exists | COMMENT |
| LOW | scripts/mcp/configure_mcp.sh | 75 | # Check if ProxySQL admin is accessible | COMMENT |
| LOW | scripts/mcp/configure_mcp.sh | 88 | # Check if MySQL is accessible | COMMENT |
| LOW | scripts/mcp/test_mcp_tools.sh | 111 | # Check if MCP server is accessible | COMMENT |
| LOW | scripts/mcp/test_mcp_tools.sh | 164 | # Check if a tool is discovered on an endpoint | COMMENT |
| LOW | scripts/mcp/test_mcp_tools.sh | 480 | # Check if tool should be skipped | COMMENT |
| LOW | scripts/mcp/test_mcp_tools.sh | 565 | # Check if tool is discovered | COMMENT |
| LOW | scripts/mcp/test_mcp_tools.sh | 571 | # Check if tool should be skipped | COMMENT |
| LOW | scripts/mcp/demo_agent_claude.sh | 59 | # Check if catalog exists | COMMENT |
| LOW | …coveryAgent/ClaudeCode_Headless/two_phase_discovery.py | 186 | # Check if claude command is available | STRING |
| LOW | …veryAgent/ClaudeCode_Headless/headless_db_discovery.py | 189 | # Check if output is empty | COMMENT |
| LOW | …veryAgent/ClaudeCode_Headless/headless_db_discovery.py | 206 | # Check if output file is empty | COMMENT |
| LOW | …veryAgent/ClaudeCode_Headless/headless_db_discovery.sh | 220 | # Check if file is empty (no output) | COMMENT |
| LOW | doc/vector-search-test/test_vector_tables.sh | 36 | # Check if result matches expected pattern | COMMENT |
| LOW | doc/vector-search-test/test_similarity_search.sh | 36 | # Check if result matches expected pattern | COMMENT |
| LOW | doc/vector-search-test/test_data_insertion.sh | 36 | # Check if result matches expected pattern | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scenarios.py | 19 | CODE | |
| LOW | test/infra/control/test_check_ci_tier_fanout.py | 1 | CODE | |
| LOW | test/infra/control/test_validate_fork_pr_builds.py | 11 | CODE | |
| LOW | test/tap/groups/check_groups.py | 30 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 13 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 15 | CODE | |
| LOW | test/scripts/bin/proxysql-tester.py | 24 | CODE | |
| LOW | test/scripts/lib/utils.py | 9 | CODE | |
| LOW | …cy_python_tests/replication_topology_awareness_test.py | 1 | CODE | |
| LOW | …cy_python_tests/replication_topology_awareness_test.py | 2 | CODE | |
| LOW | …cy_python_tests/replication_topology_awareness_test.py | 3 | CODE | |
| LOW | …cy_python_tests/replication_topology_awareness_test.py | 4 | CODE | |
| LOW | …cy_python_tests/replication_topology_awareness_test.py | 5 | CODE | |
| LOW | …cy_python_tests/replication_topology_awareness_test.py | 7 | CODE | |
| LOW | test/legacy_python_tests/proxysql_base_test.py | 1 | CODE | |
| LOW | test/legacy_python_tests/proxysql_base_test.py | 2 | CODE | |
| LOW | test/legacy_python_tests/proxysql_base_test.py | 7 | CODE | |
| LOW | test/legacy_python_tests/proxysql_base_test.py | 8 | CODE | |
| LOW | test/legacy_python_tests/proxysql_base_test.py | 9 | CODE | |
| LOW | test/legacy_python_tests/one_backend_test.py | 1 | CODE | |
| LOW | test/legacy_python_tests/config_file_parsing_test.py | 1 | CODE | |
| LOW | test/legacy_python_tests/authentication_test.py | 1 | CODE | |
| LOW | test/legacy_python_tests/authentication_test.py | 3 | CODE | |
| LOW | test/pg-compat/harness/targets.py | 33 | CODE | |
| LOW | scripts/stackexchange_posts.py | 14 | CODE | |
| LOW | scripts/stackexchange_posts.py | 18 | CODE | |
| LOW | scripts/stackexchange_posts.py | 21 | CODE | |
| LOW | scripts/nlp_search_demo.py | 15 | CODE | |
| LOW | scripts/nlp_search_demo.py | 17 | CODE | |
| LOW | scripts/nlp_search_demo.py | 18 | CODE | |
| LOW | scripts/nlp_search_demo.py | 19 | CODE | |
| LOW | scripts/nlp_search_demo.py | 19 | CODE | |
| LOW | scripts/lint/clang_tidy_utils.py | 5 | CODE | |
| LOW | scripts/lint/clang_tidy_utils.py | 11 | CODE | |
| LOW | scripts/lint/clang_tidy_utils.py | 11 | CODE | |
| LOW | scripts/lint/clang_tidy_utils.py | 11 | CODE | |
| LOW | scripts/lint/run_tap_tests.py | 3 | CODE | |
| LOW | …mcp/DiscoveryAgent/FastAPI_deprecated_POC/agent_app.py | 8 | CODE | |
| LOW | …coveryAgent/ClaudeCode_Headless/two_phase_discovery.py | 14 | CODE | |
| LOW | scripts/mcp/DiscoveryAgent/Rich/discover_cli.py | 38 | CODE | |
| LOW | scripts/release-tools/parse_commits_legacy.py | 2 | CODE | |
| LOW | scripts/release-tools/gen_changelog_legacy.py | 4 | CODE | |
| LOW | scripts/release-tools/generate_changelog.py | 16 | CODE | |
| LOW | scripts/release-tools/collect_pr_data.py | 14 | CODE | |
| LOW | scripts/release-tools/orchestrate_release.py | 17 | CODE | |
| LOW | scripts/release-tools/generate_structured_notes.py | 12 | CODE | |
| LOW | scripts/release-tools/fetch_prs_legacy.py | 5 | CODE | |
| LOW | deps/artifacts/manage.py | 22 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | lib/PgSQL_Monitor.cpp | 1517 | sqlite_bind_text(stmt, 1, state.task.op_st.srv_info.addr.c_str()); | CODE |
| CRITICAL | lib/PgSQL_Monitor.cpp | 1562 | sqlite_bind_text(stmt, 1, state.task.op_st.srv_info.addr.c_str()); | CODE |
| CRITICAL | lib/PgSQL_Monitor.cpp | 1611 | sqlite_bind_text(stmt, 1, state.task.op_st.srv_info.addr.c_str()); | CODE |
| CRITICAL | lib/PgSQL_Monitor.cpp | 1667 | sqlite_bind_text(stmt, 1, state.task.op_st.srv_info.addr.c_str()); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/infra/control/run-tests-isolated.bash | 7 | # Usage: | COMMENT |
| LOW | test/infra/control/destroy-multi-group.bash | 5 | # Usage: | COMMENT |
| LOW | test/infra/control/run-multi-group.bash | 5 | # Usage: | COMMENT |
| LOW | test/infra/control/verify-package-install.bash | 11 | # Usage: | COMMENT |
| LOW | scripts/add_threat_patterns.sh | 14 | # Usage: | COMMENT |
| LOW⚡ | scripts/test_external_live.sh | 10 | # Usage: | COMMENT |
| LOW | scripts/mcp/stress_test.sh | 5 | # Usage: | COMMENT |
| LOW | scripts/mcp/test_mcp_fts.sh | 13 | # Usage: | COMMENT |
| LOW | scripts/mcp/setup_test_db.sh | 5 | # Usage: | COMMENT |
| LOW | scripts/mcp/test_rag.sh | 5 | # Usage: | COMMENT |
| LOW | scripts/mcp/test_mcp_fts_detailed.sh | 15 | # Usage: | COMMENT |
| LOW⚡ | scripts/mcp/test_nl2sql_e2e.sh | 13 | # Usage: | COMMENT |
| LOW | scripts/mcp/test_nl2sql_tools.sh | 13 | # Usage: | COMMENT |
| LOW | scripts/mcp/test_catalog.sh | 5 | # Usage: | COMMENT |
| LOW | scripts/mcp/configure_mcp.sh | 5 | # Usage: | COMMENT |
| LOW | scripts/mcp/test_mcp_tools.sh | 5 | # Usage: | COMMENT |
| LOW | …p/DiscoveryAgent/ClaudeCode_Headless/static_harvest.sh | 8 | # Usage: | COMMENT |
| LOW | …veryAgent/ClaudeCode_Headless/headless_db_discovery.sh | 11 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | test/tap/tests/mysql_router/innodb_cluster_teardown.js | 10 | print('removeRouterMetadata: ' + error.message); | CODE |
| HIGH | test/tap/tests/mysql_router/innodb_cluster_teardown.js | 14 | print('teardown: ' + error.message); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/tap/tests/test_ssl_fast_forward-3.cpp | 22 | const std::string lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW | test/tap/tests/test_ssl_fast_forward-3.cpp | 22 | const std::string lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW | test/tap/tests/test_ssl_large_query-2-t.cpp | 38 | const std::string lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW | test/tap/tests/test_ssl_large_query-2-t.cpp | 38 | const std::string lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW | …/tap/tests/unit/mysql_set_variable_tracking_unit-t.cpp | 38 | {"unknown_variable", "1"}, {"placeholder", "1"}, {"unique_checks", "sometimes"}, | CODE |
| LOW | test/tap/tests/unit/mysqlx_tls_unit-t.cpp | 110 | for (int i = 0; i < 9; i++) ok(false, "placeholder"); | CODE |
| LOW | include/proxysql_structs.h | 1918 | { SQL_NAME_LAST_LOW_WM, SETTING_VARIABLE, false, false, true, false, (char *)"placeholder", (char *)"placehold | CODE |
| LOW | include/proxysql_structs.h | 2019 | { PGSQL_NAME_LAST_LOW_WM, session_status___NONE, "placeholder", "placeholder", "0" , 0, nullptr, nullptr }, // th | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 790 | # Create a second table | COMMENT |
| MEDIUM | scripts/mcp/test_mcp_fts.sh | 914 | # Create a document with special characters | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/ProxySQL_Config.cpp | 1509 | // TODO: Add validation to mysql_replication_hostgroups similar to mysql_servers | COMMENT |
| LOW | lib/ProxySQL_Config.cpp | 2274 | // TODO: Add validation to pgsql_replication_hostgroups similar to pgsql_servers | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/pgsql_user_sync/proxysql_pgsql_user_sync.py | 1018 | __all__ = [ | CODE |