The open-source observability database. One columnar engine for metrics, logs, and traces, on object storage.
This report summarizes scanner evidence for GreptimeTeam/greptimedb, a Rust project with 6,778 GitHub stars. SynthScan examined 1,237,066 lines of code across 3362 source files, recording 3759 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 3.4 (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? 3621 finding(s).
Are imports declared and package/API names verified? 56 finding(s).
Are wrappers, guards, and repeated structures necessary? 429 finding(s).
Which changes need focused human review? 3759 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 3759 distinct pattern matches across 20 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 | rustfmt.toml | 1 | # disable these features until they become stable | COMMENT |
| LOW | cliff.toml | 121 | # skip_tags = "" | COMMENT |
| LOW | licenserc.toml | 1 | # Copyright 2023 Greptime Team | COMMENT |
| LOW | licenserc-enterprise.toml | 1 | # License-header config for GreptimeDB Enterprise Edition source files. | COMMENT |
| LOW | config/frontend.example.toml | 1 | ## The default timezone of the server. | COMMENT |
| LOW | config/frontend.example.toml | 21 | ## "mysql_native_password" is MySQL-specific and cannot authenticate over PostgreSQL at all. | COMMENT |
| LOW | config/frontend.example.toml | 41 | ## The number of threads to execute the runtime for global read operations. | COMMENT |
| LOW | config/frontend.example.toml | 61 | ## `pending_rows_batcher.logical_table.pending_rows_flush_interval` and `pending_rows_batcher.pending_rows_flush_interva | COMMENT |
| LOW | config/frontend.example.toml | 81 | COMMENT | |
| LOW | config/frontend.example.toml | 101 | #+ enable_cors = false | COMMENT |
| LOW | config/frontend.example.toml | 121 | ## @toml2docs:none-default | COMMENT |
| LOW | config/frontend.example.toml | 141 | ## Compression mode for frontend side Arrow IPC service. Available options: | COMMENT |
| LOW | config/frontend.example.toml | 181 | [mysql.tls] | COMMENT |
| LOW | config/frontend.example.toml | 241 | default_merge_mode = "last_non_null" | COMMENT |
| LOW | config/frontend.example.toml | 261 | # "postgres", | COMMENT |
| LOW | config/frontend.example.toml | 281 | ## Empty protocols or a zero interval disables logical batching without fallback. | COMMENT |
| LOW | config/frontend.example.toml | 301 | enable = true | COMMENT |
| LOW | config/frontend.example.toml | 361 | [query] | COMMENT |
| LOW | config/frontend.example.toml | 381 | ## Only effective when `memory_pool_size` is bounded (>0). | COMMENT |
| LOW | config/frontend.example.toml | 461 | COMMENT | |
| LOW | config/frontend.example.toml | 501 | ## The tokio console address. | COMMENT |
| LOW | config/frontend.example.toml | 521 | allow_vrl_host_access = false | COMMENT |
| LOW | config/flownode.example.toml | 1 | ## The flownode identifier and should be unique in the cluster. | COMMENT |
| LOW | config/flownode.example.toml | 21 | #+experimental_frontend_scan_timeout="30s" | COMMENT |
| LOW | config/flownode.example.toml | 41 | ## Client Private key file path. | COMMENT |
| LOW | config/flownode.example.toml | 141 | ## The percentage of tracing will be sampled and exported. | COMMENT |
| LOW | config/flownode.example.toml | 161 | ## When this limit is reached, queries will fail with ResourceExhausted error. | COMMENT |
| LOW | config/flownode.example.toml | 181 | #+ experimental_spill_path = "/path/to/spill" | COMMENT |
| LOW | config/standalone.example.toml | 1 | ## The default timezone of the server. | COMMENT |
| LOW | config/standalone.example.toml | 21 | ## "mysql_native_password" is MySQL-specific and cannot authenticate over PostgreSQL at all. | COMMENT |
| LOW | config/standalone.example.toml | 41 | init_regions_in_background = false | COMMENT |
| LOW | config/standalone.example.toml | 61 | ## @toml2docs:none-default="Auto" | COMMENT |
| LOW | config/standalone.example.toml | 81 | ## Number of polls between scheduler fairness samples. Must be greater than zero. | COMMENT |
| LOW | config/standalone.example.toml | 101 | ## @toml2docs:none-default | COMMENT |
| LOW | config/standalone.example.toml | 121 | ## Origins allowed by gRPC CORS. An empty list allows any origin. | COMMENT |
| LOW | config/standalone.example.toml | 161 | [mysql.tls] | COMMENT |
| LOW | config/standalone.example.toml | 221 | default_merge_mode = "last_non_null" | COMMENT |
| LOW | config/standalone.example.toml | 241 | # "postgres", | COMMENT |
| LOW | config/standalone.example.toml | 261 | ## Empty protocols or a zero interval disables logical batching without fallback. | COMMENT |
| LOW | config/standalone.example.toml | 281 | enable = true | COMMENT |
| LOW | config/standalone.example.toml | 301 | [prom_store] | COMMENT |
| LOW | config/standalone.example.toml | 321 | COMMENT | |
| LOW | config/standalone.example.toml | 361 | recovery_parallelism = 2 | COMMENT |
| LOW | config/standalone.example.toml | 381 | ## **It's only used when the provider is `kafka`**. | COMMENT |
| LOW | config/standalone.example.toml | 401 | create_topic_timeout = "30s" | COMMENT |
| LOW | config/standalone.example.toml | 421 | ## them as critical errors. | COMMENT |
| LOW | config/standalone.example.toml | 441 | ## - `enqueued`: an append returns once its entries are admitted and their ids are assigned, and the object is created i | COMMENT |
| LOW | config/standalone.example.toml | 461 | ## An existing region fails to open when the prefix held no object when the WAL opened, or when the flushed entry id of | COMMENT |
| LOW | config/standalone.example.toml | 481 | # server_ca_cert_path = "/path/to/server_cert" | COMMENT |
| LOW | config/standalone.example.toml | 501 | ## The maximum number of procedures that can be running at the same time. | COMMENT |
| LOW | config/standalone.example.toml | 521 | # root = "data" | COMMENT |
| LOW | config/standalone.example.toml | 541 | # scope = "test" | COMMENT |
| LOW | config/standalone.example.toml | 561 | ## Supports absolute size (e.g., "2GB", "4GB") or percentage of system memory (e.g., "20%"). | COMMENT |
| LOW | config/standalone.example.toml | 581 | ## Spill directory path. Ignored unless mode is "custom". | COMMENT |
| LOW | config/standalone.example.toml | 601 | ## Upgrade note: COPY commands and existing external tables that reference paths outside this | COMMENT |
| LOW | config/standalone.example.toml | 621 | type = "File" | COMMENT |
| LOW | config/standalone.example.toml | 641 | options = {} | COMMENT |
| LOW | config/standalone.example.toml | 661 | ## **It's only used when the storage type is `Azblob`**. | COMMENT |
| LOW | config/standalone.example.toml | 681 | ## **It's only used when the storage type is `Gcs`**. | COMMENT |
| LOW | config/standalone.example.toml | 721 | COMMENT | |
| 3034 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/perf/test_benchmark_version_comparison.py | 47 | def test_improvement_direction(self): | CODE |
| LOW | tests/perf/test_benchmark_version_comparison.py | 82 | def test_traces_uses_measured_only_and_rejects_failed_query(self): | CODE |
| LOW | tests/perf/test_benchmark_version_comparison.py | 128 | def test_missing_results_and_rendering(self): | CODE |
| LOW | tests/perf/test_ci_runner_scripts.py | 71 | def test_defaults_and_overrides(self): | CODE |
| LOW | tests/perf/test_ci_runner_scripts.py | 81 | def test_traces_workflow_runner_defaults_and_overrides(self): | CODE |
| LOW | tests/perf/test_ci_runner_scripts.py | 113 | def test_traces_selected_targets_and_image_tag(self): | CODE |
| LOW | tests/perf/test_ci_runner_scripts.py | 142 | def test_wrong_provider_and_shell_fragments_rejected(self): | CODE |
| LOW | tests/perf/test_ci_runner_scripts.py | 149 | def test_cli_writes_resolved_output(self): | CODE |
| LOW⚡ | tests/perf/test_ci_runner_scripts.py | 208 | def test_prepared_runner_skips_all_privileged_changes(self): | STRING |
| LOW⚡ | tests/perf/test_ci_runner_scripts.py | 211 | def test_missing_tools_are_installed_without_changing_docker(self): | STRING |
| LOW⚡ | tests/perf/test_ci_runner_scripts.py | 217 | def test_missing_docker_is_installed_once(self): | STRING |
| LOW⚡ | tests/perf/test_ci_runner_scripts.py | 223 | def test_existing_stopped_docker_is_started_without_installation(self): | STRING |
| LOW⚡ | tests/perf/test_ci_runner_scripts.py | 228 | def test_host_policy_matches_aliyun_before_runner_activation(self): | STRING |
| LOW⚡ | tests/perf/test_ci_runner_scripts.py | 259 | def test_disk_size_and_architecture_fail_before_allocation(self): | STRING |
| LOW⚡ | tests/perf/test_ci_runner_scripts.py | 268 | def test_arm_instance_rejected_before_registration(self): | STRING |
| LOW⚡ | tests/perf/test_ci_runner_scripts.py | 277 | def test_create_request_and_recovery_tags(self): | STRING |
| LOW⚡ | tests/perf/test_ci_runner_scripts.py | 390 | def test_targeted_cleanup_recovers_missing_outputs_without_waiting_for_ttl(self): | STRING |
| LOW⚡ | tests/perf/test_ci_runner_scripts.py | 398 | def test_independent_cloud_and_github_cleanup_failures(self): | STRING |
| LOW⚡ | tests/perf/test_ci_runner_scripts.py | 408 | def test_already_gone_instance_still_unregisters(self): | STRING |
| LOW⚡ | tests/perf/test_ci_runner_scripts.py | 414 | def test_retried_teardown_uses_original_instance_and_runner(self): | STRING |
| LOW⚡ | tests/perf/test_ci_runner_scripts.py | 434 | def test_terminate_waits_and_handles_not_found(self): | STRING |
| LOW⚡ | tests/perf/test_ci_runner_scripts.py | 444 | def test_transient_not_found_is_retried(self): | STRING |
| LOW⚡ | tests/perf/test_ci_runner_scripts.py | 452 | def test_missing_tags_are_polled_before_cleanup(self): | STRING |
| LOW⚡ | tests/perf/test_ci_runner_scripts.py | 459 | def test_github_system_exit_does_not_skip_other_instances(self): | STRING |
| LOW⚡ | tests/perf/test_ci_runner_scripts.py | 502 | def test_success_does_not_retry(self): | STRING |
| LOW⚡ | tests/perf/test_ci_runner_scripts.py | 509 | def test_transient_failure_then_success(self): | STRING |
| LOW⚡ | tests/perf/test_ci_runner_scripts.py | 516 | def test_exhaustion_preserves_failure(self): | STRING |
| LOW⚡ | tests/perf/test_ci_runner_scripts.py | 522 | def test_timeout_is_bounded_and_fatal(self): | STRING |
| LOW⚡ | tests/perf/test_ci_runner_scripts.py | 529 | def test_bad_arguments_do_not_call_docker(self): | STRING |
| LOW⚡ | tests/perf/test_ci_runner_scripts.py | 535 | def test_traces_prefetch_executes_catalog_refs_and_stops_on_failure(self): | STRING |
| LOW | tests/perf/test_ci_runner_scripts.py | 241 | def test_ubuntu_image_resolution_and_override(self): | STRING |
| LOW | tests/perf/test_ci_runner_scripts.py | 307 | def test_partial_provision_keeps_outputs_and_console(self): | STRING |
| LOW | tests/perf/test_ci_runner_scripts.py | 320 | def test_online_poll_and_timeout(self): | STRING |
| LOW | tests/perf/test_ci_runner_scripts.py | 349 | def test_pagination_and_ownership_filters(self): | STRING |
| LOW | tests/perf/test_ci_runner_scripts.py | 362 | def test_sweep_expiry_and_missing_or_invalid_ttl(self): | STRING |
| LOW | tests/perf/test_ci_runner_scripts.py | 374 | def test_ttl_decisions_match_aliyun(self): | STRING |
| LOW | tests/perf/test_ci_runner_scripts.py | 588 | def test_workflows_pull_before_generation(self): | STRING |
| LOW⚡ | tests/perf/test_oswal_s3_bench_scripts.py | 360 | def test_acked_batches_present_once_and_an_in_flight_extra_pass(self): | CODE |
| LOW⚡ | tests/perf/test_oswal_s3_bench_scripts.py | 367 | def test_durable_violations_are_reported(self): | CODE |
| LOW⚡ | tests/perf/test_oswal_s3_bench_scripts.py | 375 | def test_enqueued_loses_acked_batches_without_failing(self): | CODE |
| LOW⚡ | tests/perf/test_oswal_s3_bench_scripts.py | 382 | def test_a_later_cycle_reports_only_its_own_losses(self): | CODE |
| LOW⚡ | tests/perf/test_oswal_s3_bench_scripts.py | 1184 | def test_a_drop_cell_whose_writers_fail_stops_before_the_drop(self): | CODE |
| LOW⚡ | tests/perf/test_oswal_s3_bench_scripts.py | 1194 | def test_a_crash_cycle_without_its_scrapes_fails_the_cell(self): | CODE |
| LOW⚡ | tests/perf/test_oswal_s3_bench_scripts.py | 1204 | def test_a_restart_that_loses_rows_fails_the_cell(self): | CODE |
| LOW⚡ | tests/perf/test_oswal_s3_bench_scripts.py | 1213 | def test_every_cell_starts_its_own_image_and_records_the_host_load(self): | CODE |
| LOW | tests/perf/test_oswal_s3_bench_scripts.py | 400 | def test_a_batch_an_earlier_restart_recovered_must_stay_present(self): | CODE |
| LOW | tests/perf/test_oswal_s3_bench_scripts.py | 410 | def test_only_the_current_cycle_may_lose_acknowledged_batches_in_enqueued_mode(self): | CODE |
| LOW | tests/perf/test_oswal_s3_bench_scripts.py | 423 | def test_a_connection_lost_before_the_kill_fails(self): | CODE |
| LOW | tests/perf/test_oswal_s3_bench_scripts.py | 429 | def test_the_writer_stops_each_stripe_at_its_first_unacknowledged_batch(self): | CODE |
| LOW | tests/perf/test_oswal_s3_bench_scripts.py | 472 | def test_writers_stop_at_the_deadline_with_every_batch_acknowledged(self): | CODE |
| LOW | tests/perf/test_oswal_s3_bench_scripts.py | 509 | def test_quantile_interpolates_like_prometheus(self): | CODE |
| LOW | tests/perf/test_oswal_s3_bench_scripts.py | 532 | def test_summary_reports_cells_and_geometric_mean_ratios(self): | CODE |
| LOW | tests/perf/test_oswal_s3_bench_scripts.py | 555 | def test_ratios_cover_both_controls_and_restart_cells_report_recovery(self): | CODE |
| LOW | tests/perf/test_oswal_s3_bench_scripts.py | 584 | def test_traffic_idle_crash_and_pinned_cells_are_summarized(self): | CODE |
| LOW | tests/perf/test_oswal_s3_bench_scripts.py | 634 | def test_partitioned_load_cells_report_client_latency_entries_and_regions(self): | CODE |
| LOW | tests/perf/test_oswal_s3_bench_scripts.py | 656 | def test_restarts_report_what_each_region_replayed(self): | CODE |
| LOW | tests/perf/test_oswal_s3_bench_scripts.py | 695 | def test_a_drop_cell_reports_the_objects_collected_after_its_restart(self): | CODE |
| LOW | tests/perf/test_oswal_s3_bench_scripts.py | 717 | def test_untouched_counters_are_zero_only_for_an_active_object_store_wal(self): | CODE |
| LOW | tests/perf/test_oswal_s3_bench_scripts.py | 731 | def test_a_planned_round_that_never_ran_leaves_the_ratio_undefined(self): | CODE |
| LOW | tests/perf/test_oswal_s3_bench_scripts.py | 748 | def test_a_failed_cell_leaves_its_ratio_undefined(self): | CODE |
| 287 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/ci/scope-rules.toml | 8 | # ----------- | COMMENT |
| MEDIUM | .github/ci/ci_scope.py | 68 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/ci/ci_scope.py | 70 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/ci/ci_scope.py | 102 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/ci/ci_scope.py | 104 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/ci/ci_scope.py | 147 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/ci/ci_scope.py | 149 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/ci/ci_scope.py | 251 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/ci/ci_scope.py | 253 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | src/meta-srv/src/selector/weighted_choose.rs | 57 | /// ─────────────────────────────────▶ | COMMENT |
| MEDIUM⚡ | src/meta-srv/src/selector/weighted_choose.rs | 60 | /// ┌─────────────────┬─────────┬──────────────────────┬─────┬─────────────────┐ | COMMENT |
| MEDIUM⚡ | src/meta-srv/src/selector/weighted_choose.rs | 62 | /// └─────────────────┴─────────┴──────────────────────┴─────┴─────────────────┘ | COMMENT |
| MEDIUM⚡ | src/metric-engine/src/lib.rs | 29 | //! ┌───────────────┐ ┌───────────────┐ ┌───────────────┐ | COMMENT |
| MEDIUM⚡ | src/metric-engine/src/lib.rs | 32 | //! └───────────────┘ └───────────────┘ └───────────────┘ | COMMENT |
| MEDIUM⚡ | src/metric-engine/src/lib.rs | 35 | //! └───────────────┼───────────────────┘ | COMMENT |
| MEDIUM⚡ | src/metric-engine/src/lib.rs | 37 | //! ┌─────────┴────────┐ | COMMENT |
| MEDIUM⚡ | src/metric-engine/src/lib.rs | 40 | //! │ ┌─────────────┤ | COMMENT |
| MEDIUM⚡ | src/metric-engine/src/lib.rs | 43 | //! └────▲─────────────┘ | COMMENT |
| MEDIUM⚡ | src/metric-engine/src/lib.rs | 46 | //! ┌─────┴───────────────┐ | COMMENT |
| MEDIUM⚡ | src/metric-engine/src/lib.rs | 50 | //! └─────────────────────┘ | COMMENT |
| MEDIUM | src/store-api/src/storage/descriptors.rs | 45 | /// ┌────────────────────────────────────┬──────────┬──────────────────┐ | COMMENT |
| MEDIUM | src/store-api/src/storage/descriptors.rs | 47 | /// └────────────────────────────────────┴──────────┴──────────────────┘ | COMMENT |
| MEDIUM | src/mito2/src/read/pruner.rs | 1149 | // ── Corner case: fast-skip across multiple row groups ───────────── | COMMENT |
| MEDIUM⚡ | src/mito2/src/sst/index/inverted_index/creator.rs | 396 | /// ┌──────┐ | COMMENT |
| MEDIUM⚡ | src/mito2/src/sst/index/inverted_index/creator.rs | 397 | /// ┌─────────────┐ │ PIPE │ | COMMENT |
| MEDIUM⚡ | src/mito2/src/sst/index/inverted_index/creator.rs | 399 | /// │ IndexWriter ├──────────────────►│ tx │ | COMMENT |
| MEDIUM⚡ | src/mito2/src/sst/index/inverted_index/creator.rs | 401 | /// └─────────────┘ │ │ | COMMENT |
| MEDIUM⚡ | src/mito2/src/sst/index/inverted_index/creator.rs | 402 | /// ┌─────────────────┤ rx │ | COMMENT |
| MEDIUM⚡ | src/mito2/src/sst/index/inverted_index/creator.rs | 403 | /// ┌─────────────┐ │ read as blob └──────┘ | COMMENT |
| MEDIUM⚡ | src/mito2/src/sst/index/inverted_index/creator.rs | 406 | /// │ │ │ copy to file ┌──────┐ | COMMENT |
| MEDIUM⚡ | src/mito2/src/sst/index/inverted_index/creator.rs | 407 | /// └─────────────┘ └────────────────►│ File │ | COMMENT |
| MEDIUM⚡ | src/mito2/src/sst/index/inverted_index/creator.rs | 408 | /// └──────┘ | COMMENT |
| MEDIUM⚡ | src/mito2/src/sst/index/bloom_filter/creator.rs | 434 | /// ┌──────┐ | COMMENT |
| MEDIUM⚡ | src/mito2/src/sst/index/bloom_filter/creator.rs | 435 | /// ┌─────────────┐ │ PIPE │ | COMMENT |
| MEDIUM⚡ | src/mito2/src/sst/index/bloom_filter/creator.rs | 437 | /// │ IndexWriter ├──────────────────►│ tx │ | COMMENT |
| MEDIUM⚡ | src/mito2/src/sst/index/bloom_filter/creator.rs | 439 | /// └─────────────┘ │ │ | COMMENT |
| MEDIUM⚡ | src/mito2/src/sst/index/bloom_filter/creator.rs | 440 | /// ┌─────────────────┤ rx │ | COMMENT |
| MEDIUM⚡ | src/mito2/src/sst/index/bloom_filter/creator.rs | 441 | /// ┌─────────────┐ │ read as blob └──────┘ | COMMENT |
| MEDIUM⚡ | src/mito2/src/sst/index/bloom_filter/creator.rs | 444 | /// │ │ │ copy to file ┌──────┐ | COMMENT |
| MEDIUM⚡ | src/mito2/src/sst/index/bloom_filter/creator.rs | 445 | /// └─────────────┘ └────────────────►│ File │ | COMMENT |
| MEDIUM⚡ | src/mito2/src/sst/index/bloom_filter/creator.rs | 446 | /// └──────┘ | COMMENT |
| MEDIUM | src/partition/src/multi_dim.rs | 662 | /// ─────────┼──────────┼────────────► b | COMMENT |
| MEDIUM⚡ | src/partition/src/multi_dim.rs | 700 | /// 200 │ ┌─────────┤ | COMMENT |
| MEDIUM⚡ | src/partition/src/multi_dim.rs | 704 | /// 100 │ ======┴─────────┘ | COMMENT |
| MEDIUM⚡ | src/partition/src/multi_dim.rs | 706 | /// └──────────────────────────►b | COMMENT |
| MEDIUM | src/partition/src/multi_dim.rs | 907 | /// ────────────────────────────────┼──► host | COMMENT |
| MEDIUM | src/servers/tests/mysql/mysql_writer_test.rs | 30 | // ── Schema-to-column-def tests ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/servers/tests/mysql/mysql_writer_test.rs | 62 | // ── Individual create_mysql_column type-mapping tests ──────────────────────── | COMMENT |
| MEDIUM | src/servers/tests/mysql/mysql_writer_test.rs | 223 | // ── Column flags tests ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/servers/tests/mysql/mysql_writer_test.rs | 265 | // ── Timestamp precision tests (issue #8227) ─────────────────────────────────── | COMMENT |
| MEDIUM | src/servers/tests/mysql/mysql_writer_test.rs | 265 | // ── Timestamp precision tests (issue #8227) ─────────────────────────────────── | COMMENT |
| MEDIUM | src/servers/tests/mysql/mysql_writer_test.rs | 458 | // ── Column schema convenience constructors ──────────────────────────────────── | COMMENT |
| MEDIUM | src/servers/src/http/result/table_result.rs | 168 | let expected_payload = r#"┌─host────────┬─ts────────────┬─cpu─┬─memory─┐ | CODE |
| MEDIUM⚡ | src/promql/src/range_array.rs | 34 | /// │ ┌─────┬─────┬─────┬─────┐ | COMMENT |
| MEDIUM⚡ | src/promql/src/range_array.rs | 36 | /// Arrays │ └─────┴─────┴─────┴─────┘ (Fixed to i64) | COMMENT |
| MEDIUM⚡ | src/promql/src/range_array.rs | 38 | /// Arrow's │ ┌────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | src/promql/src/range_array.rs | 40 | /// Array │ └────────────────────────────┘(Any Type) | COMMENT |
| MEDIUM⚡ | src/promql/src/range_array.rs | 48 | /// ┌───────────────┼───────────────┐ | COMMENT |
| MEDIUM⚡ | src/promql/src/range_array.rs | 50 | /// └───────────────┼───────────────┘ | COMMENT |
| MEDIUM⚡ | src/promql/src/range_array.rs | 57 | /// ┌───────┬───────┬───────┐ ┌───────┐ | COMMENT |
| 3 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/perf/test_oswal_s3_bench_scripts.py | 808 | for arg in "$@"; do [[ "$arg" != -d ]] || { echo $(($(cat "$FAKE_LOG.runs" 2>/dev/null || echo 0) + 1)) > "$FAKE | CODE |
| HIGH | tests/perf/test_oswal_s3_bench_scripts.py | 816 | kill) touch "${FAKE_KILL_FLAG:-/dev/null}" ;; | CODE |
| HIGH | tests/perf/test_oswal_s3_bench_scripts.py | 851 | run=$(cat "$FAKE_LOG.runs") n=$(($(cat "$FAKE_LOG.scrapes.$run" 2>/dev/null || echo 0) + 1)) | CODE |
| HIGH⚡ | .github/scripts/aliyun-ecs-runner-provision.py | 172 | systemctl disable --now systemd-oomd.socket systemd-oomd.service || true | STRING |
| HIGH⚡ | .github/scripts/aliyun-ecs-runner-provision.py | 173 | systemctl mask systemd-oomd.socket systemd-oomd.service || true | STRING |
| HIGH⚡ | .github/scripts/aliyun-ecs-runner-provision.py | 178 | systemctl disable --now unattended-upgrades.service apt-daily.timer apt-daily-upgrade.timer apt-daily.service apt-daily- | STRING |
| HIGH⚡ | .github/scripts/aliyun-ecs-runner-provision.py | 179 | systemctl mask unattended-upgrades.service apt-daily.timer apt-daily-upgrade.timer apt-daily.service apt-daily-upgrade.s | STRING |
| HIGH⚡ | .github/scripts/aliyun-ecs-runner-provision.py | 180 | systemctl stop unattended-upgrades.service || true | STRING |
| HIGH⚡ | .github/scripts/aliyun-ecs-runner-provision.py | 181 | killall -9 unattended-upgr || true | STRING |
| HIGH⚡ | .github/scripts/aws-ec2-runner-provision.py | 128 | systemctl disable --now systemd-oomd.socket systemd-oomd.service || true | CODE |
| HIGH⚡ | .github/scripts/aws-ec2-runner-provision.py | 129 | systemctl mask systemd-oomd.socket systemd-oomd.service || true | CODE |
| HIGH⚡ | .github/scripts/aws-ec2-runner-provision.py | 134 | systemctl disable --now unattended-upgrades.service apt-daily.timer apt-daily-upgrade.timer apt-daily.service apt-daily- | CODE |
| HIGH⚡ | .github/scripts/aws-ec2-runner-provision.py | 135 | systemctl mask unattended-upgrades.service apt-daily.timer apt-daily-upgrade.timer apt-daily.service apt-daily-upgrade.s | CODE |
| HIGH⚡ | .github/scripts/aws-ec2-runner-provision.py | 136 | systemctl stop unattended-upgrades.service || true | CODE |
| HIGH⚡ | .github/scripts/aws-ec2-runner-provision.py | 137 | killall -9 unattended-upgr || true | CODE |
| HIGH | .github/scripts/aws-ec2-runner-provision.py | 153 | id runner >/dev/null 2>&1 || useradd --create-home --shell /bin/bash runner | CODE |
| HIGH | .github/scripts/aws-ec2-runner-provision.py | 155 | getent group docker >/dev/null || groupadd --system docker | CODE |
| HIGH⚡ | …ale-sets/query-regression/ecs-image/build-ecs-image.py | 129 | trap 'docker rm -f "${{container}}" >/dev/null 2>&1 || true' EXIT | CODE |
| HIGH⚡ | …ale-sets/query-regression/ecs-image/build-ecs-image.py | 138 | groupadd --gid 1001 runner 2>/dev/null || true | CODE |
| HIGH⚡ | …ale-sets/query-regression/ecs-image/build-ecs-image.py | 139 | useradd --uid 1001 --gid 1001 --home-dir /home/runner --shell /bin/bash runner 2>/dev/null || true | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests-integration/src/tests/gc.rs | 135 | // Step 1: Create table with append_mode to easily generate multiple files | COMMENT |
| LOW⚡ | tests-integration/src/tests/gc.rs | 145 | // Step 2: Generate SST files by inserting data and flushing multiple times | COMMENT |
| LOW | tests-integration/src/tests/gc.rs | 171 | // Step 3: Get table information | COMMENT |
| LOW | tests-integration/src/tests/gc.rs | 188 | // Step 4: Trigger compaction to create garbage SST files | COMMENT |
| LOW⚡ | tests-integration/src/tests/gc.rs | 203 | // Step 5: Get table route information for GC procedure | COMMENT |
| LOW⚡ | tests-integration/src/tests/gc.rs | 207 | // Step 6: Create and execute BatchGcProcedure | COMMENT |
| LOW | tests-integration/src/tests/gc.rs | 232 | // Step 7: Verify GC results | COMMENT |
| LOW⚡ | tests-integration/src/tests/gc/admin.rs | 46 | // Step 1: Create table with append_mode to easily generate multiple files | COMMENT |
| LOW⚡ | tests-integration/src/tests/gc/admin.rs | 56 | // Step 2: Generate SST files by inserting data and flushing multiple times | COMMENT |
| LOW⚡ | tests-integration/src/tests/gc/admin.rs | 102 | // Step 4: Use ADMIN GC_TABLE to clean up garbage files | COMMENT |
| LOW⚡ | tests-integration/src/tests/gc/admin.rs | 107 | // Step 5: Verify GC results | COMMENT |
| LOW⚡ | tests-integration/src/tests/gc/admin.rs | 166 | // Step 1: Create table with append_mode to easily generate multiple files | COMMENT |
| LOW⚡ | tests-integration/src/tests/gc/admin.rs | 176 | // Step 2: Generate SST files by inserting data and flushing multiple times | COMMENT |
| LOW⚡ | tests-integration/src/tests/gc/admin.rs | 240 | // Step 5: Use ADMIN GC_REGIONS to clean up garbage files for the specific region | COMMENT |
| LOW⚡ | tests-integration/src/tests/gc/admin.rs | 245 | // Step 6: Verify GC results | COMMENT |
| LOW | tests-integration/src/tests/gc/admin.rs | 90 | // Step 3: Trigger compaction to create garbage SST files | COMMENT |
| LOW | tests-integration/src/tests/gc/admin.rs | 210 | // Step 3: Trigger compaction to create garbage SST files | COMMENT |
| LOW | tests-integration/src/tests/gc/admin.rs | 222 | // Step 4: Get region id from information_schema | COMMENT |
| LOW | src/meta-srv/src/gc/handler.rs | 303 | // Step 2: Run GC for all regions on this datanode in a single batch | COMMENT |
| LOW | src/meta-srv/src/gc/handler.rs | 404 | // Step 3: Process the combined GC report and update table reports | COMMENT |
| LOW⚡ | src/metric-engine/benches/bench_tsid_generator.rs | 231 | // Step 1: Compute label name hash for non-null labels | COMMENT |
| LOW⚡ | src/metric-engine/benches/bench_tsid_generator.rs | 240 | // Step 2: Use label name hash and hash values | COMMENT |
| LOW⚡ | src/common/meta/src/sequence.rs | 636 | // Step 1: Establish a low value in storage | COMMENT |
| LOW⚡ | src/common/meta/src/sequence.rs | 643 | // Step 2: Create sequence with much larger initial | COMMENT |
| LOW⚡ | src/common/meta/src/sequence.rs | 653 | // Step 3: Verify subsequent sequences continue from updated storage | COMMENT |
| LOW | src/common/meta/src/ddl/utils.rs | 243 | /// For partial success, we need to check if the errors are retryable. | COMMENT |
| LOW⚡ | src/common/meta/src/election/rds/mysql.rs | 1527 | // Step 2: As a leader, renew the lease. | COMMENT |
| LOW⚡ | src/common/meta/src/election/rds/mysql.rs | 1536 | // Step 3: Something wrong, the leader lease expired. | COMMENT |
| LOW⚡ | src/common/meta/src/election/rds/mysql.rs | 1748 | // Step 1: As a follower, the leader exists and the lease is not expired. Do nothing. | COMMENT |
| LOW⚡ | src/common/meta/src/election/rds/mysql.rs | 1751 | // Step 2: As a follower, the leader exists but the lease expired. Re-elect itself. | COMMENT |
| LOW | src/common/meta/src/election/rds/mysql.rs | 1507 | // Step 1: No leader exists, campaign and elected. | COMMENT |
| LOW | src/common/meta/src/election/rds/mysql.rs | 1557 | // Step 4: Re-elect itself. | COMMENT |
| LOW | src/common/meta/src/election/rds/mysql.rs | 1577 | // Step 5: Something wrong, the leader key is deleted by other followers. | COMMENT |
| LOW | src/common/meta/src/election/rds/mysql.rs | 1604 | // Step 6: Re-elect itself. | COMMENT |
| LOW | src/common/meta/src/election/rds/mysql.rs | 1624 | // Step 7: Something wrong, the leader key changed by others. | COMMENT |
| LOW⚡ | src/common/meta/src/election/rds/postgres.rs | 1709 | // Step 1: As a follower, the leader exists and the lease is not expired. | COMMENT |
| LOW⚡ | src/common/meta/src/election/rds/postgres.rs | 1712 | // Step 2: As a follower, the leader exists but the lease expired. | COMMENT |
| LOW⚡ | src/common/meta/src/election/rds/postgres.rs | 1716 | // Step 3: As a follower, the leader does not exist. | COMMENT |
| LOW⚡ | src/common/meta/src/election/rds/postgres.rs | 1723 | // Step 4: Follower thinks it's the leader but failed to acquire the lock. | COMMENT |
| LOW | src/common/meta/src/election/rds/postgres.rs | 1255 | // Step 1: No leader exists, campaign and elected. | COMMENT |
| LOW | src/common/meta/src/election/rds/postgres.rs | 1306 | // Step 2: As a leader, renew the lease. | COMMENT |
| LOW | src/common/meta/src/election/rds/postgres.rs | 1328 | // Step 3: Something wrong, the leader lease expired. | COMMENT |
| LOW | src/common/meta/src/election/rds/postgres.rs | 1360 | // Step 4: Re-campaign and elected. | COMMENT |
| LOW | src/common/meta/src/election/rds/postgres.rs | 1393 | // Step 5: Something wrong, the leader key is deleted by other followers. | COMMENT |
| LOW | src/common/meta/src/election/rds/postgres.rs | 1419 | // Step 6: Re-campaign and elected. | COMMENT |
| LOW | src/common/meta/src/election/rds/postgres.rs | 1452 | // Step 7: Something wrong, the leader key changed by others. | COMMENT |
| LOW | src/mito2/src/gc.rs | 785 | // Step 2: Concurrently list all parquet files in the region root directory | COMMENT |
| LOW | src/mito2/src/gc.rs | 1121 | // Step 3: Filter files to determine which ones can be deleted | COMMENT |
| LOW | src/mito2/src/sst/parquet/row_selection.rs | 172 | // Step 1: Convert segment IDs to row ranges within row groups. | COMMENT |
| LOW | src/mito2/src/sst/parquet/row_selection.rs | 201 | // Step 2: Group ranges by row group ID and create row selections | COMMENT |
| LOW⚡ | src/mito2/src/sst/parquet/row_selection.rs | 256 | // Step 1: Group row IDs by their row group | COMMENT |
| LOW⚡ | src/mito2/src/sst/parquet/row_selection.rs | 260 | // Step 2: Create row selections for each row group | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests-integration/src/tests/gc.rs | 135 | // Step 1: Create table with append_mode to easily generate multiple files | COMMENT |
| LOW⚡ | tests-integration/src/tests/gc.rs | 145 | // Step 2: Generate SST files by inserting data and flushing multiple times | COMMENT |
| LOW | tests-integration/src/tests/gc.rs | 171 | // Step 3: Get table information | COMMENT |
| LOW | tests-integration/src/tests/gc.rs | 188 | // Step 4: Trigger compaction to create garbage SST files | COMMENT |
| LOW⚡ | tests-integration/src/tests/gc.rs | 203 | // Step 5: Get table route information for GC procedure | COMMENT |
| LOW⚡ | tests-integration/src/tests/gc.rs | 207 | // Step 6: Create and execute BatchGcProcedure | COMMENT |
| LOW | tests-integration/src/tests/gc.rs | 232 | // Step 7: Verify GC results | COMMENT |
| LOW⚡ | tests-integration/src/tests/gc/admin.rs | 46 | // Step 1: Create table with append_mode to easily generate multiple files | COMMENT |
| LOW⚡ | tests-integration/src/tests/gc/admin.rs | 56 | // Step 2: Generate SST files by inserting data and flushing multiple times | COMMENT |
| LOW⚡ | tests-integration/src/tests/gc/admin.rs | 102 | // Step 4: Use ADMIN GC_TABLE to clean up garbage files | COMMENT |
| LOW⚡ | tests-integration/src/tests/gc/admin.rs | 107 | // Step 5: Verify GC results | COMMENT |
| LOW⚡ | tests-integration/src/tests/gc/admin.rs | 166 | // Step 1: Create table with append_mode to easily generate multiple files | COMMENT |
| LOW⚡ | tests-integration/src/tests/gc/admin.rs | 176 | // Step 2: Generate SST files by inserting data and flushing multiple times | COMMENT |
| LOW⚡ | tests-integration/src/tests/gc/admin.rs | 240 | // Step 5: Use ADMIN GC_REGIONS to clean up garbage files for the specific region | COMMENT |
| LOW⚡ | tests-integration/src/tests/gc/admin.rs | 245 | // Step 6: Verify GC results | COMMENT |
| LOW | tests-integration/src/tests/gc/admin.rs | 90 | // Step 3: Trigger compaction to create garbage SST files | COMMENT |
| LOW | tests-integration/src/tests/gc/admin.rs | 210 | // Step 3: Trigger compaction to create garbage SST files | COMMENT |
| LOW | tests-integration/src/tests/gc/admin.rs | 222 | // Step 4: Get region id from information_schema | COMMENT |
| LOW | src/meta-srv/src/gc/handler.rs | 303 | // Step 2: Run GC for all regions on this datanode in a single batch | COMMENT |
| LOW | src/meta-srv/src/gc/handler.rs | 404 | // Step 3: Process the combined GC report and update table reports | COMMENT |
| LOW⚡ | src/metric-engine/benches/bench_tsid_generator.rs | 231 | // Step 1: Compute label name hash for non-null labels | COMMENT |
| LOW⚡ | src/metric-engine/benches/bench_tsid_generator.rs | 240 | // Step 2: Use label name hash and hash values | COMMENT |
| LOW⚡ | src/common/meta/src/sequence.rs | 636 | // Step 1: Establish a low value in storage | COMMENT |
| LOW⚡ | src/common/meta/src/sequence.rs | 643 | // Step 2: Create sequence with much larger initial | COMMENT |
| LOW⚡ | src/common/meta/src/sequence.rs | 653 | // Step 3: Verify subsequent sequences continue from updated storage | COMMENT |
| LOW⚡ | src/common/meta/src/election/rds/mysql.rs | 1527 | // Step 2: As a leader, renew the lease. | COMMENT |
| LOW⚡ | src/common/meta/src/election/rds/mysql.rs | 1536 | // Step 3: Something wrong, the leader lease expired. | COMMENT |
| LOW⚡ | src/common/meta/src/election/rds/mysql.rs | 1748 | // Step 1: As a follower, the leader exists and the lease is not expired. Do nothing. | COMMENT |
| LOW⚡ | src/common/meta/src/election/rds/mysql.rs | 1751 | // Step 2: As a follower, the leader exists but the lease expired. Re-elect itself. | COMMENT |
| LOW | src/common/meta/src/election/rds/mysql.rs | 1507 | // Step 1: No leader exists, campaign and elected. | COMMENT |
| LOW | src/common/meta/src/election/rds/mysql.rs | 1557 | // Step 4: Re-elect itself. | COMMENT |
| LOW | src/common/meta/src/election/rds/mysql.rs | 1577 | // Step 5: Something wrong, the leader key is deleted by other followers. | COMMENT |
| LOW | src/common/meta/src/election/rds/mysql.rs | 1604 | // Step 6: Re-elect itself. | COMMENT |
| LOW | src/common/meta/src/election/rds/mysql.rs | 1624 | // Step 7: Something wrong, the leader key changed by others. | COMMENT |
| LOW⚡ | src/common/meta/src/election/rds/postgres.rs | 1709 | // Step 1: As a follower, the leader exists and the lease is not expired. | COMMENT |
| LOW⚡ | src/common/meta/src/election/rds/postgres.rs | 1712 | // Step 2: As a follower, the leader exists but the lease expired. | COMMENT |
| LOW⚡ | src/common/meta/src/election/rds/postgres.rs | 1716 | // Step 3: As a follower, the leader does not exist. | COMMENT |
| LOW⚡ | src/common/meta/src/election/rds/postgres.rs | 1723 | // Step 4: Follower thinks it's the leader but failed to acquire the lock. | COMMENT |
| LOW | src/common/meta/src/election/rds/postgres.rs | 1255 | // Step 1: No leader exists, campaign and elected. | COMMENT |
| LOW | src/common/meta/src/election/rds/postgres.rs | 1306 | // Step 2: As a leader, renew the lease. | COMMENT |
| LOW | src/common/meta/src/election/rds/postgres.rs | 1328 | // Step 3: Something wrong, the leader lease expired. | COMMENT |
| LOW | src/common/meta/src/election/rds/postgres.rs | 1360 | // Step 4: Re-campaign and elected. | COMMENT |
| LOW | src/common/meta/src/election/rds/postgres.rs | 1393 | // Step 5: Something wrong, the leader key is deleted by other followers. | COMMENT |
| LOW | src/common/meta/src/election/rds/postgres.rs | 1419 | // Step 6: Re-campaign and elected. | COMMENT |
| LOW | src/common/meta/src/election/rds/postgres.rs | 1452 | // Step 7: Something wrong, the leader key changed by others. | COMMENT |
| LOW | src/mito2/src/gc.rs | 785 | // Step 2: Concurrently list all parquet files in the region root directory | COMMENT |
| LOW | src/mito2/src/gc.rs | 1121 | // Step 3: Filter files to determine which ones can be deleted | COMMENT |
| LOW | src/mito2/src/sst/parquet/row_selection.rs | 172 | // Step 1: Convert segment IDs to row ranges within row groups. | COMMENT |
| LOW | src/mito2/src/sst/parquet/row_selection.rs | 201 | // Step 2: Group ranges by row group ID and create row selections | COMMENT |
| LOW⚡ | src/mito2/src/sst/parquet/row_selection.rs | 256 | // Step 1: Group row IDs by their row group | COMMENT |
| LOW⚡ | src/mito2/src/sst/parquet/row_selection.rs | 260 | // Step 2: Create row selections for each row group | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | tests/cases/standalone/common/function/matches_term.sql | 165 | (1, '[2026/04/09/ 13:56:11.031]2026-04-09 13:56:11.031 - [ trace_id=340a6a44b0bd8e37bb7697ss7da61ff0 span_id=085ff5t | CODE |
| CRITICAL | src/common/meta/src/ddl/alter_table.rs | 156 | let alter_kind = self.data.task.alter_table.kind.as_ref().unwrap(); | CODE |
| CRITICAL | src/common/meta/src/ddl/alter_table.rs | 451 | let alter_kind = self.data.task.alter_table.kind.as_ref().unwrap(); | CODE |
| CRITICAL | src/common/meta/src/ddl/alter_table.rs | 508 | let alter_kind = self.data.task.alter_table.kind.as_ref().unwrap(); | CODE |
| CRITICAL | src/common/meta/src/ddl/alter_table/region_request.rs | 32 | let alter_kind = self.data.task.alter_table.kind.as_ref().unwrap(); | CODE |
| CRITICAL | src/index/benches/index_build_bench.rs | 155 | "at org.apache.kafka.clients.consumer.KafkaConsumer.poll(KafkaConsumer.java:1250)", | CODE |
| CRITICAL | src/mito2/src/read/pruner.rs | 106 | let file_index = index.index - self.pruner.inner.stream_ctx.input.num_memtables(); | CODE |
| CRITICAL | src/mito2/src/read/pruner.rs | 183 | .then(|| index.index - self.pruner.inner.stream_ctx.input.num_memtables()) | CODE |
| CRITICAL | src/flow/src/server.rs | 242 | self.flownode_server.inner.flow_service.dual_engine.clone() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/perf/test_ci_runner_scripts.py | 81 | CODE | |
| LOW | tests/perf/test_ci_runner_scripts.py | 113 | CODE | |
| LOW | tests/perf/test_ci_runner_scripts.py | 320 | CODE | |
| LOW | tests/perf/test_oswal_s3_bench_scripts.py | 429 | CODE | |
| LOW | tests/perf/test_oswal_s3_bench_scripts.py | 1288 | CODE | |
| LOW | …perf/test_query_regression_runner_compaction_toctou.py | 119 | CODE | |
| LOW | tests/perf/test_query_regression_slash.py | 429 | CODE | |
| LOW | tests/perf/test_query_regression_helpers.py | 49 | CODE | |
| LOW | tests/perf/test_query_regression_helpers.py | 88 | CODE | |
| LOW | tests/perf/test_query_regression_helpers.py | 127 | CODE | |
| LOW | scripts/check-snafu.py | 20 | CODE | |
| LOW | .github/ci/ci_scope.py | 107 | CODE | |
| LOW | .github/ci/ci_scope.py | 274 | CODE | |
| LOW | .github/ci/ci_scope.py | 579 | CODE | |
| LOW | .github/ci/tests/test_ci_scope.py | 72 | CODE | |
| LOW | .github/scripts/tracesbench-summary.py | 69 | CODE | |
| LOW | .github/scripts/oswal-s3-bench-summary.py | 268 | CODE | |
| LOW | .github/scripts/oswal-s3-bench-crash.py | 108 | CODE | |
| LOW | .github/scripts/query-regression-helpers.py | 41 | CODE | |
| LOW | .github/scripts/aws-ec2-runner-teardown.py | 64 | CODE | |
| LOW | .github/scripts/aws-ec2-runner-teardown.py | 86 | CODE | |
| LOW | .github/scripts/update-compat-versions.py | 406 | CODE | |
| LOW | .github/scripts/oswal-s3-bench.py | 208 | CODE | |
| LOW | .github/scripts/oswal-s3-bench.py | 433 | CODE | |
| LOW | .github/scripts/metric-snapshot-fixture.py | 96 | CODE | |
| LOW | .github/scripts/query-regression-run.py | 179 | CODE | |
| LOW | .github/scripts/query-regression-run.py | 323 | CODE | |
| LOW | .github/scripts/query-regression-run.py | 657 | CODE | |
| LOW | .github/scripts/metric-snapshot-s3-ops.py | 80 | CODE | |
| LOW | .github/scripts/metric-snapshot-s3-ops.py | 127 | CODE | |
| LOW | .github/scripts/metric-snapshot-s3-ops.py | 174 | CODE | |
| LOW | .github/scripts/benchmark_resource_summary.py | 43 | CODE | |
| LOW | .github/scripts/benchmark_resource_summary.py | 66 | CODE | |
| LOW | .github/scripts/aliyun-ecs-runner-teardown.py | 77 | CODE | |
| LOW | .github/scripts/tests/test_ci_slash.py | 89 | CODE | |
| LOW | …ale-sets/query-regression/ecs-image/build-ecs-image.py | 303 | CODE | |
| LOW | src/common/datasource/tests/orc/write.py | 55 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/check-git-deps.yml | 42 | # Create a temporary directory for cloning | COMMENT |
| MEDIUM | .github/scripts/deploy-greptimedb.sh | 15 | # Create a cluster with 1 control-plane node and 5 workers. | COMMENT |
| MEDIUM | .github/scripts/update-homebrew-greptme-version.sh | 32 | # Create a Pull Request. | COMMENT |
| MEDIUM | .github/scripts/update-helm-charts-version.sh | 36 | # Create a Pull Request. | COMMENT |
| MEDIUM | .github/scripts/update-dev-builder-version.sh | 27 | # Create a Pull Request. | COMMENT |
| MEDIUM⚡ | src/servers/tests/ssl/gen-certs.sh | 3 | # Create the self-signed CA certificate. | COMMENT |
| MEDIUM⚡ | src/servers/tests/ssl/gen-certs.sh | 11 | # Create the server private key. | COMMENT |
| MEDIUM⚡ | src/servers/tests/ssl/gen-certs.sh | 14 | # Create the server certificate signing request. | COMMENT |
| MEDIUM⚡ | src/servers/tests/ssl/gen-certs.sh | 17 | # Create the server certificate. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config/frontend.example.toml | 389 | ## Set this to "custom" before using the path/quota/compression keys below. | COMMENT |
| LOW | config/flownode.example.toml | 177 | ## Set this to "custom" before using the path/quota/compression keys below. | COMMENT |
| LOW | config/standalone.example.toml | 579 | ## Set this to "custom" before using the path/quota/compression keys below. | COMMENT |
| LOW | config/datanode.example.toml | 360 | ## Set this to "custom" before using the path/quota/compression keys below. | COMMENT |
| LOW | grafana/scripts/check.sh | 14 | # Check if any invalid panels were found | COMMENT |
| LOW | docs/how-to/memory-profile-scripts/scripts/dump.sh | 21 | # Check if PID is provided as an argument | COMMENT |
| LOW | docs/how-to/memory-profile-scripts/scripts/dump.sh | 38 | # Check if ps command was successful and returned a number | COMMENT |
| LOW⚡ | …to/memory-profile-scripts/scripts/gen_from_collapse.sh | 7 | # Check if flamegraph.pl exists | COMMENT |
| LOW⚡ | …to/memory-profile-scripts/scripts/gen_from_collapse.sh | 13 | # Check if directory argument is provided | COMMENT |
| LOW⚡ | …to/memory-profile-scripts/scripts/gen_from_collapse.sh | 21 | # Check if the provided argument is a directory | COMMENT |
| LOW | scripts/install.sh | 127 | # Check if files already exist and prompt for override | COMMENT |
| LOW | .github/workflows/check-git-deps.yml | 62 | # Check if commit exists | COMMENT |
| LOW | .github/workflows/check-git-deps.yml | 64 | # Check if commit is on main branch | COMMENT |
| LOW | .github/scripts/copy-image.sh | 10 | # Check if necessary variables are set. | COMMENT |
| LOW | .github/scripts/copy-image.sh | 23 | # Check if docker is installed. | COMMENT |
| LOW | .github/scripts/upload-artifacts-to-s3.sh | 11 | # Check if necessary variables are set. | COMMENT |
| LOW | .github/scripts/upload-artifacts-to-s3.sh | 92 | # Check if jq is installed. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/scripts/aliyun-ecs-runner-provision.py | 45 | CODE | |
| LOW | .github/scripts/aliyun-ecs-runner-provision.py | 54 | CODE | |
| LOW | .github/scripts/query-regression-slash.py | 29 | CODE | |
| LOW | .github/scripts/oswal-s3-bench-summary.py | 18 | CODE | |
| LOW | .github/scripts/query-regression-summary.py | 18 | CODE | |
| LOW | .github/scripts/oswal-s3-bench-crash.py | 27 | CODE | |
| LOW | .github/scripts/runner_utils.py | 18 | CODE | |
| LOW | .github/scripts/aws-ec2-runner-teardown.py | 23 | CODE | |
| LOW | .github/scripts/update-compat-versions.py | 25 | CODE | |
| LOW | .github/scripts/oswal-s3-bench.py | 23 | CODE | |
| LOW | .github/scripts/aws-ec2-runner-provision.py | 23 | CODE | |
| LOW | .github/scripts/query-regression-run.py | 18 | CODE | |
| LOW | .github/scripts/query-regression-pr-metadata.py | 18 | CODE | |
| LOW | .github/scripts/query-regression-nightly-refs.py | 22 | CODE | |
| LOW | .github/scripts/aliyun-ecs-runner-teardown.py | 41 | CODE | |
| LOW | .github/scripts/previous-release-tag.py | 27 | CODE | |
| LOW | .github/scripts/run-compat.py | 27 | CODE | |
| LOW | .github/scripts/run-compat.py | 35 | CODE | |
| LOW | …ale-sets/query-regression/ecs-image/build-ecs-image.py | 46 | CODE | |
| LOW | src/common/datasource/tests/orc/write.py | 15 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | .github/workflows/update-compat-versions.yml | 136 | --body $'I hereby agree to the terms of the [GreptimeDB CLA](https://github.com/GreptimeTeam/.github/blob/ma | CODE |
| HIGH | .github/workflows/update-compat-versions.yml | 136 | --body $'I hereby agree to the terms of the [GreptimeDB CLA](https://github.com/GreptimeTeam/.github/blob/ma | CODE |
| HIGH | src/meta-srv/src/handler.rs | 592 | // In this implementation, we pre-occupy the message_id of 0, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/scripts/aliyun-ecs-runner-provision.py | 307 | except Exception as error: # noqa: BLE001 | STRING |
| LOW | .github/scripts/aliyun-ecs-runner-provision.py | 322 | except Exception as error: # noqa: BLE001 | STRING |
| MEDIUM | .github/scripts/aliyun-ecs-runner-provision.py | 304 | def poll(self) -> None: | CODE |
| LOW | .github/scripts/oswal-s3-bench-crash.py | 83 | except Exception as error: | CODE |
| MEDIUM | .github/scripts/oswal-s3-bench-crash.py | 80 | def run(index): | CODE |
| LOW | .github/scripts/runner_utils.py | 99 | except Exception as error: # noqa: BLE001 | CODE |
| LOW | .github/scripts/aws-ec2-runner-teardown.py | 72 | except Exception as error: | CODE |
| LOW | .github/scripts/oswal-s3-bench.py | 411 | except Exception: | CODE |
| LOW | .github/scripts/aws-ec2-runner-provision.py | 220 | except Exception as error: | STRING |
| LOW | .github/scripts/query-regression-run.py | 187 | except Exception as err: # noqa: BLE001 - retain the last health diagnostic | CODE |
| LOW | .github/scripts/query-regression-run.py | 304 | except Exception as err: | CODE |
| LOW | .github/scripts/query-regression-run.py | 800 | except Exception as err: | CODE |
| LOW | .github/scripts/query-regression-run.py | 812 | except Exception as err: # noqa: BLE001 - preserve an aggregate report for the summary step | CODE |
| LOW | .github/scripts/aliyun-ecs-runner-teardown.py | 151 | except Exception as error: # noqa: BLE001 | CODE |
| LOW | …ale-sets/query-regression/ecs-image/build-ecs-image.py | 224 | except Exception as error: # noqa: BLE001 | STRING |
| LOW | …ale-sets/query-regression/ecs-image/build-ecs-image.py | 401 | except Exception as error: # noqa: BLE001 | CODE |
| LOW | …ale-sets/query-regression/ecs-image/build-ecs-image.py | 451 | except Exception as error: # noqa: BLE001 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/frontend/src/instance/jaeger.rs | 577 | // to utilize them through DataFrame APIs. To address this limitation, we create a new session | COMMENT |
| MEDIUM | src/index/src/inverted_index/create/sort_create.rs | 55 | /// Caller may leverage this behavior to create indexes with no data. | COMMENT |
| MEDIUM | src/query/src/dist_plan/analyzer/fallback.rs | 17 | //! This is a temporary solution, and will be removed once we have a more robust plan rewriter | COMMENT |
| MEDIUM | src/query/src/dist_plan/analyzer/fallback.rs | 28 | /// This is a temporary solution, and will be removed once we have a more robust plan rewriter | COMMENT |
| MEDIUM | src/servers/src/repeated_field.rs | 17 | // This code is to leverage the pooling mechanism to avoid frequent heap allocation/de-allocation when decoding deeply n | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | .github/scripts/query-regression-run.py | 695 | except subprocess.TimeoutExpired: | CODE |
| HIGH | .github/scripts/benchmark_resource_summary.py | 61 | except (OSError, ValueError, TypeError, AttributeError): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ts/cases/standalone/common/join/using_clause_joins.sql | 14 | (101, 'John Doe', 'NYC', 1000), (102, 'Jane Smith', 'LA', 2000), (103, 'Bob Wilson', 'Chicago', 3000); | CODE |
| LOW | …ses/standalone/common/function/string/like_pattern.sql | 30 | ('John Doe', 'john@example.com', 1000), | CODE |
| LOW⚡ | src/index/benches/tokenizer_bench.rs | 96 | "The quick brown fox jumps over the lazy dog. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed d | CODE |
| LOW⚡ | src/index/benches/tokenizer_bench.rs | 96 | "The quick brown fox jumps over the lazy dog. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed d | CODE |
| LOW⚡ | src/index/benches/tokenizer_bench.rs | 100 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolo | CODE |
| LOW⚡ | src/index/benches/tokenizer_bench.rs | 100 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolo | CODE |
| LOW | …/operator/src/statement/export_logical_tables/tests.rs | 185 | let input = batch(vec![Some(1025); 4], vec![Some("placeholder"); 4]); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | CONTRIBUTING.md | 112 | ### Why fully AI-generated PRs without understanding are not helpful | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/scripts/copy-image.sh | 44 | # Usage example: | COMMENT |
| LOW | .github/scripts/upload-artifacts-to-s3.sh | 122 | # Usage example: | COMMENT |
| LOW | …ts/query-regression/ecs-image/bootstrap-runner-host.sh | 32 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/scripts/agent-observability-summary.py | 205 | lines += ['## Phase timings', '', 'Phase duration includes orchestration overhead. Container cleanup does not prove | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/datanode/src/datanode.rs | 710 | object_store_manager.default_object_store().clone(), // TODO: implement custom storage for file engine | CODE |