{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"]}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"]}},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AC7","name":"A11y enforcement","shortDescription":{"text":"A11y enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/AC7"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"DM4","name":"Rich vs anemic domain model","shortDescription":{"text":"Rich vs anemic domain model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"id":"ES2","name":"Immutable events","shortDescription":{"text":"Immutable events"},"helpUri":"https://codehealth.canine.dev/dimensions/ES2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"SortingFieldExtractorComponent::convert_to_u64_ff_val (cyclomatic 50): SortingFieldExtractorComponent::convert_to_u64_ff_val has cyclomatic complexity 50 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/collector.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"530f03f1b7ca8d2658bc9801bcf46048e2c544ba0f29a1f5e02fa37eca64b9f9"}},{"ruleId":"D1","level":"warning","message":{"text":"quickwit_serve::serve_quickwit (cyclomatic 32): quickwit_serve::serve_quickwit has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/lib.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"9335ed423965dc64c95f75e9c15227036f23708651849492c9c99f0c17f47a89"}},{"ruleId":"D1","level":"warning","message":{"text":"TantivyBoolQuery::simplify (cyclomatic 30): TantivyBoolQuery::simplify has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-query/src/query_ast/tantivy_query_ast.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27a01aac0d738d03ddb59989de4688fc1f9609e663f1243a5d2bcffada75228"}},{"ruleId":"D1","level":"warning","message":{"text":"quickwit_metastore::metastore::file_backed::file_backed_index::split_query_predicate (cyclomatic 23): quickwit_metastore::metastore::file_backed::file_backed_index::split_query_predicate has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/file_backed/file_backed_index/mod.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e08483804ab698231102c74d5ad473928f590fcceb4f258200d0ada7edc16e6"}},{"ruleId":"D1","level":"warning","message":{"text":"quickwit_ingest::ingest_v2::router::update_ingest_metrics (cyclomatic 22): quickwit_ingest::ingest_v2::router::update_ingest_metrics has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ingest/src/ingest_v2/router.rs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3b3b803d5182fd94d7a6651b5931257772702042fd7248667d490e5f8335be"}},{"ruleId":"D1","level":"warning","message":{"text":"quickwit_jaeger::build_search_query (cyclomatic 22): quickwit_jaeger::build_search_query has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-jaeger/src/lib.rs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"393933de3cfd7a922c3369a5dc803a910dc9eeb33d43a065abc26585c1d6a948"}},{"ruleId":"D1","level":"warning","message":{"text":"quickwit_query::query_ast::user_input_query::convert_user_input_ast_to_query_ast (cyclomatic 22): quickwit_query::query_ast::user_input_query::convert_user_input_ast_to_query_ast has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-query/src/query_ast/user_input_query.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"95420a94d6340163dda5da578cb977442217b3dedab41a1b18a2cddc1cf4e6de"}},{"ruleId":"D1","level":"warning","message":{"text":"AggregationEditor.AggregationKind (cyclomatic 22): AggregationEditor.AggregationKind has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 3 of the 22 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 249, 156, 123, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/components/QueryEditor/AggregationEditor.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"7caef9ab0694d61a2da713930a3cd654b627cbb9630417d16107881ce145cad4"}},{"ruleId":"D1","level":"warning","message":{"text":"Ingester::persist_inner (cyclomatic 20): Ingester::persist_inner has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ingest/src/ingest_v2/ingester.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af138987fb256eba916e72474ebe4c0b4bcb8d4ac9514b0789e9889d49870a5"}},{"ruleId":"D1","level":"warning","message":{"text":"quickwit_metastore::metastore::postgres::utils::append_query_filters_and_order_by (cyclomatic 20): quickwit_metastore::metastore::postgres::utils::append_query_filters_and_order_by has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/postgres/utils.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de72ce77caf5fc9ed49955b86c353f645bf06ca044b2e37740c5a64cc27fb6c"}},{"ruleId":"D1","level":"warning","message":{"text":"quickwit_doc_mapper::doc_mapper::field_mapping_entry::deserialize_mapping_type (cyclomatic 19): quickwit_doc_mapper::doc_mapper::field_mapping_entry::deserialize_mapping_type has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/doc_mapper/field_mapping_entry.rs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c06000519435670beea472b83fe19314d3ba5cde3383d946786866c07d47af"}},{"ruleId":"D1","level":"warning","message":{"text":"RangeQuery::build_tantivy_ast_impl (cyclomatic 19): RangeQuery::build_tantivy_ast_impl has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-query/src/query_ast/range_query.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4677d9f420e129ca7c59e6f494b0521d4016eab9b931a83f6e6cfefcd8695174"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchJobPlacer::assign_jobs_inner (cyclomatic 19): SearchJobPlacer::assign_jobs_inner has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/search_job_placer.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"743269970dc2e088344ffe19f35b9dd247fff8509ef18383ace5b4cd17af40cb"}},{"ruleId":"D1","level":"warning","message":{"text":"quickwit_cli::generate_markdown::markdown_for_command_helper (cyclomatic 18): quickwit_cli::generate_markdown::markdown_for_command_helper has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cli/src/generate_markdown.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5a289188ca9fa7635b976475d659c4cef0901c519e5e90f585726c923b43f3"}},{"ruleId":"D1","level":"warning","message":{"text":"quickwit_search::leaf::normalize_timestamp_range (cyclomatic 18): quickwit_search::leaf::normalize_timestamp_range has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/leaf.rs"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddae29ad19e807cbb798dd9bb2f3d5597b60b02f670bf74133e4cb6e1bff29cd"}},{"ruleId":"D1","level":"warning","message":{"text":"quickwit_serve::grpc::start_grpc_server (cyclomatic 18): quickwit_serve::grpc::start_grpc_server has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/grpc.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a193119b325fdf9eda0f86c0b856063679202546c5a563e4017da0a809e2ff7"}},{"ruleId":"D1","level":"warning","message":{"text":"DocMapper::try_from (cyclomatic 16): DocMapper::try_from has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/doc_mapper/doc_mapper_impl.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f02bc264415973feb7500608ee2dbbb1500ec9e6f8cb56d6690fa9826e7d3f"}},{"ruleId":"D1","level":"warning","message":{"text":"FetchStreamTask::run (cyclomatic 16): FetchStreamTask::run has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ingest/src/ingest_v2/fetch.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c655368c324e96be6fba33122e3faa6bfb432bb1eaa25289b8dc67ae0fec7699"}},{"ruleId":"D1","level":"warning","message":{"text":"quickwit_serve::rest::get_status_with_error (cyclomatic 16): quickwit_serve::rest::get_status_with_error has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/rest.rs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"341def959e708516089160bd2a48bcc9a1a29f79fd8ded2e09f05552ffcbd0d5"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchView.SearchView (cyclomatic 16): SearchView.SearchView has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 133, 81, 122, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/views/SearchView.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2454295257259f10f324fa9e0c72823c3a53e63491d412f8e4a9d358c9d9fea4"}},{"ruleId":"D2","level":"warning","message":{"text":"SortingFieldExtractorComponent::convert_to_u64_ff_val (cognitive 56): SortingFieldExtractorComponent::convert_to_u64_ff_val has cognitive complexity 56 (threshold 15). Drivers by points: if/else 12 (32 pts), boolean chains 17, match/switch 4 (7 pts) (nesting depth added 23). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/collector.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0d343783a9a6ab65facaa408e7799d1111e569fdda80c032d40e45f79cd4a5"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_serve::serve_quickwit (cognitive 52): quickwit_serve::serve_quickwit has cognitive complexity 52 (threshold 15). Drivers by points: if/else 37 (41 pts), boolean chains 6, match/switch 1 (3 pts), loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/lib.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24967d1a0d08563e4afba6761907656bc569eb6a888fd6c49cce2cc8477dc82"}},{"ruleId":"D2","level":"warning","message":{"text":"TantivyBoolQuery::simplify (cognitive 50): TantivyBoolQuery::simplify has cognitive complexity 50 (threshold 15). Drivers by points: if/else 17 (28 pts), loops 7 (9 pts), match/switch 3 (7 pts), boolean chains 6 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-query/src/query_ast/tantivy_query_ast.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"577e43a86c1a40462d6b5a98c77b212da1d7c2e7f74b1a7540287f2ffcb87571"}},{"ruleId":"D2","level":"warning","message":{"text":"S3CompatibleObjectStorage::bulk_delete_multi (cognitive 36): S3CompatibleObjectStorage::bulk_delete_multi has cognitive complexity 36 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 4 (10 pts), match/switch 2 (8 pts), boolean chains 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-storage/src/object_storage/s3_compatible_storage.rs"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"5440dacab4e2dc8944ecfa9cfb89c24e586ce406ccc293fa8c814f52131c72a4"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_serve::grpc::start_grpc_server (cognitive 35): quickwit_serve::grpc::start_grpc_server has cognitive complexity 35 (threshold 15). Drivers by points: if/else 32 (35 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/grpc.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"768382c13e9feb6f08e8ed7b35c028fd1e4c77a34dc6f3478424bb7a2d6b1352"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_cli::generate_markdown::markdown_for_command_helper (cognitive 34): quickwit_cli::generate_markdown::markdown_for_command_helper has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 5 (11 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cli/src/generate_markdown.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8280a1848beb0883e0976eb852be9689ad92be7f098649dfaac0696c9918c39f"}},{"ruleId":"D2","level":"warning","message":{"text":"Ingester::persist_inner (cognitive 33): Ingester::persist_inner has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (18 pts), loops 5 (8 pts), match/switch 3 (7 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ingest/src/ingest_v2/ingester.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"b090fc2c790e2fdda9f9d8a2547c45b40af5c67d764bbb808d4d53e90dd3706e"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_opentelemetry::otlp::logs::parse_otlp_logs (cognitive 33): quickwit_opentelemetry::otlp::logs::parse_otlp_logs has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (25 pts), loops 3 (6 pts), match/switch 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-opentelemetry/src/otlp/logs.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc722fcaf0ea0abdf81278dab26a39b1d8a4f9d252742d6ef7c510616d5cd78"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_query::query_ast::user_input_query::convert_user_input_ast_to_query_ast (cognitive 33): quickwit_query::query_ast::user_input_query::convert_user_input_ast_to_query_ast has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (19 pts), match/switch 4 (9 pts), loops 2 (5 pts) (nesting depth added 16). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-query/src/query_ast/user_input_query.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72ea6e6fc36e12a8025f1b2ed421f6a95c43aab0c678db45f9a324ba779bede"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_control_plane::indexing_scheduler::scheduling::convert_scheduling_solution_to_physical_plan (cognitive 32): quickwit_control_plane::indexing_scheduler::scheduling::convert_scheduling_solution_to_physical_plan has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (20 pts), loops 6 (11 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/indexing_scheduler/scheduling/mod.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"34769c8c93acbda7971088ef25069f4e0e28a48a42a471fe6b4f2275b97bee3d"}},{"ruleId":"D2","level":"warning","message":{"text":"KinesisSource::emit_batches (cognitive 30): KinesisSource::emit_batches has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 3 (9 pts), match/switch 2 (5 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/kinesis/kinesis_source.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3911bbfe6b3d172690963b0a141d3e380d852f5adda8693df7f6cf93a08cd8"}},{"ruleId":"D2","level":"warning","message":{"text":"FetchStreamTask::run (cognitive 30): FetchStreamTask::run has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ingest/src/ingest_v2/fetch.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a716a3e03f50c09b3beb6004340d0c577a1bd2ca56920c7505c7d2d25c4100f"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_jaeger::build_search_query (cognitive 30): quickwit_jaeger::build_search_query has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-jaeger/src/lib.rs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"87138b653e0dc14a55d1bfa4f9c636a1a850eb4bd6948ba44b45fb57733ac178"}},{"ruleId":"D2","level":"warning","message":{"text":"DocMapper::doc_to_json (cognitive 29): DocMapper::doc_to_json has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 2 (5 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/doc_mapper/doc_mapper_impl.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"b455c42e522ca56e75586f0383635f19b82ebe198e55e0bd1f43808c486c3468"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchJobPlacer::assign_jobs_inner (cognitive 28): SearchJobPlacer::assign_jobs_inner has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 4 (6 pts), match/switch 2 (5 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/search_job_placer.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aeb70ab00fc741852c12fdc70b6a0e09c707c583100d10f60a40925ea3366d1"}},{"ruleId":"D2","level":"warning","message":{"text":"MappingLeaf::doc_from_json (cognitive 27): MappingLeaf::doc_from_json has cognitive complexity 27 (threshold 15). Drivers by points: loops 5 (16 pts), if/else 6 (11 pts) (nesting depth added 16). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/doc_mapper/mapping_tree.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a417e7e79514241cdcbb328e21cdd6b305f9b43bd8960586b5593bd9c69f8b"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_search::leaf::run_offloaded_search_tasks (cognitive 27): quickwit_search::leaf::run_offloaded_search_tasks has cognitive complexity 27 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 4 (8 pts), match/switch 2 (6 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/leaf.rs"},"region":{"startLine":1770}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef2e9da626300f4963e01dbab6467a9ea4e92fc0bea7f337657215138d0a73c"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_control_plane::indexing_scheduler::scheduling::convert_scheduling_solution_to_physical_plan_single_node_single_source (cognitive 26): quickwit_control_plane::indexing_scheduler::scheduling::convert_scheduling_solution_to_physical_plan_single_node_single_source has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 2 (4 pts), match/switch 1 (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/indexing_scheduler/scheduling/mod.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e0e401f1c2dd3cea3b78eb231afcb22a5ab8ad3921ea61537d99fbd1b90b44"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_control_plane::indexing_scheduler::scheduling::convert_to_simplified_problem (cognitive 26): quickwit_control_plane::indexing_scheduler::scheduling::convert_to_simplified_problem has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 4 (11 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/indexing_scheduler/scheduling/mod.rs"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b89392ad81dc4649c3b16c3fdc8b975f66a4cb453314a35b5ce7197fee980f"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_control_plane::indexing_scheduler::format_indexing_task_map (cognitive 26): quickwit_control_plane::indexing_scheduler::format_indexing_task_map has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 2 (4 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/indexing_scheduler/mod.rs"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d456061e5ea589cef34b3c387a557cf01d6d16da2c71ee45d24c19a14bbede"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_serve::elasticsearch_api::rest_handler::filter_source (cognitive 26): quickwit_serve::elasticsearch_api::rest_handler::filter_source has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 3 (5 pts), match/switch 1 (2 pts) (nesting depth added 12). Most of this is not in the body itself: 4 of the 26 points are its own statements and the rest belongs to 2 function items inside it that branch (remove_path, retain_includes). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/elasticsearch_api/rest_handler.rs"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9553225b8c641b3b092e99da7b598913e4204b5542eb4cafd00fb650929179"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_metastore::metastore::file_backed::file_backed_index::split_query_predicate (cognitive 25): quickwit_metastore::metastore::file_backed::file_backed_index::split_query_predicate has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 6, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/file_backed/file_backed_index/mod.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1afd997a0db16528d56216a21516419b399986236a59758847d6d420a3dce66"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_search::leaf::normalize_timestamp_range (cognitive 25): quickwit_search::leaf::normalize_timestamp_range has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 4, match/switch 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/leaf.rs"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"21882bfb3766f5d268b47fe163a9b518b65dfb9b2247a08dc73fb2426279f65d"}},{"ruleId":"D2","level":"warning","message":{"text":"DocMapper::try_from (cognitive 24): DocMapper::try_from has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (19 pts), loops 4, boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/doc_mapper/doc_mapper_impl.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfe15124f7c882ea6ca2a20509ad0b68b93a5ab37a1f851a945549417944ccc"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_doc_mapper::doc_mapper::mapping_tree::extract_json_val (cognitive 24): quickwit_doc_mapper::doc_mapper::mapping_tree::extract_json_val has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (6 pts), match/switch 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/doc_mapper/mapping_tree.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"df75ad62debdf70a644ed5685143b11579957d88bad36b59b5c06fca08730200"}},{"ruleId":"D2","level":"warning","message":{"text":"IngestRouter::process_persist_results (cognitive 24): IngestRouter::process_persist_results has cognitive complexity 24 (threshold 15). Drivers by points: loops 4 (11 pts), if/else 3 (7 pts), match/switch 2 (6 pts) (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ingest/src/ingest_v2/router.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b830f4824ec0865b2b24fb8914e9fd8c9d64066c2e60c91f7cd242af351eab1"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_lambda_client::deploy::garbage_collect_old_versions (cognitive 24): quickwit_lambda_client::deploy::garbage_collect_old_versions has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-lambda-client/src/deploy.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"5604880852bfb0d04e0bce37a3f6ff5b2735123f5c23cf018b1bd22cc57dab1a"}},{"ruleId":"D2","level":"warning","message":{"text":"QuickwitClient::ingest (cognitive 24): QuickwitClient::ingest has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 2 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-rest-client/src/rest_client.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"d402ab9d53c4ca3fabebb539ce64dba18db36afc61d9d5a15bdc477c05731f48"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_doc_mapper::doc_mapper::mapping_tree::build_mapping_tree_from_entries (cognitive 23): quickwit_doc_mapper::doc_mapper::mapping_tree::build_mapping_tree_from_entries has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 4 (7 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/doc_mapper/mapping_tree.rs"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14fa04c3d74b0356c638ede65f4e963860b56283e53c3c2d7f2f00496521ada"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_indexing::docs_clustering::tokenizer::is_ipv4 (cognitive 22): quickwit_indexing::docs_clustering::tokenizer::is_ipv4 has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/docs_clustering/tokenizer.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ed1857b3991dc39b00899fac854eb6070b483341a848214161087a05c30924"}},{"ruleId":"D2","level":"warning","message":{"text":"AggregationEditor.AggregationKind (cognitive 22): AggregationEditor.AggregationKind has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 1, loops 1, match/switch 1 (nesting depth added 3). Most of this is not in the body itself: 2 of the 22 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 249, 123, 237, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/components/QueryEditor/AggregationEditor.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ba4421f8342aaa79625e0f3892954a694cbc21f06c3910e9c1a4eb4bd65359"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_control_plane::indexing_scheduler::scheduling::convert_physical_plan_to_solution (cognitive 21): quickwit_control_plane::indexing_scheduler::scheduling::convert_physical_plan_to_solution has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 2 (11 pts), if/else 2 (6 pts), loops 2 (4 pts) (nesting depth added 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/indexing_scheduler/scheduling/mod.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdabd7835513c7257b50ce6a5d66b163da244746061a4c2fa11924fdea27f74"}},{"ruleId":"D2","level":"warning","message":{"text":"IngestSource::truncate (cognitive 21): IngestSource::truncate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/ingest/mod.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9c88b3895d9eb36e1160873f22c11292f3bd30713171a809f639c9d8566638"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_macros::generate_proxy_struct (cognitive 21): quickwit_macros::generate_proxy_struct has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 2 (6 pts), loops 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-macros/src/lib.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"338b1eef4e1a0593141f6bdae8adb24b9074da34c6d25cf49c8a5ceabda3d220"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_codegen::codegen::generate_grpc_server_adapter_methods (cognitive 19): quickwit_codegen::codegen::generate_grpc_server_adapter_methods has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (18 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-codegen/src/codegen.rs"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"405d83b2e61cff149eea99399f7275a4c59dad130b2b5e519dbc7f72769ea8d1"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_control_plane::indexing_scheduler::scheduling::scheduling_logic::remove_extraneous_shards (cognitive 19): quickwit_control_plane::indexing_scheduler::scheduling::scheduling_logic::remove_extraneous_shards has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 6 (9 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/indexing_scheduler/scheduling/scheduling_logic.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1c4b0fba816f8a4729b12b30518250915475be333d6eb643e2bbb9fb20525f"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_directories::hot_directory::write_hotcache (cognitive 19): quickwit_directories::hot_directory::write_hotcache has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 5 (8 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-directories/src/hot_directory.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaac6908029be3749f8297c199c512656243052d3e6fb37f802e864ee5e2462f"}},{"ruleId":"D2","level":"warning","message":{"text":"FileByteRangeCacheState::put_slice (cognitive 19): FileByteRangeCacheState::put_slice has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2, match/switch 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-storage/src/cache/byte_range_cache.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47093ee47d34754b03cf6060338d40ed5fdf5e70fe8b79fb42b6163fe4e4ae4"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_control_plane::indexing_scheduler::scheduling::optimization::arrange_shards_in_home_zones (cognitive 18): quickwit_control_plane::indexing_scheduler::scheduling::optimization::arrange_shards_in_home_zones has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 6 (9 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/indexing_scheduler/scheduling/optimization.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf292507910957906e427780f8cdfd00efbfc22407c20b3cb5732329b1b3f217"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_doc_mapper::doc_mapper::mapping_tree::extract_val_from_tantivy_val (cognitive 18): quickwit_doc_mapper::doc_mapper::mapping_tree::extract_val_from_tantivy_val has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 3 (4 pts), match/switch 1 (4 pts) (nesting depth added 7). Of this number, 12 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/doc_mapper/mapping_tree.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"17655727836d2c2a6b0e016502b6f5537c079d2891298f7ddafc585463255f96"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_indexing::source::kafka_source::spawn_consumer_poll_loop (cognitive 18): quickwit_indexing::source::kafka_source::spawn_consumer_poll_loop has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (4 pts), match/switch 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/kafka_source.rs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"98843962bb52b3b9fc189a729533890a9e59da8d78e9b40b8027443793fc9934"}},{"ruleId":"D2","level":"warning","message":{"text":"JaegerService::stream_spans (cognitive 18): JaegerService::stream_spans has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 3, match/switch 2 (3 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-jaeger/src/lib.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"8390b32b04487e074d1f0fc4207dda3bf4ceb60e22c9e6bb471ac711bb0793a8"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_storage::object_storage::s3_compatible_storage::convert_list_objects (cognitive 18): quickwit_storage::object_storage::s3_compatible_storage::convert_list_objects has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 4 (10 pts), if/else 3 (6 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-storage/src/object_storage/s3_compatible_storage.rs"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c1706becd2f7c38077b8802ea58d9266621b7d67a334ef2b5d26acd3d897cb"}},{"ruleId":"D2","level":"warning","message":{"text":"IngestController::compute_shards_to_rebalance (cognitive 17): IngestController::compute_shards_to_rebalance has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/ingest/ingest_controller.rs"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"8507e000381cb292004ffe5b010c897dc9ce28ce8c88dd7f2f21efc6911ec9ec"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexingService::spawn_pipelines (cognitive 17): IndexingService::spawn_pipelines has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/actors/indexing_service.rs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a5d5940f513f83d3cdcd05a7d5df50fbb2a552d0bd743bb05d51058eb998f2"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_ingest::ingest_v2::fetch::fetch_stream_once (cognitive 17): quickwit_ingest::ingest_v2::fetch::fetch_stream_once has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 3 (6 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ingest/src/ingest_v2/fetch.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e44db4709c3209f1c773395d620f28094b55aa268cece7afd9b79266e1e30b7"}},{"ruleId":"D2","level":"warning","message":{"text":"PostgresqlMetastore::indexes_metadata (cognitive 17): PostgresqlMetastore::indexes_metadata has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/postgres/metastore.rs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"174b50e32e29927ed296ea80f0c3d09520923486cef8938e69718057d55955ea"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_metastore::metastore::postgres::metastore::build_index_id_patterns_sql_query (cognitive 17): quickwit_metastore::metastore::postgres::metastore::build_index_id_patterns_sql_query has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 3, boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/postgres/metastore.rs"},"region":{"startLine":1948}}}],"partialFingerprints":{"codehealthFindingId/v1":"89df1ea562d4106a30b68b99f95cce5aeb602b1bfe9b03ace33ce27012d798cd"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeTokenStreamState::advance (cognitive 17): CodeTokenStreamState::advance has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), match/switch 4 (7 pts), boolean chains 2 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-query/src/tokenizers/code_tokenizer.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"656d176945a0b0f510801ff7216e30d639f3a8d80282731b8fee3da97c56e71d"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_serve::developer_api::debug::get_node_debug_infos (cognitive 17): quickwit_serve::developer_api::debug::get_node_debug_infos has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 4 (9 pts), if/else 5 (6 pts), loops 2 (nesting depth added 6). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/developer_api/debug.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee157d4455ab9d1f43c9cecfb35d81921e2cd43d208b5c6c16c918b06889a86c"}},{"ruleId":"D2","level":"warning","message":{"text":"DocMapper::doc_from_json_obj (cognitive 16): DocMapper::doc_from_json_obj has cognitive complexity 16 (threshold 15). Drivers by points: loops 3 (9 pts), if/else 5 (6 pts), boolean chains 1 (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/doc_mapper/doc_mapper_impl.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fa8c561381e5660548dab7c6831d91e7cf448a79c7231b3035a1ab8541cc3b"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_index_management::garbage_collection::delete_splits_marked_for_deletion_several_indexes (cognitive 16): quickwit_index_management::garbage_collection::delete_splits_marked_for_deletion_several_indexes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-index-management/src/garbage_collection.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"1698e0bc26f87cedea1a2d4399488caa84e88443f69fc769ded44b4dc25192a7"}},{"ruleId":"D2","level":"warning","message":{"text":"Uploader::handle (cognitive 16): Uploader::handle has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 3 (4 pts), loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/actors/uploader.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aafc637e4014ca16309689be0e4092bbaffddc1967dc964ffed3dce253db8ac"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiKeyOptions::parse (cognitive 16): MultiKeyOptions::parse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-macros/src/lib.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b70c93f0c9dab5dc16bf882acc5de5ab5b19adb7a9b3cc5c7d7e85a978ad65"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericQuickwitSegmentTopKCollector::collect_top_k_block (cognitive 16): GenericQuickwitSegmentTopKCollector::collect_top_k_block has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 4 (6 pts) (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/top_k_collector.rs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8df57ee9be2d82e40dce78b56c81fd1b10dfab716ff1e7e7f24e5645c9a2bfd"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_search::leaf::leaf_search_single_split (cognitive 16): quickwit_search::leaf::leaf_search_single_split has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, boolean chains 1, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/leaf.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee3feaa623f73d81fadae557585fe5ea1066fcd891eeed09ec2dca6b10c1a57"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_search::root::convert_search_after_datetime_values (cognitive 16): quickwit_search::root::convert_search_after_datetime_values has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/root.rs"},"region":{"startLine":1498}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71ed31066d13c41851b3505fea36c9b526d195b26e4eb94c2cc8b631d637d1e"}},{"ruleId":"D2","level":"warning","message":{"text":"quickwit_serve::rest::get_status_with_error (cognitive 16): quickwit_serve::rest::get_status_with_error has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/rest.rs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd264ac7d953c8cd6203972ccfd2726724ad1e82157d4da465db95c1c16fef4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: quickwit_serve::serve_quickwit: FunctionTooLong \u2014 quickwit_serve::serve_quickwit runs 363 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 263 over it, 3.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/lib.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa52dfed6eeabf1eba6d794957f82b88c736aa2a0e7dc5c8381f572c3592e4bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: postgres/metastore.rs: FileTooLong \u2014 1535 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 80% of them inside a single declaration: PostgresqlMetastore (5 blocks, 91-2005). The bar is 500 significant lines; this is 1035 over it, 3.07\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/postgres/metastore.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d03c40a06082cd432c63147a244076b293819de5cfe312825781398ab123778"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PostgresqlMetastore: ClassTooLong \u2014 1221 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 3 methods, 5 blocks, lines 91-2005. The bar is 400 significant lines; this is 821 over it, 3.05\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/postgres/metastore.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f558a7161f7535c2163c91773a4b689fb3ac366a771ed505d60335531e0deb3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/leaf.rs: FileTooLong \u2014 1509 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 38 free functions. The bar is 500 significant lines; this is 1009 over it, 3.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/leaf.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"951462890f8baf117a1504fac806544ac154e5ebafed966eb6fd15ec71d81477"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/root.rs: FileTooLong \u2014 1286 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 38 free functions. The bar is 500 significant lines; this is 786 over it, 2.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/root.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71170091d0b6d7d4bffbf6fa5fa19e1b73f78bf0e00d3a9945a91442e89a698"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1199 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 699 over it, 2.40\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8605f155e47b679ce541984dac6a965e7ab1e375205ef61df1f33b00564b4be7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Ingester.persist_inner: MethodTooLong \u2014 persist_inner runs 231 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 131 over it, 2.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ingest/src/ingest_v2/ingester.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b953180b8d47698c1e67a9f295871bb5fbec072c68e8de752170b7f32a4e1f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FileBackedMetastore: ClassTooLong \u2014 797 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 11 methods, 5 blocks, lines 147-1335. The bar is 400 significant lines; this is 397 over it, 1.99\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/file_backed/mod.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef86c9506af2c9abb8b6eddd066e1a90d9abb82be301bea0dfb3b727bc17cb79"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AggregationEditor.AggregationKind: FunctionTooLong \u2014 AggregationKind runs 199 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 99 over it, 1.99\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/components/QueryEditor/AggregationEditor.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"862ce930c6335703cdf0b57caab280f99abc2e6ce495920490bea4c9d2cce696"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/codegen.rs: FileTooLong \u2014 986 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 486 over it, 1.97\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-codegen/src/codegen.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3015395a23222ecc835e6af734e54542eb345a14ddec6c3e626b14c6ae45cec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ingest/ingest_controller.rs: FileTooLong \u2014 930 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 69% of them inside a single declaration: IngestController (3 blocks, 299-1358). The bar is 500 significant lines; this is 430 over it, 1.86\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/ingest/ingest_controller.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2c07f4add402e8d5b39ab64a3977a6380d4688f57213ce59bfc927e9ca3185"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: object_storage/s3_compatible_storage.rs: FileTooLong \u2014 903 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 71% of them inside a single declaration: S3CompatibleObjectStorage (5 blocks, 97-1163). The bar is 500 significant lines; this is 403 over it, 1.81\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-storage/src/object_storage/s3_compatible_storage.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea6144b2c7f231d257eca69050e8ae75f7743874283b9d139c1adf88964ded3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: elasticsearch_api/rest_handler.rs: FileTooLong \u2014 898 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 50 free functions. The bar is 500 significant lines; this is 398 over it, 1.80\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/elasticsearch_api/rest_handler.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bcb01de8de0a44c2e3c0ec40b93c2a0f75e7fa0a509f8af468d4c837319a5bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: quickwit_serve::grpc::start_grpc_server: FunctionTooLong \u2014 quickwit_serve::grpc::start_grpc_server runs 179 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 79 over it, 1.79\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/grpc.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"16200cf1084647b35fb4de560485ca923ba061e21edaddfaa32740e43ab60d1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/index.rs: FileTooLong \u2014 891 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 391 over it, 1.78\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cli/src/index.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1fa070e24c73ceac001a014c78644232ceea2e4f23c936c4e3f939bceedf56"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: file_backed/mod.rs: FileTooLong \u2014 891 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 89% of them inside a single declaration: FileBackedMetastore (5 blocks, 147-1335). The bar is 500 significant lines; this is 391 over it, 1.78\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/file_backed/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f27a5ba331276982d1f8d93db8d05bb7b4da1bfdbf2955ccde23ee4c6863633"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: doc_mapper/mapping_tree.rs: FileTooLong \u2014 890 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 390 over it, 1.78\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/doc_mapper/mapping_tree.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b89f963cf150bf0d07547aef332866ba9d9ff9defe15b9c268372bce7818902"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IndexingService: ClassTooLong \u2014 707 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 19 methods, 11 blocks, lines 105-1054. The bar is 400 significant lines; this is 307 over it, 1.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/actors/indexing_service.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"786ad38abf5ab12e87c0ce9e60e50c6074d5d2a7ef4ce7d50176e650693187bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/collector.rs: FileTooLong \u2014 857 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 357 over it, 1.71\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/collector.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f0796ae6c0b46839d273ae2a649cc73029d29f91b441082e921ca5e40d8850"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Ingester: ClassTooLong \u2014 660 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 15 methods, 4 blocks, lines 94-1035. The bar is 400 significant lines; this is 260 over it, 1.65\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ingest/src/ingest_v2/ingester.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90fb95f1b30842678eae378cf054a104a57a416cd506c41d52f58c41e3b42ae"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: SearchQueryParams: TooManyFields \u2014 49 stored fields beside 3 methods. The bar is 30 stored fields; this is 19 over it, 1.63\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/elasticsearch_api/model/search_query_params.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadbf234d649cdeab092c417de5c1772df71ca6194e0c5cc5f785619a5ad20f5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: IngestController: ClassTooLong \u2014 646 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 17 methods, 3 blocks, lines 299-1358. The bar is 400 significant lines; this is 246 over it, 1.62\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/ingest/ingest_controller.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb88531fa24b32abcef7fb44abb36194a758284c5d74659dab2ac6648f5c1c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ingest_v2/ingester.rs: FileTooLong \u2014 803 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 82% of them inside a single declaration: Ingester (4 blocks, 94-1035). The bar is 500 significant lines; this is 303 over it, 1.61\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ingest/src/ingest_v2/ingester.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bbd6784e06325005dfaccb6385c907e1af8b022480912017d041c1ed99a39d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: S3CompatibleObjectStorage: ClassTooLong \u2014 642 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 20 methods, 5 blocks, lines 97-1163. The bar is 400 significant lines; this is 242 over it, 1.61\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-storage/src/object_storage/s3_compatible_storage.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa209fc1526dd8486aee4f2628227c47ca94f0dd3790ab90ab2398404c8dd21"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 800 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 300 over it, 1.60\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-jaeger/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e3a6790309e7040129403e14195c6860e06b058b29454fb3bc289185b8eca1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: actors/indexing_service.rs: FileTooLong \u2014 785 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 90% of them inside a single declaration: IndexingService (11 blocks, 105-1054). The bar is 500 significant lines; this is 285 over it, 1.57\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/actors/indexing_service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa54b3cc2bc4a1622511ad25e2bdb01428215ce478ab4967cae84b34f5be8b09"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/tool.rs: FileTooLong \u2014 769 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 269 over it, 1.54\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cli/src/tool.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08ee1047e8417bd568686d631f7592f1ad0d437c2316190bd2fe3afb2ead9ea"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PostgresqlMetastore.publish_splits: MethodTooLong \u2014 publish_splits runs 140 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/postgres/metastore.rs"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e736fb8871ca41de907f77329fc6433a21b076ee8ff9b02aafbb868ffb599e8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ControlPlane: ClassTooLong \u2014 558 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 5 methods, 21 blocks, lines 89-1052. The bar is 400 significant lines; this is 158 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/control_plane.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc29890489375a695a4fce262ab62623cc0344886d359351ee92b7b085dcddf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/control_plane.rs: FileTooLong \u2014 689 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 81% of them inside a single declaration: ControlPlane (21 blocks, 89-1052). The bar is 500 significant lines; this is 189 over it, 1.38\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/control_plane.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46db91bc76035323e35b805d351491800d64ac833c7319815e8ac82ff0a333f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: otlp/traces.rs: FileTooLong \u2014 674 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 174 over it, 1.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-opentelemetry/src/otlp/traces.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0972d1d17d26d67f7aa2b00d8617e9fc74706849ca085871c25c677b64c4b40"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: quickwit_serve::elasticsearch_api::bulk_v2::make_elastic_bulk_response_v2: FunctionTooLong \u2014 quickwit_serve::elasticsearch_api::bulk_v2::make_elastic_bulk_response_v2 runs 133 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/elasticsearch_api/bulk_v2.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db916be1fa2a923db56d4f4183de005a7dc7248ba6a34cf44eca2061deddd9f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: quickwit_cli::index::build_index_command: FunctionTooLong \u2014 quickwit_cli::index::build_index_command runs 131 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cli/src/index.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf78de70efbe90317c59fa4c7d9920bc590d1f7c11e87d7abd928f476dec6a80"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RangeQuery.build_tantivy_ast_impl: MethodTooLong \u2014 build_tantivy_ast_impl runs 131 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-query/src/query_ast/range_query.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4151a3e1e10a9ab8a6d8e6a124121ddf9ed598a1f2aad97c7ab23978a076851"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NodeConfigBuilder.build_and_validate: MethodTooLong \u2014 build_and_validate runs 130 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-config/src/node_config/serialize.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae6afadfea35a7f33312b60ac177648d01f7288e5ba24238344455b6847aff6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: IndexingPipeline.spawn_pipeline: MethodTooLong \u2014 spawn_pipeline runs 130 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/actors/indexing_pipeline.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26c1aa8b4f1ac790ba52cb995fdbdab5de9e7061ecfbd84cafbada43615e821"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: indexing_scheduler/mod.rs: FileTooLong \u2014 641 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 141 over it, 1.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/indexing_scheduler/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26552fe8fa8471a5a2e8026630b53a33f18c653734343fc6b4493f4315736d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: metastore/mod.rs: FileTooLong \u2014 635 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 135 over it, 1.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5637cc83a6b96f937f319b92ccad8b52912f9840d8b7019e1c1f1193e31f1de3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: node_config/mod.rs: FileTooLong \u2014 625 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 125 over it, 1.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-config/src/node_config/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1115368403a0a0f69b47cacc29905d5a47fcaeffd9a34df0ae7893d34210bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scheduling/mod.rs: FileTooLong \u2014 615 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 115 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/indexing_scheduler/scheduling/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"552e4ee676ce76301d02c536bbcb2b35b4d2f8e21c8a505afa6c11eeb338c977"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: doc_mapper/field_mapping_entry.rs: FileTooLong \u2014 595 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 95 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/doc_mapper/field_mapping_entry.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c885f1fa6b0267d2a097f22c5f1cf54faec1177d7ae59bc9d53b2cbebf1aeb59"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/top_k_collector.rs: FileTooLong \u2014 585 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 85 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/top_k_collector.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fd3873c100da00715e382f06e3d460b5a417abf648a0dc47e8f7281ae0bb51"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rest_client.rs: FileTooLong \u2014 581 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 81 over it, 1.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-rest-client/src/rest_client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75835ac9018c60aed4352a75e4e6855386fac3008653f3fbf9cb4f2e6377b94b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: quickwit_codegen::codegen::generate_client: FunctionTooLong \u2014 quickwit_codegen::codegen::generate_client runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-codegen/src/codegen.rs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"8072618166f23d023d20b781b09e01a4939e40f552ff7065786c84fc3df5b6cb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ControlPlaneModel: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/model/mod.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f597618ac1d1370cb8ca71c78f79040e8cb38ba03910ed44f0c44d850eee33c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ListSplitsQuery: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/mod.rs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"40004db95585525e8f7b63266af243709599f35abb97dee1c2d15fc110eec1c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/cluster.rs: FileTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 59 over it, 1.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cluster/src/cluster.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"677c554e5af78cb6ab1d710cc8e44460fed4323ae7c68fa5229caf86334c651a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SearchView.SearchView: FunctionTooLong \u2014 SearchView runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/views/SearchView.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2101657ba0d5d0d0bc174717153d8410ca633bc2296452121312023fc496ee55"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: quickwit_cli::tool::local_ingest_docs_cli: FunctionTooLong \u2014 quickwit_cli::tool::local_ingest_docs_cli runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cli/src/tool.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"da364ae7317f2128cc29271cda0857025ccdea3ce03df2852237111f678ba2bd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FileBackedIndex: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/file_backed/file_backed_index/mod.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"67da00454105267b27b6c8a4b894815880402057712784a4a7e985e6b31cdc34"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FileBackedIndex: ClassTooLong \u2014 425 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 32 methods, 4 blocks, lines 54-698. The bar is 400 significant lines; this is 25 over it, 1.06\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/file_backed/file_backed_index/mod.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"13983ed775d828862be85c44df426060616d25cefda31e52f77cf21002e19d13"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: source/kafka_source.rs: FileTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 30 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/kafka_source.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c81b526cd834840e3051b287a66f53a865840b07d65c5c29eccc58eea88f25"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: quickwit_jaeger::build_search_query: FunctionTooLong \u2014 quickwit_jaeger::build_search_query runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-jaeger/src/lib.rs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a94fbab8aa1f7f125e73e0f11f16ecc072c0579ff4a43d34974d36478812831"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DocMapper.try_from: MethodTooLong \u2014 try_from runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/doc_mapper/doc_mapper_impl.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09159230375fb773b438576c107105920565b4852063f79d67a684bf5bede81"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Uploader.handle: MethodTooLong \u2014 handle runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/actors/uploader.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfad310c8fe69740ebf2b4f3c5dc5e2ab144414e7037748d653eb994ec43d48"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: file_backed_index/mod.rs: FileTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 83% of them inside a single declaration: FileBackedIndex (4 blocks, 54-698). The bar is 500 significant lines; this is 15 over it, 1.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/file_backed/file_backed_index/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02534edc6ed2ebfb35b1bc35e2822cb43e45b19e0d168c84fb5a4f6c69a1eb5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: actors/indexer.rs: FileTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 11 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/actors/indexer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a8cb787e0c98a7e2a6814c6a3c4ea4b73bce87bf5d6017cc3b03a53c9b84f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: quickwit_doc_mapper::doc_mapper::mapping_tree::build_mapping_from_field_type: FunctionTooLong \u2014 quickwit_doc_mapper::doc_mapper::mapping_tree::build_mapping_from_field_type runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/doc_mapper/mapping_tree.rs"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e2e099707c00eccdcc276eead6d829c03d0774f7d2b51f98f5a9477c0fa61b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: quickwit_ingest::ingest_v2::fetch::fetch_stream_once: FunctionTooLong \u2014 quickwit_ingest::ingest_v2::fetch::fetch_stream_once runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ingest/src/ingest_v2/fetch.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fde1093350b4d7fae21f0e3926ee0eb5d76ff3c1bacc2cd5c4e383d49b6e38"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: JaegerService.stream_spans: MethodTooLong \u2014 stream_spans runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-jaeger/src/lib.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"5604d2d17ff4b415c597cd0842e2fc88e7c371e55d0782016c4bf49eb675c0e3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TantivyBoolQuery.simplify: MethodTooLong \u2014 simplify runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-query/src/query_ast/tantivy_query_ast.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c198df8e9632a599a505be8ced366e5b9629d16368bc5e76f138e929dbc05e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TimeRangeSelect.TimeRangeSelect: FunctionTooLong \u2014 TimeRangeSelect runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/components/TimeRangeSelect.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7e723595ce83b0e22b4aab35a6bbd6c5807fb34f87586fbd841b6e70fa9ed3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: quickwit_cli::source::build_source_command: FunctionTooLong \u2014 quickwit_cli::source::build_source_command runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cli/src/source.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d92e50d3d6d8742f0bc1a93a808eae7fe48a098df112158f006a6242673ad16"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FetchStreamTask.run: MethodTooLong \u2014 run runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ingest/src/ingest_v2/fetch.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"146c89c97b0c2f0923db848e7936c453763c2dad16193e7b7b3addac172a46d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: IndexView.IndexView: FunctionTooLong \u2014 IndexView runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/views/IndexView.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db1f9bb03051fca66bd9677c418b676c401c2efb110fad2f2e994ca395c32b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): quickwit/quickwit-proto/src/types/doc_mapping_uid.rs:87-113 | quickwit/quickwit-proto/src/types/doc_uid.rs:86-112 | quickwit/quickwit-proto/src/types/index_uid.rs:118-151 | quickwit/quickwit-proto/src/types/pipeline_uid.rs:90-116 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-proto/src/types/doc_mapping_uid.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d2c82ef15741db3c949cbd43d01d0b8899a8e5da87db4d270625dd4e3d0a47"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): quickwit/quickwit-serve/src/elasticsearch_api/model/error.rs:59-75 | quickwit/quickwit-serve/src/elasticsearch_api/model/error.rs:79-95 | quickwit/quickwit-serve/src/elasticsearch_api/model/error.rs:99-115 | quickwit/quickwit-serve/src/elasticsearch_api/model/error.rs:119-135 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/elasticsearch_api/model/error.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d8f9b9403e1be5ab7dbba5bb6c7b4015bddd24fa46fa698c7c8e3ad9822c2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): quickwit/quickwit-jaeger/src/lib.rs:316-349 | quickwit/quickwit-jaeger/src/v2.rs:360-392 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-jaeger/src/lib.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd667d50da4a74e4a20b8aaf3a427c0c7c505fe0837f8daec828adf67a2f71f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): quickwit/quickwit-storage/src/object_storage/azure_blob_storage.rs:423-456 | quickwit/quickwit-storage/src/object_storage/s3_compatible_storage.rs:744-777 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-storage/src/object_storage/azure_blob_storage.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"588a683c10cfe4bb2d862727cdf4d25fb57a3adc7a91ad1c17128b97b5b8bd82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): quickwit/quickwit-indexing/src/source/kafka_source.rs:478-497 | quickwit/quickwit-indexing/src/source/pulsar_source.rs:236-256 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/kafka_source.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9ee3c6c03567a0664a7b23f92c81d955b79b6d185346604ea1bd9fe99acfd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): quickwit/quickwit-cli/src/index.rs:414-432 | quickwit/quickwit-cli/src/tool.rs:286-303 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cli/src/index.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"777d96cd03e6f0ac3fc857c2c65d7968d7ae86f1654479f995306a54cc672331"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): quickwit/quickwit-indexing/src/actors/indexing_pipeline.rs:202-220 | quickwit/quickwit-indexing/src/actors/merge_pipeline.rs:190-208 \u2014 before extracting anything, compare \u0060quickwit/quickwit-indexing/src/actors/indexing_pipeline.rs\u0060 and \u0060quickwit/quickwit-indexing/src/actors/merge_pipeline.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/actors/indexing_pipeline.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"d458b9178ac7a4d118ca4885e8a423392008ebb84c0adb87e33e9a9080a3a67e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): quickwit/quickwit-janitor/src/actors/garbage_collector.rs:105-123 | quickwit/quickwit-janitor/src/actors/retention_policy_executor.rs:81-99 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-janitor/src/actors/garbage_collector.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec2cdffdfd70dddace7bf9a1e2ef180a7ec54f8641cfaf08b3ef1ee1ff9cc9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): quickwit/quickwit-search/src/list_fields/mod.rs:153-171 | quickwit/quickwit-search/src/list_fields/mod.rs:173-191 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/list_fields/mod.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"0156178911fb5450f040e9faa9e6e3d36bcb9ac8c7dbf083c8672d6d35c43cf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): quickwit/quickwit-index-management/src/index.rs:491-507 | quickwit/quickwit-index-management/src/index.rs:525-541 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-index-management/src/index.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6d9e4388784d8e5143dbefebcfaabe0a092e58f893e4ca673470371bbc4087"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): quickwit/quickwit-metastore/src/metastore/mod.rs:761-777 | quickwit/quickwit-metastore/src/metastore/mod.rs:809-825 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/mod.rs"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a008979a1bc74c0079d8bf3c99827740799f18e3c8cc0dcc449e657f9719a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): quickwit/quickwit-serve/src/elasticsearch_api/model/error.rs:60-75 | quickwit/quickwit-serve/src/elasticsearch_api/model/error.rs:80-95 | quickwit/quickwit-serve/src/elasticsearch_api/model/error.rs:100-115 | quickwit/quickwit-serve/src/elasticsearch_api/model/error.rs:120-135 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/elasticsearch_api/model/error.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c529a5778a0b769c23d8de9227a81f0d0c4280d0f54498f65ddaa267e47f0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): quickwit/quickwit-doc-mapper/src/doc_mapper/mapping_tree.rs:392-407 | quickwit/quickwit-doc-mapper/src/doc_mapper/mapping_tree.rs:412-427 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/doc_mapper/mapping_tree.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf17f8a58b065d50973bec5d318ade1f34dfc65259486a30d439c716d36c2bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): quickwit/quickwit-storage/src/cache/base_cache.rs:327-342 | quickwit/quickwit-storage/src/cache/base_cache.rs:439-454 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-storage/src/cache/base_cache.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba17d55691e0d3ccf74c4ac00f601f8365c91851b1f304a54a2fd43f3c80ba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): quickwit/quickwit-indexing/src/source/kinesis/helpers.rs:21-33 | quickwit/quickwit-indexing/src/source/queue_sources/sqs_queue.rs:204-217 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/kinesis/helpers.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18c0f734e1dd6a82f3d86553a9d4e119ec02ea72cb7e6351615f014baf2a4b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): quickwit/quickwit-opentelemetry/src/otlp/logs.rs:270-283 | quickwit/quickwit-opentelemetry/src/otlp/traces.rs:732-745 \u2014 before extracting anything, compare \u0060quickwit/quickwit-opentelemetry/src/otlp/logs.rs\u0060 and \u0060quickwit/quickwit-opentelemetry/src/otlp/traces.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-opentelemetry/src/otlp/logs.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"601abc69ef3b6e3e37b5b96c8a5007a3bf772e9e002a0af7fc7b417adf09d3cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): quickwit/quickwit-rest-client/src/rest_client.rs:444-457 | quickwit/quickwit-rest-client/src/rest_client.rs:624-637 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-rest-client/src/rest_client.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71cf7ca25a9edbb250be6bd4067a6d60c01e7b430d852896665117c2a7a9c89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): quickwit/quickwit-search/src/list_fields/root.rs:119-132 | quickwit/quickwit-search/src/list_terms.rs:119-129 \u2014 before extracting anything, compare \u0060quickwit/quickwit-search/src/list_fields/root.rs\u0060 and \u0060quickwit/quickwit-search/src/list_terms.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/list_fields/root.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d1db6751d4c7c8d26dc460decb30dbfd8ce767d0176d53b111d97425c908c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): quickwit/quickwit-search/src/root.rs:1259-1272 | quickwit/quickwit-search/src/root.rs:1383-1395 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/root.rs"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0412ba765373ebcb574b4c54c019936ea569259d33ad650f0f7b144d754647"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): quickwit/quickwit-query/src/query_ast/wildcard_query.rs:129-141 | quickwit/quickwit-query/src/query_ast/wildcard_query.rs:148-160 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-query/src/query_ast/wildcard_query.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f03c292ffbb74fe12ab593b6ffbc1e1ef6883debaae02628d2ed8bbe3d3394a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): quickwit/quickwit-metastore/src/split_metadata_version.rs:121-132 | quickwit/quickwit-metastore/src/split_metadata_version.rs:143-154 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/split_metadata_version.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac88e705d2efb9b37cef99c821b9b1bf32e9338803f68b6333f040be7e83e955"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): quickwit/quickwit-common/src/thread_pool/simple.rs:37-47 | quickwit/quickwit-common/src/thread_pool/with_priority.rs:178-188 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-common/src/thread_pool/simple.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c95d68659b1c67ef6d150eb35a246b047161a0ac26499d79de4e7d8307310d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): quickwit/quickwit-indexing/src/actors/indexing_pipeline.rs:511-521 | quickwit/quickwit-indexing/src/actors/merge_pipeline.rs:530-540 \u2014 before extracting anything, compare \u0060quickwit/quickwit-indexing/src/actors/indexing_pipeline.rs\u0060 and \u0060quickwit/quickwit-indexing/src/actors/merge_pipeline.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/actors/indexing_pipeline.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2692945363144dcdca43e8f2bd5ff70880f4bc937cadc2d5176fdc046bd4a28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): quickwit/quickwit-ingest/src/ingest_v2/routing_table.rs:260-270 | quickwit/quickwit-ingest/src/ingest_v2/routing_table.rs:304-313 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ingest/src/ingest_v2/routing_table.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f62896d15b405a5c9a17658137e46dbecaa65fb99d867a5a05c01b2056ca368"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): quickwit/quickwit-proto/src/types/position.rs:267-277 | quickwit/quickwit-proto/src/types/shard_id.rs:98-108 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-proto/src/types/position.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1b7eae19543fa686c4176ee2cb77a2caf777f3fa2e8b11ecf8876b98e6f2b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): quickwit/quickwit-query/src/elastic_query_dsl/visitor.rs:46-56 | quickwit/quickwit-query/src/query_ast/visitor.rs:51-61 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-query/src/elastic_query_dsl/visitor.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8d50556971bd59e17d2eb4c3a33bbe6941b489ce11b4feb7d2aeb8e73ffd66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): quickwit/quickwit-query/src/query_ast/tantivy_query_ast.rs:203-211 | quickwit/quickwit-query/src/query_ast/tantivy_query_ast.rs:222-230 | quickwit/quickwit-query/src/query_ast/tantivy_query_ast.rs:244-253 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-query/src/query_ast/tantivy_query_ast.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"be024ec8adb49d1190a46a96f4d1e7032d71747872167c3d992843700b763f10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 3): quickwit/quickwit-search/src/list_fields/root.rs:123-132 | quickwit/quickwit-search/src/list_terms.rs:121-129 | quickwit/quickwit-search/src/root.rs:810-816 \u2014 before extracting anything, compare \u0060quickwit/quickwit-search/src/list_fields/root.rs\u0060 and \u0060quickwit/quickwit-search/src/list_terms.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/list_fields/root.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d256c4632975274f825da6120b32405268ddc0d431d31f0a09d312c544e3953"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): quickwit/quickwit-codegen/src/codegen.rs:683-692 | quickwit/quickwit-codegen/src/codegen.rs:702-711 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-codegen/src/codegen.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b45346ae99662bd23577556f8b95b573e61e15ef374895595aa6a96e03aec5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): quickwit/quickwit-control-plane/src/control_plane.rs:695-704 | quickwit/quickwit-control-plane/src/control_plane.rs:734-743 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/control_plane.rs"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e034da6a10f371a39ac8ba59b35e1a11c08c1b32c0bc62565ecf03b1b16c2a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): quickwit/quickwit-metastore/src/metastore/mod.rs:325-334 | quickwit/quickwit-metastore/src/metastore/mod.rs:375-384 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/mod.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa7bcd0f21635f154d11ce179f1e978c0aa0e7659ce4dd6ad9c5278ec86d571"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): quickwit/quickwit-query/src/query_ast/phrase_prefix_query.rs:56-65 | quickwit/quickwit-query/src/query_ast/regex_query.rs:91-100 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-query/src/query_ast/phrase_prefix_query.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7857785e39160847290374dc5677db937df1a4a8aa76ccf517a24ccf5887bbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): quickwit/quickwit-search/src/list_fields/root.rs:157-166 | quickwit/quickwit-search/src/list_terms.rs:187-195 \u2014 before extracting anything, compare \u0060quickwit/quickwit-search/src/list_fields/root.rs\u0060 and \u0060quickwit/quickwit-search/src/list_terms.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/list_fields/root.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d2f485b4d417ccac32127b4a6e663e3e40aaf52bd6b91c199c6bf81c7a8e38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): quickwit/quickwit-storage/src/object_storage/s3_compatible_storage.rs:434-443 | quickwit/quickwit-storage/src/object_storage/s3_compatible_storage.rs:591-600 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-storage/src/object_storage/s3_compatible_storage.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9822dc2a1f2dfb6ba0f784ad148726ff99eaba380eadc61bbd0d02eec864e77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): quickwit/quickwit-config/src/metastore_config.rs:59-67 | quickwit/quickwit-config/src/storage_config.rs:112-120 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-config/src/metastore_config.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f719a19bf2339a1ab52ca7926a60bdb231df80ac36f81a78c163f567a844b71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): quickwit/quickwit-ingest/src/ingest_v2/ingester.rs:525-533 | quickwit/quickwit-ingest/src/ingest_v2/ingester.rs:559-567 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ingest/src/ingest_v2/ingester.rs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"851cc83161b79a61f9eb64ab5885a1699cfed8b85641414d3bb76be74395927c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): quickwit/quickwit-ingest/src/ingest_v2/mrecordlog_utils.rs:64-72 | quickwit/quickwit-ingest/src/ingest_v2/mrecordlog_utils.rs:78-86 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ingest/src/ingest_v2/mrecordlog_utils.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c56ba6174498d3a416edab38f8009e8fa2dafd28cafa8f1fa4aad39de6699f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): quickwit/quickwit-opentelemetry/src/otlp/logs.rs:358-366 | quickwit/quickwit-opentelemetry/src/otlp/traces.rs:621-629 \u2014 before extracting anything, compare \u0060quickwit/quickwit-opentelemetry/src/otlp/logs.rs\u0060 and \u0060quickwit/quickwit-opentelemetry/src/otlp/traces.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-opentelemetry/src/otlp/logs.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"2099c917272ff36351bf02324fdb0c9b0095e8e4dcf61ff9eae4f8de8d1610e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): quickwit/quickwit-proto/src/search/span_id.rs:52-60 | quickwit/quickwit-proto/src/search/trace_id.rs:60-68 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-proto/src/search/span_id.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"09af7ccad922de2ef8021a9f68cd4fa8f6d86fc5b6d4f8d7c27e9448da106bf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): quickwit/quickwit-search/src/collector.rs:1103-1111 | quickwit/quickwit-search/src/collector.rs:1140-1150 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/collector.rs"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"148c5a08912ab02a4ab4e69454ed929670000ac9b54e0118d2ae5a350c47b14d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): quickwit/quickwit-cli/src/index.rs:434-441 | quickwit/quickwit-cli/src/tool.rs:305-312 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cli/src/index.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0cfaaa9b6ecb2f321cdd49d2161515b778dec6d45818b850474195a6968ab35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): quickwit/quickwit-cli/src/source.rs:314-321 | quickwit/quickwit-cli/src/source.rs:357-364 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cli/src/source.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1725cc983b11bc236d712d81f4cd46f7a9ce164a12e9f419ca1fcefd1b8965b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): quickwit/quickwit-opentelemetry/src/otlp/logs.rs:325-332 | quickwit/quickwit-opentelemetry/src/otlp/traces.rs:787-794 \u2014 before extracting anything, compare \u0060quickwit/quickwit-opentelemetry/src/otlp/logs.rs\u0060 and \u0060quickwit/quickwit-opentelemetry/src/otlp/traces.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-opentelemetry/src/otlp/logs.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"e429b384913e498e7f28f471134dd4f28ac235e5af40da134a732992a1512339"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): quickwit/quickwit-query/src/query_ast/visitor.rs:175-182 | quickwit/quickwit-search/src/leaf.rs:1299-1306 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-query/src/query_ast/visitor.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"797bc90404ed1fc8b2da2ae63120a2f6ce06dae1991b9f75345e354827a8fe4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): quickwit/quickwit-serve/src/otlp_api/rest_handler.rs:206-213 | quickwit/quickwit-serve/src/otlp_api/rest_handler.rs:228-235 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/otlp_api/rest_handler.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"0335f50a2f4861d7962ea63fe14a27eac3957249c5b2eb83d3385872d019839a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): quickwit/quickwit-rest-client/src/rest_client.rs:641-647 | quickwit/quickwit-rest-client/src/rest_client.rs:706-712 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-rest-client/src/rest_client.rs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"90427b372fd57744eaf0e6c76af108e9797d6cf7e328affeaf0a812775f6ffc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): quickwit/quickwit-serve/src/decompression.rs:50-56 | quickwit/quickwit-serve/src/decompression.rs:72-78 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/decompression.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b72d47fd55838b22e5929d963b288a54fd69215a09e5692655b247b97f1c667"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): quickwit/quickwit-serve/src/lib.rs:1202-1208 | quickwit/quickwit-serve/src/lib.rs:1433-1439 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/lib.rs"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0788e2c52608501bed8e3db766183b9e39a46430cc9a2635321ec730919595c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): quickwit/quickwit-storage/src/object_storage/s3_compatible_storage.rs:254-260 | quickwit/quickwit-storage/src/opendal_storage/google_cloud_storage.rs:185-191 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-storage/src/object_storage/s3_compatible_storage.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"32811328665a57781466c4f1ca502fb7026f73610ec2d73af5103bb80323c7a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): quickwit/quickwit-cli/src/source.rs:379-384 | quickwit/quickwit-cli/src/source.rs:396-401 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cli/src/source.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7c4bbd4ac915820b1fca9e144b83f27e5a19617448d6ce2ea463b12d3936e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): quickwit/quickwit-metrics/src/counter.rs:204-208 | quickwit/quickwit-metrics/src/gauge.rs:225-229 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metrics/src/counter.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9f2948bc47b3777422e54b54cde3aed37835caa33651c746c9a67bc0c56fb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): quickwit/quickwit-codegen/example/src/error.rs:40-86 | quickwit/quickwit-proto/src/developer/mod.rs:42-74 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-codegen/example/src/error.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b118e641823c0366fc01695b7f66c6cc749748068ef244d87ac883f74cada9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): quickwit/quickwit-cli/src/jemalloc.rs:101-107 | quickwit/quickwit-telemetry-exporters/src/logs.rs:32-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cli/src/jemalloc.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"297676a2560e749baa1227fce83b3eab3ca726d8c1a614ad98f43b3256ba1978"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): quickwit/quickwit-cli/src/jemalloc.rs:180-186 | quickwit/quickwit-telemetry-exporters/src/lib.rs:88-94 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cli/src/jemalloc.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa4ffdafb9e3d5093bd555f28d71813833b2e61deb4c8397656d705bc07a438"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): quickwit/quickwit-compaction/src/compaction_pipeline.rs:85-92 | quickwit/quickwit-indexing/src/actors/indexing_pipeline.rs:100-107 | quickwit/quickwit-indexing/src/actors/merge_pipeline.rs:86-93 \u2014 before extracting anything, compare \u0060quickwit/quickwit-indexing/src/actors/indexing_pipeline.rs\u0060 and \u0060quickwit/quickwit-indexing/src/actors/merge_pipeline.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-compaction/src/compaction_pipeline.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"db71fadff945adeeb71bdf83a65cc22e2aa05a284a20cece28d0814c525c0cc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): quickwit/quickwit-indexing/src/actors/indexing_pipeline.rs:141-145 | quickwit/quickwit-indexing/src/actors/merge_pipeline.rs:131-135 \u2014 before extracting anything, compare \u0060quickwit/quickwit-indexing/src/actors/indexing_pipeline.rs\u0060 and \u0060quickwit/quickwit-indexing/src/actors/merge_pipeline.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/actors/indexing_pipeline.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f32200d889d67ad513ef22cfc8a2734d72020d3e14bdba588dca4ac61ec9551"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): quickwit/quickwit-indexing/src/source/kafka_source.rs:450-455 | quickwit/quickwit-indexing/src/source/queue_sources/coordinator.rs:161-166 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/kafka_source.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bcef16d79d84f3c0b6397cb75833ab7ba89c75b42ca35d072b5d07eec1963f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): quickwit/quickwit-proto/src/compaction/mod.rs:92-102 | quickwit/quickwit-proto/src/control_plane/mod.rs:122-132 | quickwit/quickwit-proto/src/indexing/mod.rs:105-115 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-proto/src/compaction/mod.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ef8c1bde6a015b26e928ec75d7c821f0c26efd5fd4588fb8bb7c579a299298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): quickwit/quickwit-proto/src/types/doc_uid.rs:60-64 | quickwit/quickwit-proto/src/types/pipeline_uid.rs:71-75 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-proto/src/types/doc_uid.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfea29bca521219b6f017c32ad3ef8bc48036499419f4b556b77e253dbd05c46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): quickwit/quickwit-serve/src/elasticsearch_api/mod.rs:153-159 | quickwit/quickwit-serve/src/jaeger_api/rest_handler.rs:344-350 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/elasticsearch_api/mod.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e7cd2f82eb97000fe01a90289a11635af262cc0307c0951741430b4cb6fde1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): quickwit/quickwit-config/src/metastore_config.rs:74-81 | quickwit/quickwit-config/src/storage_config.rs:127-134 | quickwit/quickwit-config/src/storage_config.rs:136-143 | quickwit/quickwit-config/src/storage_config.rs:145-152 | quickwit/quickwit-config/src/storage_config.rs:154-161 | quickwit/quickwit-config/src/storage_config.rs:163-170 \u2014 there are 6 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-config/src/metastore_config.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e84d6df1f32144ecb9bc81f9886cff1d06343bced7217a849a2b26951bf7def"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): quickwit/quickwit-opentelemetry/src/otlp/logs.rs:211-219 | quickwit/quickwit-opentelemetry/src/otlp/traces.rs:669-678 \u2014 before extracting anything, compare \u0060quickwit/quickwit-opentelemetry/src/otlp/logs.rs\u0060 and \u0060quickwit/quickwit-opentelemetry/src/otlp/traces.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-opentelemetry/src/otlp/logs.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f39424d6355150b9995374616b9f1ac9e495d1e6f2d34dd56b378b91277f29a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): quickwit/quickwit-opentelemetry/src/otlp/logs.rs:523-527 | quickwit/quickwit-opentelemetry/src/otlp/traces.rs:863-867 \u2014 before extracting anything, compare \u0060quickwit/quickwit-opentelemetry/src/otlp/logs.rs\u0060 and \u0060quickwit/quickwit-opentelemetry/src/otlp/traces.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-opentelemetry/src/otlp/logs.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"209d95b548767f16366405f2c1ff44ca0f61a6b3beae43e19292868e2313475b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): quickwit/quickwit-opentelemetry/src/otlp/logs.rs:529-533 | quickwit/quickwit-opentelemetry/src/otlp/traces.rs:871-875 \u2014 before extracting anything, compare \u0060quickwit/quickwit-opentelemetry/src/otlp/logs.rs\u0060 and \u0060quickwit/quickwit-opentelemetry/src/otlp/traces.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-opentelemetry/src/otlp/logs.rs"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2532c5f693226d94dc5201511c315cd3f8dcb1e23a35b4d312bd95cf4fd976"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): quickwit/quickwit-config/src/metastore_config.rs:221-235 | quickwit/quickwit-config/src/metastore_config.rs:239-253 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-config/src/metastore_config.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"7869f0297beaf81ce77773082c5c630bf5817ce5d3412fb0ab6c3d7dd3446ca5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): quickwit/quickwit-indexing/src/source/ingest/mod.rs:480-491 | quickwit/quickwit-indexing/src/source/kafka_source.rs:483-494 | quickwit/quickwit-indexing/src/source/pulsar_source.rs:241-253 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/ingest/mod.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd9471d1a5eede13d8b03bd2567516df39561dfdaffe65abce0d18d243fded7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): quickwit/quickwit-proto/src/control_plane/mod.rs:62-73 | quickwit/quickwit-proto/src/indexing/mod.rs:63-71 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-proto/src/control_plane/mod.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"36510465318e6cfe0f016894107e8e20c7b7aef064d1e4e4fbc235d9432a3b05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): quickwit/quickwit-storage/src/object_storage/azure_blob_storage.rs:518-528 | quickwit/quickwit-storage/src/object_storage/s3_compatible_storage.rs:1130-1140 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-storage/src/object_storage/azure_blob_storage.rs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3bb1b3924ca2dd5b3056f5f12bb1923e6d071a3362a9be20c8e558e44321fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): quickwit/quickwit-proto/src/types/doc_mapping_uid.rs:103-113 | quickwit/quickwit-proto/src/types/doc_uid.rs:102-112 | quickwit/quickwit-proto/src/types/pipeline_uid.rs:106-116 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-proto/src/types/doc_mapping_uid.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83b8452e5855286c7cdc1578723292a3808c68bf2cddb62eaa65d739946ef4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): quickwit/quickwit-macros/src/lib.rs:178-188 | quickwit/quickwit-macros/src/lib.rs:196-206 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-macros/src/lib.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dda6d08adc2e32d5e948ad40bc99611604851f26db37f9592b664ef3302e6e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): quickwit/quickwit-proto/src/types/doc_mapping_uid.rs:98-107 | quickwit/quickwit-proto/src/types/doc_uid.rs:97-106 | quickwit/quickwit-proto/src/types/index_uid.rs:136-145 | quickwit/quickwit-proto/src/types/pipeline_uid.rs:101-110 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-proto/src/types/doc_mapping_uid.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3f600f3cb394fdbf80f27b3f0495a1f971ae9ee4b35daf31c4bb2e2bef8f60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): quickwit/quickwit-indexing/src/actors/indexing_pipeline.rs:377-384 | quickwit/quickwit-indexing/src/actors/merge_pipeline.rs:294-301 \u2014 before extracting anything, compare \u0060quickwit/quickwit-indexing/src/actors/indexing_pipeline.rs\u0060 and \u0060quickwit/quickwit-indexing/src/actors/merge_pipeline.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/actors/indexing_pipeline.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b59163d5aed0674f2e5f3f972397602694761a6904a3eb4245c0decda5d92f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): quickwit/quickwit-common/src/runtimes.rs:132-139 | quickwit/quickwit-common/src/runtimes.rs:146-153 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-common/src/runtimes.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"951a3973a8863b55696b60f48a163602b1693a33f8fc447480e8d85dae62aa55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): quickwit/quickwit-cli/src/tool.rs:279-286 | quickwit/quickwit-cli/src/tool.rs:329-336 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cli/src/tool.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1b3d37d9d9db13e46f5861fcc9418afda2b30c3f3763564c537162e81479fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): quickwit/quickwit-storage/src/object_storage/azure_blob_storage.rs:589-596 | quickwit/quickwit-storage/src/opendal_storage/google_cloud_storage.rs:180-187 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-storage/src/object_storage/azure_blob_storage.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e8e9b5e9546ab51902f87dd036537ab3162b0e70c7823d7512e5eb609f584c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): quickwit/quickwit-serve/src/lib.rs:932-937 | quickwit/quickwit-serve/src/lib.rs:952-959 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/lib.rs"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e85a75e061c5297a231b751ff42c0c31d89b613cabc633bc5467a9cbef96164"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): quickwit/quickwit-indexing/src/actors/indexing_pipeline.rs:372-377 | quickwit/quickwit-indexing/src/actors/indexing_pipeline.rs:408-413 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/actors/indexing_pipeline.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"19083e73e5f3ba39f4c1791d5ea8ff49154a293d69f6024dfd1028ae3f6cee39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): quickwit/quickwit-indexing/src/actors/indexing_pipeline.rs:345-350 | quickwit/quickwit-indexing/src/actors/merge_pipeline.rs:273-278 \u2014 before extracting anything, compare \u0060quickwit/quickwit-indexing/src/actors/indexing_pipeline.rs\u0060 and \u0060quickwit/quickwit-indexing/src/actors/merge_pipeline.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/actors/indexing_pipeline.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"215d3ef90cd8b99e86532d761de24f4af01716a5300f97a6b68030031c95c482"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): quickwit/quickwit-cli/src/tool.rs:674-679 | quickwit/quickwit-cli/src/tool.rs:745-750 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cli/src/tool.rs"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d73c97479ac2bbfe2c7fca035440164dcfcb6145d1df73cc7310bf68d23d2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): quickwit/quickwit-query/src/elastic_query_dsl/range_query.rs:109-114 | quickwit/quickwit-query/src/elastic_query_dsl/range_query.rs:117-122 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-query/src/elastic_query_dsl/range_query.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e502663199cb44c47f30047638f79a847226c12e32c2312528a6d70140f4c53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): quickwit/quickwit-cli/src/tool.rs:404-409 | quickwit/quickwit-cli/src/tool.rs:582-586 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cli/src/tool.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"9909510a48c5fd361e4fb76a174bee11281438f51112bd3d82b86f8dcc002955"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): quickwit/quickwit-ingest/src/ingest_v2/broadcast/local_shards.rs:81-85 | quickwit/quickwit-ingest/src/ingest_v2/broadcast/local_shards.rs:88-92 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ingest/src/ingest_v2/broadcast/local_shards.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0193a2acc6892270ea60dc2c7d2c44fa0dd07eff5ca4665ada71863bd35fd9f8"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project quickwit-compaction: quickwit-compaction has instability 0.83 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"00e363f1b2f3269a251d2984f40cb8933609b4d8ef7aa20d67739270c9cf9ade"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project quickwit-control-plane: quickwit-control-plane has instability 0.89 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f4ae77e37b12cbe4243e0ad44b704d34552deed8407f4ae141c4161eaaf22d20"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project quickwit-jaeger: quickwit-jaeger has instability 0.88 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"784bcb62703049f11df23c8b68a26aacec8d4a69723506b8fd518811f9103f24"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project quickwit-janitor: quickwit-janitor has instability 0.93 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b19ad57be677afb17296ab5c5e44feb88a971978f3971e7d9622dc367bdff351"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project quickwit-lambda-client: quickwit-lambda-client has instability 0.86 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8ac03ca36cf56078a29474c43d39589b8f9549529ae3989aad5473ed6216eb98"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project quickwit-lambda-server: quickwit-lambda-server has instability 0.86 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5ff672970f2ad492ad87997bc055b43ac343512b78acf2ed73a1a989ce479a2f"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project quickwit-rest-client: quickwit-rest-client has instability 0.89 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7d761d379e6bc078dc572326577d2be5fd92ffd8da216ae5394e9e95d4ff963e"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project quickwit-serve: quickwit-serve has instability 0.92 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fa482263af33301a0f99ab61780cad0cacaddf1a0c958aba192cb492942465b3"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: quickwit-codegen: quickwit-codegen: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6132eab6973a089e05517f4d768f36dcdb5c34f23de87ddda33b7383363e6546"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: quickwit-datetime: quickwit-datetime: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5d14beafa58eed381323b2a80aa30b415ecda0f673e760165da4201580d0ea94"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: quickwit-metrics: quickwit-metrics: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 20 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ac18be55a8ab1eb91890262aae79c87e5e27b827a9d23994ba8de56d87fc4b68"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: quickwit-config: quickwit-config: abstractness 0.02, instability 0.14, distance 0.84 \u2014 zone of pain \u2014 concrete and depended on by 18 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"88a525a2416af66886e2efcfa331e6f8c473216638fb8fe58ff087460cfb56b5"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: quickwit-proto: quickwit-proto: abstractness 0.07, instability 0.13, distance 0.80 \u2014 zone of pain \u2014 concrete and depended on by 20 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f77df260b70ad6ab2f5b8311942ff24fb1c62b2f14363455ca4eb6df4dea0dd3"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: quickwit-common: quickwit-common: abstractness 0.16, instability 0.04, distance 0.80 \u2014 the shape a shared-kernel / building-block library has BY DESIGN \u2014 concrete and widely depended-on is what makes it useful, and this dimension does not penalise it (the distance is reported for completeness, not as a defect). Worth a look only if it has grown past one coherent kernel into an everything-bucket."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4fc16a02d1f2ba91ffb74b3aef42d3ff7a6228e92b79330f9ff4cad85f2ba4b4"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 the jest suite in quickwit/quickwit-ui/ ran and not one test passed (FAIL src/views/SearchView.test.jsx), so the coverage would describe the failed run, not the code. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan. Alternatively, commit the lcov/Cobertura report your CI produces and it is read without a re-run."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: quickwit/quickwit-serve/src/lib.rs: quickwit/quickwit-serve/src/lib.rs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in quickwit_serve::serve_quickwit at line 569. 2 of those changes were fix/bug commits, and the other 15 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-30..2026-09-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-30 20:55:38 \u002B00:00\u0027 --until=\u00272026-09-28 20:55:38 \u002B00:00\u0027 --full-history --no-merges -- quickwit/quickwit-serve/src/lib.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/lib.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6bc1bfd99869caa8dfa15b42dd958022fe23bc7460a3d3e20ad20a1d3ec1e97"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: quickwit/quickwit-ingest/src/ingest_v2/ingester.rs: quickwit/quickwit-ingest/src/ingest_v2/ingester.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in Ingester::persist_inner at line 387. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-30..2026-09-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-30 20:55:38 \u002B00:00\u0027 --until=\u00272026-09-28 20:55:38 \u002B00:00\u0027 --full-history --no-merges -- quickwit/quickwit-ingest/src/ingest_v2/ingester.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ingest/src/ingest_v2/ingester.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"de163764a44cb28459fc52f3c00b036bf8f3e887c8bb17b33d00f5ec04099ac6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: quickwit/quickwit-metastore/src/metastore/postgres/utils.rs: quickwit/quickwit-metastore/src/metastore/postgres/utils.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in quickwit_metastore::metastore::postgres::utils::append_query_filters_and_order_by at line 115. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-30..2026-09-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-30 20:55:38 \u002B00:00\u0027 --until=\u00272026-09-28 20:55:38 \u002B00:00\u0027 --full-history --no-merges -- quickwit/quickwit-metastore/src/metastore/postgres/utils.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/postgres/utils.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a072398e4347fb6bb1b11efe2bdc9a1470bae3e2e4940b203b79c4297bffb686"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: quickwit/quickwit-serve/src/grpc.rs: quickwit/quickwit-serve/src/grpc.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in quickwit_serve::grpc::start_grpc_server at line 46. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-30..2026-09-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-30 20:55:38 \u002B00:00\u0027 --until=\u00272026-09-28 20:55:38 \u002B00:00\u0027 --full-history --no-merges -- quickwit/quickwit-serve/src/grpc.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/grpc.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a2c823b14f38a156613343b9642bd7d464a2dfd2ecb699d1a80db0681c10c3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: quickwit/quickwit-search/src/search_job_placer.rs: quickwit/quickwit-search/src/search_job_placer.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in SearchJobPlacer::assign_jobs_inner at line 193. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-06-30..2026-09-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-30 20:55:38 \u002B00:00\u0027 --until=\u00272026-09-28 20:55:38 \u002B00:00\u0027 --full-history --no-merges -- quickwit/quickwit-search/src/search_job_placer.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/search_job_placer.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86d8dc94be166cb12f1240b9e04ccb70faad4d62af43c816b4eea556118524c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: quickwit/quickwit-datetime/src/java_date_time_format.rs: quickwit/quickwit-datetime/src/java_date_time_format.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in quickwit_datetime::java_date_time_format::match_java_date_format_token at line 221. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-30..2026-09-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-30 20:55:38 \u002B00:00\u0027 --until=\u00272026-09-28 20:55:38 \u002B00:00\u0027 --full-history --no-merges -- quickwit/quickwit-datetime/src/java_date_time_format.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-datetime/src/java_date_time_format.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c4b0e0dcf4bb67f9ad66f14454085806eb2b91914012f00a2691f9303bc0a6"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 8 significant file(s) lose their only recent owner: quickwit/quickwit-metrics/src/lib.rs, quickwit/quickwit-indexing/src/docs_clustering/fingerprinter.rs, quickwit/quickwit-config/src/docs_clustering.rs, quickwit/quickwit-storage/src/prefix_storage.rs, quickwit/quickwit-metrics/src/inner.rs, quickwit/quickwit-indexing/src/docs_clustering/clusterer.rs, quickwit/quickwit-storage/src/cache/storage_with_cache.rs, quickwit/quickwit-indexing/src/docs_clustering/mod.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a7ff489b28b7a0555c48d4483009ae618b692dcdc0361ef9b0727861a9e4b0c9"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 5 significant file(s) lose their only recent owner: quickwit/quickwit-transport/src/tls.rs, quickwit/quickwit-ingest/src/ingest_v2/mrecordlog_utils.rs, quickwit/quickwit-actors/src/registry.rs, quickwit/quickwit-ingest/src/mrecordlog_async.rs, quickwit/scripts/inspect_split.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4468cd86e70b329095154d2d6235a1c9c96c2251fc0f72bbf2c872b69bd55d3c"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 3 significant file(s) lose their only recent owner: quickwit/quickwit-compaction/src/compaction_pipeline.rs, quickwit/quickwit-config/src/config_value.rs, quickwit/quickwit-compaction/src/lib.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a7b3f1f630d3c3e4e11dbc93eee141f21af5c2942d391e35f3a0d04cc2cf1476"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 6 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (23 single-owned of 505 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 505 of the 621 production source files in this repository met that bar). They are anonymized user #4 (2 file(s)), anonymized user #5 (1 file(s)), anonymized user #6 (1 file(s)), anonymized user #7 (1 file(s)), anonymized user #8 (1 file(s)), anonymized user #9 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO the no advance time guard for finalize has a race condition. Ideally we would \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-actors/src/spawn_builder.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4bfb1fd5439e1bf81e593160df46438b3e6195bc195831ed656f49c0d8a8974"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO investigate why Universe::with_accelerated_time() does not work here. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-actors/src/actor_handle.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"599024df0865fbf1788b2e31cc6df033f6072239baf8bdc66602400a44ed42f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hide all of this public stuff \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-actors/src/actor_context.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d78a2126da3ea48fa94b8b35a6f09aaa28d478742f348017d9c04709785729"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fixme. The way we wait today is a bit lame: if the indexing pipeline exits, we will \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cli/src/tool.rs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"df21957a5c4eb6d68cda256bbb5c0bf5322717bb6cb61cf94ccdedeea2e8c4c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: plug tags. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cli/src/split.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"948b1987f9cee8c6f7004c01b856fc3b741edeab909f1960c5ae03aa45ff7caf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: if we have access to the storage, we could fetch that. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cli/src/split.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da9d832f94a20f3b9144adfd74b9786985a1c3b82e39df13576683a61e31743"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO move in serve quickwit? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cli/src/service.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b088940b802390379c3e0527b8ebec4a688848f33a7feb796339ce5e8c27ba2b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: nice to have: check first if the index exists by send a GET request, if we get a 404, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cli/src/index.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b21870c5320b67b48d9ad38a650451219edc89e7f99144b0958b64e31243a00"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(#5604) remove unwrap"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cli/src/index.rs"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"353a6318401200726bf281eff9477c36e8477d93104424eaeca8dbc9756323ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: refactor when we have a singleton storage resolver. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cli/tests/helpers.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc04f13d15041a8eaa45ac4085eb901d474ff71314ee5a5a208f76ad3c4aa96"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: this should be part of the test env setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cli/tests/helpers.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2e1f151badc96bc7c906e1cc4284186c8e4a68b1744b999e0cdc61595a524a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: edit split update timestamps and remove this sleep. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cli/tests/cli.rs"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7f5685c6acebfd6046a49e0b78f8791d46765dce7d5657dbab639c26a5500f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Expose more accurate size of the state in Chitchat. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cluster/src/member.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65be20f87b92456808ee14362d8915141295e9684f53317ba8d0f9762a5d59f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: increase it back to 1000 when https://github.com/quickwit-oss/chitchat/issues/81 is fixed"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-cluster/src/cluster.rs"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b753f53368f0cf95a7cdec95e265d1235102d9299b7fe8675d2328e0c95a67"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove this field once \u0060check_connectivity\u0060 is used for all services. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-codegen/src/codegen.rs"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e999946d88d6da409e8a45af68cd0b89ad829e53cbcce2563e78ed0f1f48e7d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove this field once \u0060check_connectivity\u0060 is used for all services. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-codegen/src/codegen.rs"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5c95a71d5ab15cea5a3d2e946b4fa196441f49d54c6dc84efff2d0b72170a1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO coasetime has a recent() instead of now() which is essentially free (atomic read instead of \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-common/src/rate_limited_tracing.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6079fa552d1608dda5e1a59644107d0c9b1ef0b812ee95850141da9399f33cd6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO as this is atomic code, we should test it with multiple threads to verify it behaves \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-common/src/rate_limited_tracing.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a537cdd1e12be633e1d9c64fc9b34c0ba3d8a7910adff33fb5635bc2c5b7d0f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this once \u0060BinaryHeap::into_iter_sorted\u0060 is stabilized. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-common/src/binary_heap.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5fcecd0f83f2dbbdc4efa9852eab4e76589d426025b7960bc638ca95a88ddf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We use a load factor of 0.5 to avoid resizing. There is no \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-common/src/alloc_tracker.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a75700308c98d96fea31676bc135b9d3ffe4dfc8a9596d8dae1828ba2082fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move the test here. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-common/src/tower/transport.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"879023da62dfcf315d6a0d75b505d1f60e1005356c3346248366858a032d660b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove \u0060service\u0060 in a future breaking release. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-common/src/tower/metrics.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"941b4659a233af891ea2896776527cb0021a6b13fdece4ab531996ac57fdfc44"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove \u0060service\u0060 in a future breaking release. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-opentelemetry/src/otlp/metrics.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b089cf3ca421204afdf9844d6c374a2f14ac49b2b3bc809e53f3dbc2001ca6d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove when the next version of tower (0.4.14?) is released. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-common/src/tower/change.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"998a41827b450847931be166d3f0ff19d8c8eb3da2a941aa67bea0326a3a5daa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement this method when we end up storing secrets in the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-config/src/metastore_config.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"112e1622da48d88a79dbdbe04ef3d45059413acbf5b1fbf27a65781e4f134f95"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move to \u0060quickwit-config\u0060 and version object. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-config/src/cluster_config/mod.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"42caf783388063348b3ef623efc92afc46a6496acd0ad4089407407bbdd35bbb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO see if we should store the byproducton the IndexConfig. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-config/src/index_config/mod.rs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c2681a765e0f0b44713c1cb46da9b685b6babdbe2db0f5677472390df30afe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Unsure this constraint is required, should we relax it? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-config/src/index_config/mod.rs"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36f67a447a3364942acb63227df8a98200358f5b82545d328c0cb1c4ceb0999"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO document and fix if necessary. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-config/src/node_config/mod.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18732600c00db99ff37063fd9b9191e871e8d5eebe8db5727fa913f6022c06d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO consider any validation opportunity \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-config/src/source_config/serialize.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d58489837f42295d204c4d04943adefada349255bc9cb9072bdbb96ab9f9389"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove after source factory refactor. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-config/src/source_config/mod.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b03aaab0d9cf639b2b2482ad7adce2630d2ec795b13c8b0856d378f038788d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: uncomment asserts once distributed indexing is activated for pulsar. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-config/src/source_config/mod.rs"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"8414e99cb1d04186d353037300b98e704fb93d58cc6a4b018065805195e3dddb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: It\u0027s a bit brutal to fail the entire operation if applying a single index \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/control_plane.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a896f1c2828dae705b479793b7b56f5b4c3b8137c395e0bc44d248537b0f13b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Refine the event. Notify index will have the effect to reload the entire state from \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/control_plane.rs"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"762ced9b902e76fd732ba0bc8240b54aa8cdccc2d0cd6e6fa8ffb28c29f22bd6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Refine the event. Notify index will have the effect to reload the entire state from \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/control_plane.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b1ac69faf92fb537511b25ccc09d868f163b0921a783869d9155c4c2c9dcf5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Refine the event. Notify index will have the effect to reload the entire state from \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/control_plane.rs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"263bfa8959c9122819055b270179baffb70030fee7b982b030df859ac9d8c696"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO If the metastore fails returns an error but somehow succeed deleting the source, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/control_plane.rs"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"a027123c6d1f8e612a6a42ac886b6dcf2b45bb304954513c46833966bb9d8d48"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Test that create index event is properly sent to ingest controller. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/control_plane.rs"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e1c3abafcf5951911151a63361db3ff91fade18f480ca120f3b29b9bda721d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Test that delete index event is properly sent to ingest controller. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/control_plane.rs"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce682efbb057a67afecd6a2711be25e94829a67fae8a0b5de571cc11cf731c9f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Test that delete index event is properly sent to ingest controller. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/control_plane.rs"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"6516483e8c69a934891e6b929c18e876174bea64490784a209d73bdcf3de09f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Test that delete index event is properly sent to ingest controller. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/control_plane.rs"},"region":{"startLine":1463}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3a7c4d51cb91cde2c39f13bac1fb2b02cad4bc6fbab43ba0491e6652f83fe8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO ingest v1 is scheduled differently \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/indexing_scheduler/mod.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b4b952c7e6dd90e0d5ba5572c5855c6659c1c94f242c2d5ad2956fe34dab5a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO ingest v1 is scheduled differently \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/indexing_scheduler/scheduling/mod.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"00609c357a8bf36163d6a4fabe8378d93c18d3f16297d492d57dee37aa5a15ce"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/indexing_scheduler/mod.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"814c55b3d9f837ff9559921cb4ae6c5fb796c90c2f9cbc96d0acef1284993e96"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/postgres/metastore.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef51a8a168364947797eb0672394a2ce16dbec430c7c0637fb0ed4773c5899ea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO assert for affinity. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/indexing_scheduler/scheduling/scheduling_logic_model.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a580e467747411ad2a61e11b2084f9690c289f9bb754f310d776c48e3ceeed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO cut into pipelines. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/indexing_scheduler/scheduling/mod.rs"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39cec8b71fbae5d31c4173c96b080fd56718248f74b9730519343c85d993b51"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: (Maybe) We should mark the ingester as unavailable, and stop advertise its \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/ingest/ingest_controller.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fccfcb989d78f91dabe7402dbb5173844bb76dec14619d804870d4095e46e3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO check and document the behavior on error (if the source was already here). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/model/shard_table.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a586995ce439e6487c1438bd2a71e40fe3872abbbc185c53d4c5bd4667a894"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(#5604)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/model/mod.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"c298288bfb70180c21482f6623fa9a9030c9a31f448786e887fba3a83f05917b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(#5604)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-integration-tests/src/test_utils/cluster_sandbox.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"9411080639177355641cff9218a417d817e23272f759136c6f9f5bb66b48f432"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(#5604)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-integration-tests/src/tests/ingest_v1_tests.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2e325e134e91b3207f1536af27e2315ff48a8b64b21a43bf4214b3676b9efa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(#5604)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-rest-client/src/rest_client.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"26092aab8d3e007f801216f08502ef6618327477794f116a3f006627d9eb4d80"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(#5604)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-rest-client/src/rest_client.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"664fd57ddf54d7179838076d577aecb53b07b8f6a0b6075c632874913eed3e38"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fixme: that\u0027s a pretty ugly cache we have here. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-directories/src/caching_directory.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"482ebd53c3f65a1cd7fdfe4e9530f554847488679801e91f4d4083fc54298e81"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO This is a bug in a sense. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/tag_pruning.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cbd0f87a82c0daec187512384910ee92522bf705f5bdda7b2df2cab7834317"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO same as FullText above. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/tag_pruning.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"5026aa7791d1473522d074e7934acd6988ffd65a2155944884bfa7976334bcf9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO same as FullText above. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/tag_pruning.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5215385ec56dc98e114da9dff37da6d29eab17dcacbd75039e193a0b2d9627"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO attempt to derive UnsimplifiedTagFilterAst from the untyped expression \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/tag_pruning.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05dd9091af658f0fdc4d838f2b7c3ffeb973579f3b5c2ab38b78aa3acf7d8af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO we should probably move this to tantivy, it has the opposite conversion already \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/doc_mapper/tantivy_val_to_json.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34462a56ebf8ce1635dabac16e48ef6ca1104035d346cd2b7cae847282dcac4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO do we want to allow almost everything here? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/doc_mapper/tantivy_val_to_json.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"5473e4251593a90bb11a7e33ccdf74db31606ac2827c621277765b52cbd1a14f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO we could cast str to bytes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/doc_mapper/tantivy_val_to_json.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"511fdd6327e6b242c56e29bdc03b1a9378ad0b8c54196c373bb35a898398cb93"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO we could remove from terms_grouped_by_field for ranges with no \u0060limit\u0060 in \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/doc_mapper/mod.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"445f641b6a33b87ceb9ac9e202778441073ed727b4f078980319991a7af555a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO use BTreeMap::drain once it exists and is stable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/doc_mapper/mapping_tree.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3bcaa449b7e0b4de08ff013f22dc6a79f63e6d4b912b08c8077e5a6eaa5c1fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO use extract_if once it\u0027s stable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/doc_mapper/mapping_tree.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"a813f69f754b4b936303501d89669d75b0667eeed835eb8afc444e9c369247e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: complete it. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/doc_mapper/doc_mapper_impl.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2ce46f43e382765088fcd776ea9a1b6e372804922f963987bbb7115765a112"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Enrich me! Map / ... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-doc-mapper/src/routing_expression/mod.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcd22f0d6a0c9828f08ca37a3fd02b7be3a53730cc58251514e2abc56f7e1b7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: return an error. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-index-management/src/index.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"208dfdc608c1726cf866df36abb3ed5c4a35801ed354b1d8b8251937f1cb9142"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO maybe we want to do a ListSplitsQuery::for_all_indexes and post-filter ourselves here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-index-management/src/garbage_collection.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cabe0defde0366124fadbdeefe370bf398188409489947028efb93e5614af1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove the junk right away? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/actors/uploader.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5fad8cb293253c3ee361ea9a512478616ab58644d1f2973fd6c375702d1dfb1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove the junk right away? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/actors/packager.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3a85457924fdad67bff652b4ed933dbc8f1d2455542a89acba1f025fcb9e56"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: In the future we would like that kind of segment flush to emit a new split, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/actors/packager.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12c5c59faf3e34f11b795ade53bffa84a3af1fae57fad431abfda7d48edcdf0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add backpressure. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/actors/merge_scheduler_service.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"de52ac23978c4193addb766bb5ce65f47e5e6d6abfab52e731713a1e4c50136b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO improve API. Maybe it could take a spawnbuilder as argument, hence removing the need \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/actors/merge_pipeline.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea87d0e498c0f565c6532dad2b775c53785a5ac6a325bc094c6ac507c2481ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Should return an error saying whether we can retry or not. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/actors/merge_pipeline.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"efaa161feb24020e3d0f2780cdcb0d8ccd5460046076980c58adf2e14d17186c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //\u003C TODO share with the indexing pipeline. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/actors/merge_pipeline.rs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"4875c390720591942f6ed7b9b52253a84fa86cfb5fa1cef9a37525dd0e53bb03"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO it would be nice if tantivy could let us run the merge in the current thread. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/actors/merge_executor.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b47d57422d7703a9163a08093526f1307d675930e06bf8d6255179ad0549d62"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO it would be nice if tantivy could let us run the merge in the current thread. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/actors/merge_executor.rs"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"6038c59a4d9370826791982dc3d0b9dcc5c6872f875da92528efc65aaca0369a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Does anybody why we sort the indexing tasks by pipeline_uid here? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/actors/indexing_service.rs"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"10003390c6ab87c7abefaefe6a1b6fb736474ac44e3f0b9894feb02fd510d06e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO this should return an error saying whether we can retry or not. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/actors/indexing_pipeline.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"220082c201ef429794d9c676db96030db3c857d10972d4522db20acf7e120795"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Consider \u0026 test removing this protect guard. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/actors/index_serializer.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab692cb8f5cf097dfdd8ce96e298bfeafcec30e686c1ecbdd856f58d5761a16"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use \u0060SourceType\u0060 instead of \u0060\u0026str\u0060\u0060. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/mod.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"91aa4dbe4869717256e01198d5992fc40c5698a8215656906b3f9a95d9dc909d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: these tests should be checking the specific errors. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/kafka_source.rs"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"e749404a5fce77e122329112b82b126830d4426f36d5d610db31195ff99fe42d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Think of better way, maybe increment this (i.e wait longer) as time \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/ingest_api_source.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cca935ed01435bd6d52b9e1c69f8820b8375c8e25009b13f3d6404123ea9f5a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO use a timestamp (in the raw doc batch) given by at ingest time to be more accurate. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/ingest_api_source.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0aee4b96640058bf567797b7fbc82249137e7eebc2ba63352fdfe5db893aaf3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Source deadlocks and test hangs occasionally if we don\u0027t quit source first. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/ingest_api_source.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fc0a6aa8e66024c18ed1af4eca86e19a7962dccfcb8e0fac0eda0510c23a71"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Source deadlocks and test hangs occasionally if we don\u0027t quit source first. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/ingest_api_source.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6f8271eadebd78fc322c2331c1c2b08ee80f619977709083077aa23aff8871"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Source deadlocks and test hangs occasionally if we don\u0027t quit source first. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/ingest_api_source.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cddc0252ef5ef32736402a1ee9a650d953834b23aa1c70989381308101ae5d1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: replace with \u0022\u003Cnode_id\u003E/\u003Cindex_id\u003E/\u003Csource_id\u003E/\u003Cpipeline_ord\u003E\u0022 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/gcp_pubsub_source.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"005622f98994a9099bf5042a5759409afb3d601dcd6a3c0efe28d6ff0579cc47"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: ensure we ACK the message after being commit: at least once \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/gcp_pubsub_source.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8f84d7dccee232b91f3dddd8729793241cf82c6883f03b2dac519c16cae109"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: ensure we increase_ack_deadline for the items \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/gcp_pubsub_source.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a98e8483f1fb615e777fc997f3747cde44e1c45fa0da45bfce0ca6e79e18868"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: need to wait for all the id to be ack for at_least_once \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/gcp_pubsub_source.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd72bed69e0ceb0c9872d0152bfaa448d5d2cbac65c132428645c5e545773b02"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add ack of ids \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/gcp_pubsub_source.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3322a0ad89a1c08e7de6c16801dee14da71d33fa1f6225cd6f44651bca9ec81"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace with now UTC millis. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/gcp_pubsub_source.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5bbc79b032bef9c2bc94f002755f756ba677b5957ac8b5302ab7a6e582b671"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove ACK here when doing at least once \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/gcp_pubsub_source.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"557d449aaa0968a0bcc611f675a618f0b57d91457242215d1a810283d1cb7de0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: first implementation of the test \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/gcp_pubsub_source.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0267559575f51ee27bf358e71f423b76678b97822a6a36f53e9f1947a5fc295"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO retry if stream is broken (#5243)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/doc_file_reader.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c50a51c48f7093cfd465ed061f97203b2df8b322c356dc18646b7120551f333"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Return an error other than \u0060anyhow::Error\u0060 so that expired shard iterators can be \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/kinesis/api.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff010a5bc9d4b17697eb953fadf58f971379af3256a9207f14e15a09a2f13919"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We estimate the message deadline using the start of the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/queue_sources/sqs_queue.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa52c23687e90239ab3f50f052f457a45f25f94d3c7d2708dcd69bdd965cea5d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: parallelization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/queue_sources/sqs_queue.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bfb017702442aa432cfa65463c62786db0d17548c87d57becf60f0f6e180a1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should we kill the publish lock if the message visibility extension failed? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/queue_sources/coordinator.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"123c274a17e5e850fd36e346a9b8ab68d6500b4214d48ce1cd8dd1ed0237a8de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Make this configurable. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/split_store/indexing_split_cache.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce236e79a00b4cdc3eb268f700d62ced244097cd30b1edad3da1cd639e92e1bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO do we need to keep this? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ingest/src/queue.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f6995ba991d0238c18e520f2b1cca71125566cc2e7da249827b2feedd34b75"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO None means we don\u0027t have itempotent inserts \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ingest/src/queue.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c4b21c756bc6d384ce0b75afffeb21d727cdb5bea7f5c9b973e05d62d1f12c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ingest/src/ingest_api_service.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"276f72f5308c0380158148826ed32ef83b325becb519bc2066d56f3a509753b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO we could fsync here and disable autosync to have better i/o perfs. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ingest/src/ingest_api_service.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"1630de6afb43b7086a74f617ede6c1a33c001c910faa9ed64875dc70491f2be2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO maybe we want to fsync too? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ingest/src/ingest_v2/state.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"82adfe0063f49de040c1580af064da9915214dca34277dc1d7f5781657cbc442"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: decide what you want to do here exactly. This might be important \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ingest/src/ingest_v2/routing_table.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"e432ec41dd2baee714462b8a37db23bae738da2b7e600941c1d04de66019aa11"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Backport from original branch. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ingest/src/ingest_v2/fetch.rs"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"770cf6e7bf32e15c2bbeebb52c578c4f377d2a7c511a74a7425e5c0227255b1e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO connect to grpc port and verify it refuses non-tls connection \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-integration-tests/src/tests/tls_tests.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e748d5bb756b25240a7dd25c0d8c9d2f2feaf691458282e3168522c83a1d422"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Increase comprehensiveness of this test. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-integration-tests/src/tests/otlp_tests.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b27f4b4302f4e43e6e4a63ebb5796e89d5c4c73be936c383b40937a041b4fd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(#5738)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-integration-tests/src/tests/update_tests/doc_mapping_tests.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d6888ca61b59189bbbc97e7ff458e9a05ef4493c7084488705c4e80ce05ee3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: builder pattern \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-jaeger/src/lib.rs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"899bb74dcc99631989e60e5ebcc95225a7b94b820f1737073ed9a8e1df9557dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO disable based on some feature? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-jaeger/src/lib.rs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fc6d2dbe3e1e07a57008fb48f88e64662834c5a2bdf5a650cd3eaaa3cbeb65"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO should we use filter instead of must? Does it changes anything? Less scoring? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-jaeger/src/lib.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0763b2bb7026cf6974a17fac218e5d22cda48f4899ec4db373e79d9d69412c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-jaeger/src/lib.rs"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"0952eac0a4fc3833c9533809c3b9ef8631c5e27bde3a7163e975a9c4845f753d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-jaeger/src/lib.rs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd9a577ed32d9639c8fb2d2e85bf9d207a4d37aeb48ded5540d37470e1c29f8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-jaeger/src/lib.rs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49fe65e7e6c69c0ca663d5892577bee2c88215947c06550dfe3f4dcaf3d2c8e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/elasticsearch_api/rest_handler.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"113f88894c42cd9bb588cf16c2bee0f316bd9f92681b0933ab7d43c0064903a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/index_api/rest_handler.rs"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc54833329ccbae0590c4aca4c79500fe2e8de5c2d6fb2677464c77018fae232"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO ideally we want clean up all staged splits every time we restart the indexing pipeline, but \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-janitor/src/actors/garbage_collector.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0c29944582f9673e0a9f80c29ef7779ecca1863b21b026e557934d496834c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: validate the query at the beginning and return an appropriate error. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-janitor/src/actors/delete_task_planner.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"76de8e1caebf0bdfccffdf9c6ca0aa6ed3ce1e6752a7739eab5d6c43653d791e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: resolve with the default fields. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-janitor/src/actors/delete_task_planner.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"f975153d444d6c0755c5359565f9dd311dca0052f9dbfecb9a613418f718c7ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO wait for https://github.com/juhaku/utoipa/issues/704 to re-enable"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-macros/src/lib.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c42eb61d83e8ee3a500d1a7ffba60f39b6d1d52f7de73c5188c913886ceb3f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO make u64 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/split_metadata.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0917c08428c1dfbbf19be0e655ea7d9301602cd20e73c2d5347fa59567f7fe7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove the aliases once we drop support for the legacy manifest file. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/file_backed/manifest.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecd63119e12635288bc9d5225777cfffde9a2ba06f1cccdeaa5c2b6d1a47744"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Rename \u0060SourceShards\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/file_backed/file_backed_index/shards.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bb293c2349d3357c38f83f492bee9abc32ce172f2d8977b87f69e579dec200"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove \u0060skip_serializing_if\u0060 when we release ingest v2. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/file_backed/file_backed_index/serialize.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bdb60469cc5167ea3d296bf793b489f107e6ad5e0fde6562ca078387d32aba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this filter when we release ingest v2. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/file_backed/file_backed_index/serialize.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6cce22b09e0b6c2d2d72187fe3314dcae71eabbbae26c6ba2f5f7c5707e404"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this when we release ingest v2. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/file_backed/file_backed_index/serialize.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ee7dbc83ae1f618cf2b7a144c0307fc0fb8b77f558d09791f3ba2682c64a48"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO we should explore IN VALUES, = ANY and similar constructs in case they perform \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/postgres/utils.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"78dbe78b5d245897b8b0abcaefb62ea3a3f2b2ebe30f5a54e68e8572a156b74b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: This is not idempotent. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/postgres/metastore.rs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca1068207fa5043996f5b8fe78a8547b3b56d71870d8c35ce2c83db8eca02a0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove transaction. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/postgres/metastore.rs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7ca20f08078808c81988a334af14294cd1e45b5a9f79f0c999dd442e6ee90f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Issue a single SQL query. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/postgres/metastore.rs"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df0d7b809d16667a0bb83d8f9305c4afda638f9d38c95d977209767cfe56646"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO source id \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/tests/split.rs"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c8c625909129a5396234fb8d29ea239d7ebe74dc5b6d2b8d2af969c532167e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO source id \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/tests/split.rs"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b05dab9796d7945e807fef5df9f50fc0e4a4ff68c1fd870a99ca5e8cf3a43b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Source id \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/tests/split.rs"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f738c79c9f5542afea1f623059a5f8aaefd1f1a11b50c45a30053423749aa0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Source id \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/tests/split.rs"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"039c516f0e0c1bcb76935de9f5bb8a2621b175e9199a43cbd8f5147ff0e0e42f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO source_id \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/tests/split.rs"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"476c6390ee726ad9acc5e11b6f759deb4ff9a59e599aec1cd13cbca8d9f9cdd0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We should not be able to delete an index that has remaining splits, at least not as \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/tests/index.rs"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a60309d6d3c696dfeedbd18fc7d0a3dd93e3a9cae868ef5009eb2595902a01"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This implementation conflicts with the default derived implementation. It would be better \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-proto/src/indexing/mod.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c558b22960926bb3f6e03fee0afa9a1401624976a4bc684603e314b12c3f472c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO is there a better way to handle infinite/nan? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-proto/src/search/mod.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4c6c867498cd915ba807d1f79b7d391cd3f71259edebf3129fd96e6e131a87"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: when \u0060bytes::encode\u0060 supports \u0060\u0026[u8]\u0060, we can remove this allocation. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-proto/src/types/pipeline_uid.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1292c513179b49edf08270ea1f253959658195e9dbc48e119543a83ab755c3a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: when \u0060bytes::encode\u0060 supports \u0060\u0026[u8]\u0060, we can remove this allocation. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-proto/src/types/index_uid.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92be91d1d3faf81b2868aed13fe221bf87a51ab82e9423d34814f7132c2cb4a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: when \u0060bytes::encode\u0060 supports \u0060\u0026[u8]\u0060, we can remove this allocation. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-proto/src/types/doc_uid.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7455826fd913367e48fa416ad789f3fd1a9111bb42188786c396cc6b0efaa32d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: when \u0060bytes::encode\u0060 supports \u0060\u0026[u8]\u0060, we can remove this allocation. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-proto/src/types/doc_mapping_uid.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29b20a002f48e04b0b4e3b95035446b6fd6bb6fe2d4a08d319050f0707f559a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We can use default field from index configuration instead \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-query/src/elastic_query_dsl/multi_match.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6df3f28897ca6516fba0642377ae388a92ca72328ee0eb40d25a5b8f9f31ca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO we could turn must_not(must_not(abc, def)) into should(filter(abc), filter(def)), \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-query/src/query_ast/tantivy_query_ast.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"1520c1b23333b4921bc2b05c5e25efd7412294a6ee684790f5b8986ba388f679"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add support for search_after to the specialized collector. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/top_k_collector.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef44f3db4f9af6772573b412f858fa9bc4adb0503130b381b0749f8e848ec38"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace with \u0060push_within_capacity\u0060 when it\u0027s stabilized \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/top_k_collector.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d9fb6d65bdc77508aca1de94929f9915da0f11a317cabe800be9b770c9144c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO actually it\u0027s not first, it should be what\u0027s in _shard_doc then first then \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/top_k_collector.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c2bd3749d5ea29b4f4b26a920a3c77a91ce7e0fc0f67f1c29880e4ee75c0ea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO previously, we were using zero-copy when possible, which we are no longer doing: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/search_response_rest.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7789f71956c505c500b910ad95e66f5c73205babc6c1a38ff4e23577250a7b4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO make configurable. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/scroll_context.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"54608e67c32f76ac79f405c6b4d064fe7d56e5d0a8c8d5831b96c5e8a1bc9d8c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we could validate if the search after sort value types of consistent with the sort \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/root.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"890e8aad5c5487516769c091e5dd00c4709f860d8059ff735e9ccd7fdfd6a4a1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO detect Cache(MatchAll), Boost(MatchAll) and Bool{must/should:MatchAll} \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/root.rs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8f935f5baaf9e6baa70eb7deb0c10189aea491d5b956009e2a2074a6f11a54"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO if search after is set, we sort by timestamp and we don\u0027t want to count all results, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/root.rs"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ced9edf55ccf1f85d0fc9c6ce05166d60e022586e2832c8a75d954ffcf0abf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO saturating isn\u0027t exactly right, we should replace the RangeQuery with \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/root.rs"},"region":{"startLine":1654}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6df8ccad2509d6bc0c5a6b605b06ea63060dd012f5406150bf34c48e706a2d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO saturating isn\u0027t exactly right, we should replace the RangeQuery with \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/root.rs"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"b171cfd093deb2d985e45026f50032cdd433c05930e80fc7482d5dc859f0fa4a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO when fixing #3323, this may need to be modified to support numbers too"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/root.rs"},"region":{"startLine":1712}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8bb60fde3426ae1a22df656a8c50e54c95007f3882aef22cf211fbd2e516da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO this formula could be tuned a lot more. The general idea is that there is a fixed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/root.rs"},"region":{"startLine":1794}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c86b60b18843b697697f7e25254a71e97861c880c0c9725effd4a7bee6822a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (Add it) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/list_terms.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81952ed0e41826465864c98a81397374c8d5a6d135795eb0d14945bd8e4970b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO dedicated counter and timer? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/list_terms.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f1e63c0ff7c46197939a36a3b39ae0a784a230e6a70bd334db3130cc096586"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO we could be smarter about search_after. If we have a cached request with a search_after \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/leaf_cache.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5740c717d7a12e28d6c1ace74caa41056954c295b19c83966316a3210db4e1af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO if we don\u0027t request counting all results, have no aggregation, and we get a request we can \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/leaf_cache.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ed361e728753f3fb303e3d24fb39bdf1fbd81531e7839531799d08769e1d2d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO if we stored a result for X hits, but a subsequent request asks for Y \u003C X hits, we can \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/leaf_cache.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b3be2d44b01629eecad0ab427cace7991128e32dec6cdfa58f04a0a139ec9a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO mix of 1 and 3. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/leaf_cache.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab06200740483d558308cf0cbbbaada71b66d0bb248cffc58bccaa7c23972a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO this means given a request for X documents, we could search for k*X docs in each split, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/leaf_cache.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6156271cc9e2ec011c6c9dd16e5a89fdc661b83cafdb8392bd8cca8103a9bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO merge warm_up_postings into warm_up_term_dict_fields \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/leaf.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57fccf8c9b0c39fe0a9d7dbca4934ff6f672cbaaf56346432189f9936573d47"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO we could remove query bounds, this point query surely is more precise, and it \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/leaf.rs"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d245315a1288f743bd71934a0efb90a7bb8b7b9125adb4077966a07e2ed8a62"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Update the logic to handle start_timestamp end_timestamp ranges \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/leaf.rs"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"11595c3218bdc4ec9145d3a90803e4a7aae1804ea07d36cec9d327acf3f03716"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we maybe want here some deduplication \u002B Cow logic \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/leaf.rs"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"a857d36bbc51228d11c840b2f5924ed5df651ca2b624d9f8b39f49782fcfeaae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: to avoid lockstep, we should pull up the future creation over the list of split ids \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/leaf.rs"},"region":{"startLine":1626}}}],"partialFingerprints":{"codehealthFindingId/v1":"276fdb4bb3a33f8768139ff2275d75af212f9d0a5abaf920d12ee75d42e256bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove the clone here. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/leaf.rs"},"region":{"startLine":2227}}}],"partialFingerprints":{"codehealthFindingId/v1":"76971fa6dcbb78a683d4377e9108cd332d771d94a55604216d5af07716edd29a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we could use the RWLock instead and read the value instead of updating it \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/leaf.rs"},"region":{"startLine":2373}}}],"partialFingerprints":{"codehealthFindingId/v1":"91275cb3d9717d0af237173f31a55f03a219e5ceea920490b9f7ba93d3cedc86"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO ok with termset? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/fetch_docs.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc4a4a6c8b04114309dad531e8100537f12a597e5d88c259cfa3535eae6c013"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: the serialization to JSON part is missing. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/error.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f893baea56c64702207674d7d8b75325bc33abe7586396fcd790642c72bfb3a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO we could possibly optimize the sort away (but I doubt it matters). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/collector.rs"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"27362473c09f831d5feaa4b6198114825093862fcc13d2fcf4dca5e4d662fe45"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO This should not be there. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/collector.rs"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e3c42246a85be6e3c6c91c45bb651ec163136023b3eead661bd4998cf8ced7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO This should not be there. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/collector.rs"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bebb560dfa3dbd81995a5400641763e3ba74f4ed1e1ea644c9ad658da962637"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/collector.rs"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa41eb375d862e3908d89e0d6a3306d89012997a20e7b5d2ff1ed4ce85de7ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO would be nice to test aggregation too. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/collector.rs"},"region":{"startLine":2062}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0a0f50a9e839c0d89d601677d57817867a0c4e414d92e6452f14fb5f85c459"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement retry \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/cluster_client.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"82feea2d1ba067c9f7cae422b7a7f408a85aa0a0b0e7c1bdc49ca087d1f20f3f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we may want in the future revamp rejections as our usage does not exactly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/rest.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df4b2eccad63ae167bb9fa9612700d18874f03ee9ed5bc0940c1601254599a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: I\u0027m not sure that\u0027s such a good idea. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/lib.rs"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e538b29a90fd0335727c7e27ccd2b47157b2ee8d01ad94947eb31e018c49db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO should it be something else than a JanitorError? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/delete_task_api/handler.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d82e9626405f33bc2a58e75f283302e4d9846ff072ae7a73671f341ec94344"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Test control plane and ingester debug info. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/developer_api/server.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"3167aac948b6964e3eb5066afc2674a49c2acb9cc3e3e280a4286d7109d2f9cb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Refactor handler and test against mock developer service servers. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/developer_api/debug.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"161615a63cd0d55d240aac65972d2ac328b315ed596e96655ad8abde1db07d72"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO make cleaner once we support Vec \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/elasticsearch_api/rest_handler.rs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d532850696de2f4be87643110ada02851e2af90b90b3915a21a3922d3d418a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: forced to do weird referencing to work around https://github.com/rust-lang/rust/issues/100905"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/elasticsearch_api/rest_handler.rs"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce56eeaa238fb6eadb0368fdec74cb5cdbc325d505016e7cc57fa8aea153da1b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO append_shard_doc depends on the initial request, but we don\u0027t have access to it \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/elasticsearch_api/rest_handler.rs"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c2f6efed0891494aad0f18aa41b571287c889e7fea98b088f6853e4a3772c1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make all elastic endpoint models \u0060utoipa\u0060 compatible \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/elasticsearch_api/filter.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6995762726e31187b552f1822dd00f247fae7a417f4682e82f1e0224e765e65"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle already exists? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/index_api/source_resource.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"0103a3a712e2436534e353d621e512cc4f7c447cddaa4a1501df9dea36511624"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(#5604) remove Option"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/ingest_api/response.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d886a9f4ddda25d38b6d669012f8e16e63c28ef9d4716e325a76f3e7d52f15f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(#5604) remove Option"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/ingest_api/response.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e159a60835cec960b6bfd1680a2f07bdc15d7f35793b0bb00e701824114201"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(trinity) i think we have an off by 1 here, imo this should be rounded up \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/jaeger_api/rest_handler.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"d379e66b7b679b694f492cb57f7c701ee3946bcd7d4cb41cb4d5a87e6c42da07"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: use also tags to identify processes. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/jaeger_api/model.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc76f06a1d34c2d3f51604fa27edcd1bc6f42b5e7de664d41c595deeb8aaeb15"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO test avoid aborting timed out requests. #5468"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-storage/src/timeout_and_retry_storage.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"4807b6ec6f9c333939ee75cf297d5c88bdf6487a99f253e82b314dbf1f3104d4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO It would be good to refactor this to enforce this with a bit of a refactoring. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-storage/src/file_descriptor_cache.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1528ed29e57fd1af27fd6cad72a47eb8fc208adac8ee1c4dbd88dba53a7ba6ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is swallowing the context of the source error. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-storage/src/error.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2596a14df9d5bdbf9b508208cf91c72af737773f72ef70f6af73e89d9ec0f2ac"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: /// HACK! We use \u00600..usize::MAX\u0060 to signify the \u0022entire file\u0022. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-storage/src/cache/quickwit_cache.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd941417b5a6c84c9ce1537666e03bf31c2ee645315254f4778f6e0b49e78ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO fixme \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-storage/src/cache/quickwit_cache.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47e72bf92f15530ca61da5017fcdba4a71df5f16dee8713361a6fdf3d4db7e6"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: /// FIXME The current approach is quite horrible in that: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-storage/src/cache/mod.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b76bc5d3bd30d88c24b4a4a058805a33bfe96eb23405fe498b09d1849d5006"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: It is sub-optimal that we might have needlessly evicted items in this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-storage/src/cache/base_cache.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"326077b76b2c124ee77f5074e7eb7b98e531b6b3316e8911a09a8efecafda757"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: This may not work on Windows. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-storage/src/object_storage/s3_compatible_storage.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb418e0f70d21c145e0a1a6f9090f0c4cedf58936389e680f93a041c94dad7c3"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: This may not work on Windows. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-storage/src/object_storage/s3_compatible_storage.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a3f38846bf931227a3851aca9669eeceb3ced981f56a66377a0c876bfbfe14"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// # TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-storage/src/opendal_storage/base.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e187712f87f6a14f1d5dd75876126f3741a190e310c0ccb3f91e9c94b684fab5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Uncomment storage_test_multi_part_upload when the XML API is \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-storage/tests/google_cloud_storage.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaebe6ede4827262f3cb12fa6442aea855a88a845dcf27a6c47345baacbd26ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO show generated aggregation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/components/ApiUrlFooter.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"565afb153defac45216691d4be3d4ea6b77d034fb07a5f8ac7cdbb77330057e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: clean language features as I (fmassot) did not dig into it yet. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/components/QueryEditor/config.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d430fba25d743093260680326f05f967c7f8dd2906053a6ebd0a655faab2ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add percentiles \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/components/QueryEditor/AggregationEditor.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"07cb7760c6a0840e4fef152c92277581f3e96222da6ce604f8560f4fa30cff31"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: improve validation of request. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/services/client.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7bf3017c7121c11400378831190bdc0a684420c42ec0a0f7c850ec64c44df8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: restrieve all the splits. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/services/client.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a566be9a390ebee383916184dcabc88902942f9bfe4c7cfcfe41e92ea39d0ec7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: the trim should be done in the backend. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/services/client.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e712e9c051532f1969b72826690201ddab9e41f1186b2a6b84d2aadd8583ec7c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove this css with magic number \u006048px\u0060. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/views/IndexView.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e8f4c5e6c012e4e186db469fe67ed89805d5944c8437121e30614fabd46809"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: contradicts the code: The deferred migration doc describes a global versioning rule that is no longer valid because the metastore uses a single SQLx migration table and the PostgreSQL migrations are all sequential. Update the deferred-migration section to reflect the new single-table, sequential model."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/migrations/postgresql_deferred/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b313fa7931503b4d9066390ff8fc1c7b143d0f2f42e4e57488bf0980dad2c0a"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D22","level":"warning","message":{"text":"Duplicate intent: \u0060kill\u0060 and \u0060quit\u0060 appear to perform the same action (terminating the actor) with identical signatures and return types. In actor models, \u0027kill\u0027 usually implies forceful termination while \u0027quit\u0027 might be graceful, but without distinct behavioral documentation or signature differences (e.g., returning a specific error for kill vs success for quit), they are confusingly redundant.: Unify into a single method (e.g., \u0060terminate\u0060 or \u0060stop\u0060) or clearly distinguish them by signature (e.g., \u0060kill\u0060 returns an error if already dead, \u0060quit\u0060 waits for graceful shutdown). Given the identical return type, they likely do the same thing. (signatures: ActorHandle.kill(): (ActorExitStatus, ObservableState) | ActorHandle.quit(): (ActorExitStatus, ObservableState))"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"018ffa04a27ae02488b77467e7efff166609f61949eefdc4389206e1c13be707"}},{"ruleId":"D22","level":"warning","message":{"text":"Duplicate intent: \u0060ask\u0060 and \u0060ask_for_res\u0060 have identical signatures. The suffix \u0060_for_res\u0060 suggests a specific return type or behavior (perhaps returning a Result directly vs wrapping it), but the signature \u0060Result\u0060 is generic enough to cover both. This creates ambiguity for the caller.: Rename one to clarify intent (e.g., \u0060ask\u0060 for fire-and-forget with response channel, \u0060ask_for_res\u0060 for direct result return) or merge if they are functionally identical. (signatures: ActorContext.ask(mailbox: Mailbox, msg: M): Result | ActorContext.ask_for_res(mailbox: Mailbox, msg: M): Result)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a81d0ce11e180d0b59e3e590ed38b5d2a14a66c4892f504e0da37990aa86b2c4"}},{"ruleId":"D22","level":"warning","message":{"text":"Duplicate intent: Same as above, \u0060Mailbox\u0060 exposes both \u0060ask\u0060 and \u0060ask_for_res\u0060 with identical signatures. This inconsistency propagates from \u0060ActorContext\u0060.: Unify into a single method or distinguish via signature. (signatures: Mailbox.ask(message: M): Result | Mailbox.ask_for_res(message: M): Result)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5e417dab7945316633a8bb32200ccb061703f084fb44d9f9ebe5cf5531cfcdc0"}},{"ruleId":"D22","level":"warning","message":{"text":"Inconsistent naming and return types for observation: \u0060ActorContext.observe\u0060 returns \u0060ObservableState\u0060, while \u0060ActorHandle.observe\u0060 returns \u0060Observation\u0060. \u0060Universe.observe\u0060 returns \u0060ActorObservation\u0060. These types likely contain overlapping data (state, type, etc.), but the naming (\u0060observe\u0060 vs \u0060observe\u0060 vs \u0060observe\u0060) and return types vary by context, making it unclear which method to use for a given level of detail.: Standardize the return type (e.g., always return \u0060Observation\u0060 or \u0060ActorObservation\u0060) and ensure method names reflect the action (e.g., \u0060get_observation\u0060 vs \u0060observe\u0060 if one is side-effecting). (signatures: ActorContext.observe(actor: A): ObservableState | ActorHandle.observe(): Observation | ActorHandle.process_pending_and_observe(): Observation | Universe.observe(timeout: Duration): ActorObservation)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ca1fe4e5d411c5fc3f95ccd9d3e6f6c62fafa76194f2ffa2f4cd852b190b3610"}},{"ruleId":"D22","level":"warning","message":{"text":"Duplicate intent: \u0060search_index\u0060 and \u0060search_index_cli\u0060 have identical signatures and likely perform the same CLI execution logic. The \u0060_cli\u0060 suffix is redundant if both are in the CLI module.: Remove one. If \u0060search_index\u0060 is a generic function and \u0060search_index_cli\u0060 is a wrapper, rename the wrapper to \u0060execute_search_cli\u0060 or similar to distinguish intent. (signatures: quickwit_cli.index.search_index(args: SearchIndexArgs): Result | quickwit_cli.index.search_index_cli(args: SearchIndexArgs): Result)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"64406db55a5f2c225ab1d2647ba8c17fba95100b4c29ed4bc9c5e9f17c7dc320"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 4 of 34 project(s) overshoot their size bounds, lowering Project Cohesion to 7.7/10. The most over is \u0060quickwit/quickwit-indexing\u0060 (31738 LoC, 159 public types across 11 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"da45f349ed84ebfcf51b5d54af5f2a054967b61c1bf4f91527a87907a1ccc4dc"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"93962a53ae6e8a91e5cc3b75ba86bc0193934a56bed57f426ce009a8b5dcadf0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad404b85773ad510cabffef31429be7f1a524103658e3f8d21abd1754488aaf9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9e8b54a1e41222ceec677d15268c954163a43b7a04a04f9f08c93aab64accc5f"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"91d45cb3f8581d132d70e47336667d27023d6e82afba87a5dc38f7eb9f453012"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee219829dc53817c2fd68cb66a8b5df2a892d7327d104860be1d04af89042b7b"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"38040475eae4b327b4686f840345eb798c8cc2439e6ae480467b54da564b58df"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"87458277b0df043dd443de8c868b0e615e722c426f0feb9031a1cf59537578b1"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0bf20290bc9688535a6f8f3566e5a18c02ad2a7fe68f3d97754f8d21a5813045"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a84724a084967791d79027c3dec20bf5f61a914e6fea30b550c9af30d295a351"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"da99ce8eca6cd0b6347f74a9649064999606268ff5813c484facf9c0d1a69a30"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4890e547b3f267b5d250ab8a9c9684b9f82dc411161ece6e650ad1c2a0327690"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"98412e04b3e20e2398a5bbb8f545f14686e9df5b5e6f405c00d0bebb6911c28b"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b32cc5b87075e53f78f2f89a9bac20f25f64440b554f1a56f5b52f857035d534"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf3e90aaeb31c01edd6e999de20ff040ff8e3350ed28c670126d9298c5689950"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"36fbc14be81a946a51ac3ef00a15c153b89b5190c82816063cb2a1a654571647"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d9838f03c7c20c72dbb0ffc7ca1d19b4b84854bb6c948fd790768d64f691f000"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"70d8302ca60d4b8ea1fc9c3d43ec4aeeed445814ebca8130dd2f325ca9e0ca20"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e7dccb68003bafb9dcea378d27cbe9bb9bf0a6f1267758b41be78c64263d1b34"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ffcd735457e8b0b600d8a4bfd378ddca7e0e3a828963239548aa1f3fa453ffb3"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf8bc17b9ce8ac2b87cbe850f2bc29e1b2fc20f1e56a9ab0e584fa3d0a0b47cf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5445b778e76f14a8a71bae14be9426851008be82e6d58979a02f473decd2560d"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa0ccac172c8795c1a7ff1c68b5a654474c4f3cb0d1146a47c83f4d50451751e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"66fb0e31d98235de95a4e5a12cab0f4930b5b5974a70ce97ec86392e9bfbdb77"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe791c21302257c3d728662a3385ca914de888ba9e8052fbb802f08ec87cccea"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"baa68a90b7f43d194c176c67cf47e7ebab0b6f4aa44ee6f0e351f3dd154e8174"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eaa51db9711fc9040d8c3cbe8ac1ece841382994d187bfbeb10bef5da0bb4ce7"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"50a0e959f2d83098cf5832e74a9ae7aae6ccad20621233bfd7dd5541ca17d861"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8d4a0f1929f34b20b8bc2f8f7e48197ce3f563d331ee6b6e6fd51b8cfc75a0db"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"595923e43e8773b0ac8ffdfd0e7467f13ce67f3e551cf81dbe9287bac2257742"},"taxa":[{"id":"CWE-913","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"61e07f520eb7b77a94938e9031a83a9a17cd978321486312423c15d97af2a290"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf56afcad8fa16213f54887ce336ecb62c82835cd0ebe475d9ef008584e4ef5b"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5753dc8146dc279d542a219b7386430b24ac10278f716033ab73fcc05250739c"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"69e269c0e9adccffd382814fd4b557a5f525ab1e8c093f05847a5c709489993b"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ed0006164c97b7feb9a01b4f4d454f72afb4b8dae676a4a67c12dd052f2b4fcc"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a451f2f50daa151012e48440d73c5c5d900643fb8640d6854fad615f5eb69162"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.101.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0098","RUSTSEC-2026-0099","RUSTSEC-2026-0104"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d548fcd1b612cb78dd19912cdce9b836b63eeb41d3f8a7c6d2cbd5711a3b4c9d"},"properties":{"dependency":{"package":"js-yaml","version":"3.14.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e1ce442bbe2ff1c4ff1de3fe36e96ac1f8a15ec28395e7959482922de325b51"},"properties":{"dependency":{"package":"js-yaml","version":"4.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"95bcc0b9aa5d63a778887c8db780739411fc1b5999595d2263d889e3b16ba8aa"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.14","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"09816b67fe042ceefc2213ea16a6e34f8e36d8dca11593f7c624d751d26d9fe5"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb984fb40cc85c8e036491eff31e0ab5c87e24313c072d294f4f920d2c239a6c"},"properties":{"dependency":{"package":"postcss","version":"8.4.49","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5985efbed96993121b54c38f501c180e6aa4cfffbdb5957e3de259fb1016b330"},"properties":{"dependency":{"package":"browserslist","version":"4.28.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"702d45aac28757be01f16b9702b6630e22718b73c19637695e0bf9100f5523b0"},"properties":{"dependency":{"package":"postcss","version":"8.5.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc1e98d99ef5e477605010d3097fe3446847937efadd01f419c7264137ae2adf"},"properties":{"dependency":{"package":"jsonwebtoken","version":"9.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9ecd7173f89e14d45635f13a8e85212411e00d23978054af5a134482ce6b1fb"},"properties":{"dependency":{"package":"rsa","version":"0.9.10","advisory":"RUSTSEC-2023-0071","aliases":["[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"21858b9de035f1becad739137266f78033870334cb5cae8e1e32ad91cba548a4"},"properties":{"dependency":{"package":"http-types","version":"2.12.0","advisory":"RUSTSEC-2026-0174","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"add61d4a6a996606c44a62fe070c487c6832ccce88c014531272a29552ed42b4"},"properties":{"dependency":{"package":"proc-macro-error","version":"1.0.4","advisory":"RUSTSEC-2024-0370","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bcd7f65e5d1d5ba9f53ac0375c3fd79bd7fe7d5fed189df0af438726a7a81ebb"},"properties":{"dependency":{"package":"instant","version":"0.1.13","advisory":"RUSTSEC-2024-0384","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bcb283cb3c708e7015b9b0a67471d89365cd2999b49d64316e943eea6a0a7662"},"properties":{"dependency":{"package":"paste","version":"1.0.15","advisory":"RUSTSEC-2024-0436","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc49c4b2f3c24e85486c7b5e0f93b5f341c040f12fcee1a3642347e9726b7349"},"properties":{"dependency":{"package":"rustls-pemfile","version":"2.2.0","advisory":"RUSTSEC-2025-0134","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb68c1d0834cb6b0252adc4e456adcfbccd911758344366532c942e7780afecc"},"properties":{"dependency":{"package":"proc-macro-error2","version":"2.0.1","advisory":"RUSTSEC-2026-0173","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a2aa9dc007cbc5876641df873592bcd4e3a23fc572abffe22e050d26fa7095e0"},"properties":{"dependency":{"package":"rand","version":"0.7.3","advisory":"RUSTSEC-2026-0097","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fd8faaa6035cf6adf45745e6d2cbef043b7531245d5cda9c71727412c96aabe3"},"properties":{"dependency":{"package":"event-listener","version":"5.4.1","advisory":"RUSTSEC-2026-0221","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba8e77e884fd0a8618dc4170312f59a210dc29fe967322f0f6c101b4f9beaa4c"},"properties":{"dependency":{"package":"lru","version":"0.16.4","advisory":"RUSTSEC-2026-0253","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dde0c88b1bbd90817b6d907aff887304da1ef3a5f25fe99173edc18d68483271"},"properties":{"dependency":{"package":"quick-xml","version":"0.26.0","advisory":"RUSTSEC-2026-0194","aliases":["RUSTSEC-2026-0195"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bca3f45cc7a50db9ec64cbc915dffe65820e8fdd066b2cd6f55b42657aa4e80d"},"properties":{"dependency":{"package":"quick-xml","version":"0.31.0","advisory":"RUSTSEC-2026-0194","aliases":["RUSTSEC-2026-0195"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8beaa42c02bb2f8c997a0b43af7714596be74b7620992c65f45adacc96c2787b"},"properties":{"dependency":{"package":"h2","version":"0.3.27","advisory":"RUSTSEC-2026-0258","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a698ab96444fd5de6a82a0c56ff9caac7fc5a18eb2872fe5d0ad86b3af75d12e"},"properties":{"dependency":{"package":"h2","version":"0.4.15","advisory":"RUSTSEC-2026-0258","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"98c493c030d00893bdf56324046fd59ecc601cbf23cbf5f885885792b14c43a9"},"properties":{"dependency":{"package":"azure_core","version":"0.21.0","advisory":"RUSTSEC-2026-0275","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"33f4d8bbbda826f2a8f0ce57690b9a76c8f206c6841a67b6bdb0b8d2201e9cad"},"properties":{"dependency":{"package":"rustls","version":"0.23.41","advisory":"RUSTSEC-2026-0285","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c0380dee4a293aee47bd8a48809e94dacbaf15a514afeea4f88154a379d25377"},"properties":{"dependency":{"package":"domain","version":"0.12.1","advisory":"RUSTSEC-2026-0310","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d65518d6c7fc532391177b0def95c5ff5071683d19dca0110b7ef286f5372f1f"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.23","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1ab67ccfeeb61008df29aef1007cd70966baf7afcf497ffea8cdaa4947aa5fe4"},"properties":{"dependency":{"package":"esbuild","version":"0.27.7","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aaa507ba8ddb31568f1db71609bf6943df181ae2420af703a419557e3f297739"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1a2d8d47f86b6733375d9a00f38d75c10d1d05c03ca7b022e5c78879547174aa"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f8b86d819dc377bd091130bcd69ab6f29af87d09a039295a23ff1d437b420d80"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"11f6a2a0cb54f9acbaaf6d30a2b92799740e1aee4fcb2f98dfdac1563f81fe8a"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d3000aac3aa6efb906e2ae0565657e7d8c2c4e7ac340ce56da8a757f60705af6"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9b9d18e4d67de847173c98b388ee6df4fd9046a58b9039d0747c136fff01ed9d"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6bb28173d3e37e12e907016e9ad340657b332988ebdf692d22db97df0490647"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"98575b8149b7a61b9a6735ae2726caefe2e3833d8ea5e4ce2f8cec5981284353"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e00cc8f006ff049dffd35b3f968b6f8b15dd8fc5df6fa3dbb81e13714d1f0263"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0757850297cab34e2f962cb6dc3b17b2956795379453882db90b58566fc784dd"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3fc4b1bbd3fa4149f213fb7773b13f24fed451210fcd2e902f2057e484b17e74"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"91bc055537fc8b168d5953d51068c2cddc104a126138e650d279db9dedcea1ba"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"23ec10eba0815d0777a530d8a71ce4fafdd5a34c44264ed879eb5a91c34e7f5b"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d1c332293c299e0ec0d48581803d37c6b21ca5deff86b5f1dfae24bebdaf2c41"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49f771bc0f6e63353275adf72ac1bdcd2774d1c0adcc7600613a4fa7c49f7542"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"19d2e57cadeb359b7b7f81a4be5323ed217f9aca01ac8c132f6ab39ff1898a18"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0146368a7d9c58df6b75b42fc6a3ff8459d2148645e180ff1d48da6954ad266d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d147c61554f271297faf6a6fc817310fa21e7a02211b2467e05014aab4823374"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"411382af0e2eedc98bf8a9d31e155152e4e69e28ea5e289cc25b0eeb1887300b"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dfc00246ab17e4b866f9011693e9c22d481eb7b90698bbfc6451ac0d8fa7a9f5"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"412397626e929b26d9af0850377dbfe05c5746bd9c42c64a145dcea5bf920336"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb78c57196b2f314331c5ca6005ef6c32d0d1945597480db5cadbc7cf725b114"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e0634b244d47fc9b0fb07bc69ad4883b2c445b600a6f9dc0193ffe159962e425"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1757cbc3e56bd92972d38d936668da0f92fafac5e661d0e64268e390c0a0e79"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"da55086ba69de31f28a13a9f00e59147e95eaef70d0fe5e865cf496f1964b42a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"13c89d044fd3c7c65b21bd600c09f45717ae22b3424ab11993c9ad0eab82bb86"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5e137fbc00ae3c25cd3e06315687714a5c65c8d8a304309981ef0f959fdc9c5"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d36b2127516fdb05498dd669a4a75a95779dadd798ba6787810831479e1af63"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3ee14043dd06d445301e7b607bbcd9cbb8e285050e6a34a84f6b0b980cdfc591"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"28e99edc7ba08a8f1be8a13a9b964eea48d7cb7334d11de7bf7fdfd862f1855b"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4de7f331874ebfde5cb9f323f6d8052cc5139be709d6a5b7c455abb80dcfdaf4"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/openapi.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e811ed80f2cce5d6d785432acfe7ed3a6e5ec400b3191fc31d8c84f01d6e810a"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/jaeger_api/model.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d47e4ed1ad713e689874da84de5a0700c5efc45361e3d9299219486d65d4796"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/doc_file_reader.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f97ed1fd457e5f2076c3250c8aba6068b196476eeb03e3ae8612c21bbca6d1"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 21 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: quickwit/quickwit-common/src/alloc_tracker.rs, quickwit/quickwit-serve/src/index_api/source_resource.rs, quickwit/quickwit-indexing/src/source/queue_sources/message.rs, quickwit/quickwit-ingest/src/doc_batch.rs, quickwit/quickwit-ingest/src/ingest_v2/publish_tracker.rs, quickwit/quickwit-common/src/jemalloc_profiled.rs, quickwit/quickwit-serve/src/ingest_api/response.rs, quickwit/quickwit-directories/src/debug_proxy_directory.rs (and 13 more) (24 orphaned of 505 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 505 of the 621 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mod.rs \u2194 mod.rs: \u0060quickwit/quickwit-proto/src/control_plane/mod.rs\u0060 and \u0060quickwit/quickwit-proto/src/ingest/mod.rs\u0060 change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006070bfc47d\u0060 Add \u0060code\u0060 label to gRPC metrics (#6685); \u00609b3873bd\u0060 Add gRPC reflection service (#5697); \u0060d4ad40db\u0060 Removing the last extern crate macro use old idiom (#5546) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-proto/src/control_plane/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6990ad6d249b269b263c65d38c6a64ff1dd3ccac6dd9980236d31e7352384786"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: tests.rs \u2194 lib.rs: \u0060quickwit/quickwit-control-plane/src/tests.rs\u0060 and \u0060quickwit/quickwit-serve/src/lib.rs\u0060 change together 67% of the time (10 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u006055840e41\u0060 fix(control-plane): Avoid spawning a new control plan loop on every s\u2026; \u0060f3880d52\u0060 bugfix: dont schedule indexing tasks on retiring indexers (#6427); \u0060b4bf3c42\u0060 Exit when chitchat server fails (#5819) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f81bc4dcaaa15252f5fe2d7115e0cb90e2706ef4cabe1f543dff92f96fcc9bc"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: lib.rs \u2194 mod.rs: \u0060quickwit/quickwit-search/src/lib.rs\u0060 and \u0060quickwit/quickwit-serve/src/search_api/mod.rs\u0060 change together 67% of the time (8 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00604c6a293f\u0060 Remove search stream endpoint (#5886); \u0060ddcb138f\u0060 add api endpoint to get query ast (#5212); \u0060ba382524\u0060 Add local search CLI. (#3564) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d84cab93268d9b1996dad268ad7a6754775c2b615094c4313477fa83afcecb"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: leaf_cache.rs \u2194 root.rs: \u0060quickwit/quickwit-search/src/leaf_cache.rs\u0060 and \u0060quickwit/quickwit-search/src/root.rs\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00607062b13d\u0060 schedule leaf searches by (priority, remaining_splits) lexicographica\u2026; \u00600bb78090\u0060 Forbid usage of some complex Option:: methods. (#5754); \u006059d5498c\u0060 document search after (#4265) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/leaf_cache.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a4bb96cb6f4ae29916d795b8f8172c4b3030d189c5027ffd4252636c104dbb"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: azure_blob_storage.rs \u2194 s3_compatible_storage.rs: \u0060quickwit/quickwit-storage/src/object_storage/azure_blob_storage.rs\u0060 and \u0060quickwit/quickwit-storage/src/object_storage/s3_compatible_storage.rs\u0060 change together 58% of the time (11 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u0060be1054d6\u0060 Make \u0060Storage::get_slice\u0060 zero copy for single-segment bodies (#6336); \u00604d0ffc32\u0060 Fix build warning (#5828); \u0060ea35a535\u0060 Add in flight get slice metric (#5726) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-storage/src/object_storage/azure_blob_storage.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c818e8150bd856b7d95702c73c764b33c45fded36da1bd27003115ce400ed1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: control_plane.rs \u2194 shard_table.rs: \u0060quickwit/quickwit-control-plane/src/control_plane.rs\u0060 and \u0060quickwit/quickwit-control-plane/src/model/shard_table.rs\u0060 change together 57% of the time (13 of the 23 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u00600358ca36\u0060 Improve control plane logging (#6003); \u0060f10654a2\u0060 Faster shard scaling (#5679); \u006069f700aa\u0060 Removing bias from shard allocation. (#5233) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/control_plane.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15091ad332eb94cff11aaa4399b099f946b5094737811fb39d941e5a64438d5f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: control_plane.rs \u2194 shards.rs: \u0060quickwit/quickwit-control-plane/src/control_plane.rs\u0060 and \u0060quickwit/quickwit-metastore/src/metastore/file_backed/file_backed_index/shards.rs\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060f3dd8f27\u0060 Debounce shard pruning request (#5374); \u0060948329b3\u0060 Add update timestamp to Shard model (#5332); \u006080351aeb\u0060 Replace handwritten getters and use macro instead \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-control-plane/src/control_plane.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d997ab8c275566dde0ac57c5106c578c85dd08f2f25b1b6581b3a30dce39e5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: bulk.rs \u2194 rest_handler.rs: \u0060quickwit/quickwit-serve/src/elasticsearch_api/bulk.rs\u0060 and \u0060quickwit/quickwit-serve/src/elasticsearch_api/rest_handler.rs\u0060 change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u00608026d62c\u0060 partially implement _elastic/_cluster/health (#5595); \u0060e5908554\u0060 box warp routes (#5540); \u00605df205d9\u0060 Adds recover_fn to many routes. (#5006) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-serve/src/elasticsearch_api/bulk.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"925380bea58e3a2c858bed1614f8da710c650b612a0089cbb00d0ad7bb5b7794"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: root.rs \u2194 mod.rs: \u0060quickwit/quickwit-search/src/root.rs\u0060 and \u0060quickwit/quickwit-serve/src/search_api/mod.rs\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060ddcb138f\u0060 add api endpoint to get query ast (#5212); \u00602d9b731d\u0060 Code simplification (#3568); \u0060accb9315\u0060 Bypass gRPC stack when the search service is local (#3348) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/root.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2b0bd117ea4f1c97e5650e2ab3a670d604239b9c4f40eb6b7962e958cb0ee4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: search_response_rest.rs \u2194 rest.rs: \u0060quickwit/quickwit-search/src/search_response_rest.rs\u0060 and \u0060quickwit/quickwit-serve/src/rest.rs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060ddcb138f\u0060 add api endpoint to get query ast (#5212); \u0060c9f611e2\u0060 accept post requests, plug aggregation (#1142) (at that commit the files were still \u0060quickwit-search/src/search_response_rest.rs\u0060 and \u0060quickwit-serve/src/rest.rs\u0060); \u00601313ab50\u0060 Add errors attributes to rest search response. (#974) (at that commit the files were still \u0060quickwit-search/src/search_response_rest.rs\u0060 and \u0060quickwit-serve/src/rest.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-search/src/search_response_rest.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df914bdd26ab0c94f235dd5ac7b40dd92a4e704d81c036b5442da20fb29531af"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: shard_positions.rs \u2194 ingester.rs: \u0060quickwit/quickwit-indexing/src/models/shard_positions.rs\u0060 and \u0060quickwit/quickwit-ingest/src/ingest_v2/ingester.rs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060cb5cbce9\u0060 Add more logs (#4648); \u00609c82b7aa\u0060 Adding more logs to diagnostic shard truncation problems. (#4635); \u00608e1f0bef\u0060 Initializing the shard positions actor with the existing cluster stat\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/models/shard_positions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e5c23fb243ac80d9a8163b69a1fb13770c17bdd2c558a806c28c4226da4995"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CAutocomplete\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id / name \u2014 and neither does anything it renders \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/components/IndexSideBar.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d77548760ddb849a682ee3d0b67e7831d8036913d950010028c4348111b603"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id / name, and nothing it renders carries one either. The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/components/QueryEditor/AggregationEditor.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec98b83eed269d977095c9fc49ff7a4121220d97b8bfaebc878f0dfadcff1d5c"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id / name, and nothing it renders carries one either. The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/components/QueryEditor/AggregationEditor.tsx"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ccdf297644dc3234112563fc94ac47466c82deb95054417aa1fcdad3fc1d9cd"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id / name \u2014 and neither does anything it renders \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/components/QueryEditor/AggregationEditor.tsx"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"0609b015cf282a9ebb25bde3d9712ed7ae129814a33d56baa9840d9dad5394fa"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id / name \u2014 and neither does anything it renders \u2014 so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/components/QueryEditor/AggregationEditor.tsx"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"db016953df4abfeac9a9d38fbc73932438f253a6676d796dc4a0e72a4f1d4d7a"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/dependency-licenses.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"550f0061bff51a445dbac9707d621c51a41783003520b6cf31ef8330890feb8f"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/dependency-licenses.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac6697a4a6df3a29d852004cbe4b885e66b4973865989518f608aaa983a88be"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/scripts/about.hbs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40ee197afb70cfe4549a600f51838e7f88a0aef793bfd64d6cb6988ec42bca7"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/scripts/about.hbs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bedc4b964c1db63710233eb5ba0c0a1cc64f3acfcdb8ffb9635c38473b5176"}},{"ruleId":"AC7","level":"warning","message":{"text":"Accessibility enforcement below the top rung: No accessibility enforcement found \u2014 your Biome config enables no a11y rules and there\u0027s no axe/pa11y/Lighthouse in tests or CI. Start by turning on Biome\u0027s own a11y rule group to catch issues at author time. What was searched, so you can tell an absence from a miss: the 30 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository\u0027s test and CI files \u2014 matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"ruleId":"DM5","level":"error","message":{"text":"Mutable field under value identity: IndexUid: \u0060IndexUid\u0060 implements a hand-rolled \u0060Hash\u0060/\u0060PartialEq\u0060 (identity semantics) over a \u0060pub\u0060 mutable id/hash field \u2014 mutating it after the value is placed in a set/map silently corrupts the collection. Make the identity field private \u002B immutable (set once in the constructor)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-proto/src/types/index_uid.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3482d621754ad4e77d32f8fbb2233bd37396e5094b4e44094baaa8256772346e"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 28/30 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060quickwit/quickwit-metastore-utils\u0060, \u0060quickwit/quickwit-metrics-inventory\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-indexing/src/source/pulsar_source.rs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f09d7a213efbd1e2895d01e839af46608ac3a981056545fea6569af565fa0e6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060try_from_indexes_metadata\u0060 is async and calls block_on \u2014 a blocking call inside async code stalls the executor thread, and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/mod.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"32826f228254aa866004a72682b52e821c1319853cc4d12583c89df560736dc7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060deserialize_indexes_metadata\u0060 is async and calls block_on \u2014 a blocking call inside async code stalls the executor thread, and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/mod.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"f295d3d8f99283eb43d725d9396929a1d0e9bf928418df2dd7ccb4b898006c1c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060try_from_indexes_metadata\u0060 is async and calls block_on \u2014 a blocking call inside async code stalls the executor thread, and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/mod.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"933136554f165978b3fb37bffe6d7dca0c16c1528b4ca1cb9e7e100787d28edf"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060deserialize_indexes_metadata\u0060 is async and calls block_on \u2014 a blocking call inside async code stalls the executor thread, and every task scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-metastore/src/metastore/mod.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"7873dbe6077048a26445adabb1ccd2bc16a2110320e713968cfbcb9f671adf9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): quickwit/quickwit-ui/src/components/TimeRangeSelect.tsx:233 \u00B7 quickwit/quickwit-ui/src/components/TimeRangeSelect.tsx:252 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/components/TimeRangeSelect.tsx"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1f3815901d7913e55034693f92bf726f839fa0cd84cdaa867e4247786b3228"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): quickwit/quickwit-ui/src/components/QueryEditor/AggregationEditor.tsx:189 \u00B7 quickwit/quickwit-ui/src/components/QueryEditor/AggregationEditor.tsx:204 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/components/QueryEditor/AggregationEditor.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f825ad2572a2023b8a417cb459451a56d968a50427c7450529e48ce6acf9f0d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): quickwit/quickwit-ui/src/components/SideBar.tsx:95 \u00B7 quickwit/quickwit-ui/src/components/SideBar.tsx:105 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/components/SideBar.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67cf812f762abf616ca7913af9b66dbfce1ff934efaed3fc5e6adadde15997e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): quickwit/quickwit-ui/src/views/NodeInfoView.tsx:65 \u00B7 quickwit/quickwit-ui/src/views/NodeInfoView.tsx:75 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/views/NodeInfoView.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c407bc55c476152cfafb00880c25ee281e99e910bdf60ac93310547a5f657caf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSearchUrl (cyclomatic 11, cognitive 12): parseSearchUrl has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/utils/urls.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1954ecc1cf18a0ee0d956b1550ad8b0965e95d1e57977ef5982f603aede82364"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/providers/EditorProvider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6fb80a7e1e875bcf2e371be4521e442baa95a576faf867dc5ab80b816118d9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f353dc1da8362c1c66ec16ccb6f64170653d6202d23caef7f4a31659d44563"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/jest/setup.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9fb8529262ebab6671c3639650c88ec1fd388486096211bb675698e09393f92"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~54 LoC): no import path from any entry point (7 application, 3 tooling, 11 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/providers/EditorProvider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ca5314490c11fb44a8313ce532195564f8115e7717a67db3de1699e6c7ae23"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027setErrorMarker\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/components/QueryEditor/config.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"a701f626a2b4a0a93d90b4c1727da4f1d72d94d00072919047c4b3978941f1c7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027DATE_TIME_WITH_MILLISECONDS_FORMAT\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/utils/models.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f230008bbbbdc6435bf42781e3272cdb57192d30e1441cb799abd03ad1da5576"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027EMPTY_INDEX_METADATA\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/utils/models.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4de984958ddc04ac4dda7f53b010cb8c37e78bc277da03ee001038bac04cd2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027QUICKWIT_RED\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/utils/theme.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0d0b46b7813556ec5d61d97a7e43c5c605fc6d9736f833c8e3adcede0cfb6f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027QUICKWIT_GREEN\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/utils/theme.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebc95ed3cdfe19b0da15fb2c7e1ee7fc8edc19e2f8d9b2d7013d933aa073f09"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027QUICKWIT_GREY\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/utils/theme.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3976f18e8d7fd76a3fa2f325dfb4e5447b2c7347213033f14832054a4b8502b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027QUICKWIT_BLACK\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/utils/theme.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f8ff35a650db8cd67b576a046ecca64b2858e0ec158d4c911787026649e0a6"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@emotion/react\u0027: Declared in quickwit/quickwit-ui/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"625cc07fc773eb0a9d14198ddea468d8731eb03ff5ff82fe0b8dbe0eed9f8cf4"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@mui/system\u0027: Declared in quickwit/quickwit-ui/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b58c2f379ba4c6898a20b82153561185b752ff5582d1c8f405d7ade202bf0434"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@testing-library/user-event\u0027: Declared in quickwit/quickwit-ui/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"24f9a522d388fc05f64222dc6b4c2c22b471a92d1ae1002b95165d056c48201f"}},{"ruleId":"R8","level":"note","message":{"text":"Test-only dependency \u0027@testing-library/react\u0027 in production deps: Only test files import it \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"quickwit/quickwit-ui/src/index.test.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cfd7ed41c62846ab5ee80224ac09080a04fa9874f2a590004031bb2fcc8d6a"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"CWE-1104","shortDescription":{"text":"CWE-1104"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"CWE-1329","shortDescription":{"text":"CWE-1329"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-502","guid":"f7d3b296-aac0-5c5a-b706-e07faba26c36","name":"CWE-502","shortDescription":{"text":"CWE-502"},"helpUri":"https://cwe.mitre.org/data/definitions/502.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-913","guid":"062167e8-5db3-0857-a865-a1fc4aad34bc","name":"CWE-913","shortDescription":{"text":"CWE-913"},"helpUri":"https://cwe.mitre.org/data/definitions/913.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-95","guid":"400bba4e-483c-5c50-a695-114fa9168003","name":"CWE-95","shortDescription":{"text":"CWE-95"},"helpUri":"https://cwe.mitre.org/data/definitions/95.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":99,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}