{"$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":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"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"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"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":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"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"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"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"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"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"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"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"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"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"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"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"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"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"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"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":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"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":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXS1","name":"Runtime exposed surface","shortDescription":{"text":"Runtime exposed surface"},"helpUri":"https://codehealth.canine.dev/dimensions/AXS1"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"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":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"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":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"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":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"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":"Muster.start_link (cyclomatic 30): Muster.start_link has cyclomatic complexity 30 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"forum/lib/forum/muster.ex"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e676bbfc5160d44823144f011471ab662c3af5cb766821f7aa84a8f5f676cd9"}},{"ruleId":"D1","level":"warning","message":{"text":"initRealtime (cyclomatic 30): initRealtime has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 11 of the 30 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 236, a function literal at line 191, heartbeatCallback, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/app.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f049fa8f403763a2f1ee9a0552b47a7f77337f98fb0e4cc8848ed6bd0f3a60"}},{"ruleId":"D1","level":"warning","message":{"text":"RealtimeChannel.join_topic (cyclomatic 20): RealtimeChannel.join_topic has cyclomatic complexity 20 (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":"lib/realtime_web/channels/realtime_channel.ex"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3052e9411c4aa5d539ec855e1298cbd70f2390e7e4b37205cc4feaa6c2d8af"}},{"ruleId":"D2","level":"warning","message":{"text":"initRealtime (cognitive 37): initRealtime has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (15 pts), ternaries 6 (11 pts), other 7, boolean chains 4 (nesting depth added 8). Most of this is not in the body itself: 13 of the 37 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 236, a function literal at line 191, heartbeatCallback, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/app.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"775a7beaffcc13e28d21eb427b65bd080e96bc3a74f9f1d11c4b28fa1ec98490"}},{"ruleId":"D2","level":"warning","message":{"text":"Muster.start_link (cognitive 29): Muster.start_link has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 19, if/else 10. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"forum/lib/forum/muster.ex"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa51cf50657dbad05df9b05bec988201182650eded5868a3baf7dc6b9638aa6a"}},{"ruleId":"D2","level":"warning","message":{"text":"RealtimeChannel.join_topic (cognitive 27): RealtimeChannel.join_topic has cognitive complexity 27 (threshold 15). Drivers by points: if/else 18 (22 pts), match/switch 3 (4 pts), boolean chains 1 (nesting depth added 5). 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":"lib/realtime_web/channels/realtime_channel.ex"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"851df84ec0550d3f0574c4a90daf560ee1de5d4d85a132474f8254c92428b6b1"}},{"ruleId":"D2","level":"warning","message":{"text":"Scope.handle_info (cognitive 18): Scope.handle_info has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 2 (3 pts) (nesting depth added 8). 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":"forum/lib/forum/muster/scope.ex"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"887ca0cece9d3db86a49996c236f72fa07e81e13ccdd966d734b43b7a79d57d4"}},{"ruleId":"D2","level":"warning","message":{"text":"app.cleanPayload (cognitive 18): app.cleanPayload has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 3 (5 pts), boolean chains 1, 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":"assets/js/app.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb7a18405a9e4722effc598ea9236140bb914e1ff98f52d3a10fe5bdbafb814"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: muster/scope.ex: FileTooLong \u2014 1082 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 62 functions. The bar is 500 significant lines; this is 582 over it, 2.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":"forum/lib/forum/muster/scope.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60352fcaede3f1084d6b4012c5efa97ca96b4d5e42b8c102ce6014d4b3e4be3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: channels/realtime_channel.ex: FileTooLong \u2014 945 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 49 functions. The bar is 500 significant lines; this is 445 over it, 1.89\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":"lib/realtime_web/channels/realtime_channel.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5945858854261c7b95e056aa71a4e38ee03304ccdf71950642a71d990c0bcc6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dashboard/recon_trace.ex: FileTooLong \u2014 696 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 196 over it, 1.39\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":"lib/realtime_web/dashboard/recon_trace.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aaba15e942056ce49cf460b162109c20d096de57d83dbf9852bc6d0497057e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dashboard/tenant_migrations.ex: FileTooLong \u2014 663 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 45 functions. The bar is 500 significant lines; this is 163 over it, 1.33\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":"lib/realtime_web/dashboard/tenant_migrations.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"535e532b9710c1b4887cf835c52ba6d536bf14c9d169bda6d50c8b5d0fdbce24"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Value: TooManyFunctions \u2014 38 functions. The bar is 30 functions; this is 8 over it, 1.27\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sql_logex/lib/sql_logex/value.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed91b62e014b61ff162493871af6614b338019198de5dfb0a8c2ecb7c5ad690d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dashboard/tenant_info.ex: FileTooLong \u2014 593 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 93 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":"lib/realtime_web/dashboard/tenant_info.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9685e3b6e6c2eff2c9b4b3a363f6591df54b59aad7df6326c58e878448b843f9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Connect: TooManyFunctions \u2014 35 functions. The bar is 30 functions; this is 5 over it, 1.17\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/tenants/connect.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e72139051e91bc543c90bb34181a4f806c45e0071664623c78f0e70c703795"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Tenants: TooManyFunctions \u2014 33 functions. The bar is 30 functions; this is 3 over it, 1.10\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/tenants.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47d23b01ac1243ec06d744e3e2650d0880f34e0f5a7cb846015cff0a1fb8193"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Tracker: TooManyFunctions \u2014 33 functions. The bar is 30 functions; this is 3 over it, 1.10\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rollcall/lib/rollcall/tracker.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce42bcda173c8879ad1dbb7dbdff1b3ebbf93806821157bb10a8dff78cff8505"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Api: TooManyFunctions \u2014 31 functions. The bar is 30 functions; this is 1 over it, 1.03\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/api.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30773838d14c66c9b45ab976742cb75f83faeaa3dc03576aeb0e5257b48ea560"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: Index: TooManyFunctions \u2014 31 functions. The bar is 30 functions; this is 1 over it, 1.03\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime_web/live/status_live/index.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a92aff8638abf32e3b866f8d10b918b5ba55b9f5fa330e3055cf8ae45bfce16"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: muster/shard.ex: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 45 functions. The bar is 500 significant lines; this is 6 over it, 1.01\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":"forum/lib/forum/muster/shard.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae446cb0dc26b52447bdcd8a8a9a5bc898ccf7bcc7fd37ec5abb6b6648e0676"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): lib/realtime/monitoring/prom_ex/plugins/distributed.ex:88-99 | lib/realtime/monitoring/prom_ex/plugins/gen_rpc.ex:89-100 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/monitoring/prom_ex/plugins/distributed.ex"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"51dd2ceba9fe35c773bd2fff4778c8c7045a7f7a86814b8b8e7a483f1e3a958b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): lib/realtime/tenants/repo/migrations/20241030150047_messages_partitioning.ex:6-124 | lib/realtime/tenants/repo/migrations/20260616120000_add_postgrest_filter_ops.ex:22-688 | lib/realtime/tenants/repo/migrations/20260626120000_readd_postgrest_filter_ops.ex:25-691 | lib/realtime/tenants/repo/migrations/20260707120000_restrict_realtime_schema.ex:7-92 | lib/realtime/tenants/repo/migrations/20260707120000_restrict_realtime_schema.ex:96-171 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/tenants/repo/migrations/20241030150047_messages_partitioning.ex"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91d209267545344f460bdca9263406696e3710584ee7b6696669cfeaec53fcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201339 lines \u00D7 2): forum/lib/forum/muster/shard.ex:431-469 | forum/lib/forum/muster/shard.ex:527-556 \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":"forum/lib/forum/muster/shard.ex"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25312bce0caf6341a360b1938ea55807bffa681c25093e093e1e63d0b76200e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): lib/realtime/tenants/repo/migrations/20260707120000_restrict_realtime_schema.ex:16-49 | lib/realtime/tenants/repo/migrations/20260707120000_restrict_realtime_schema.ex:97-141 \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":"lib/realtime/tenants/repo/migrations/20260707120000_restrict_realtime_schema.ex"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d937aafc8a0ce4fffb98f79930b6f9440a2879f7216b5961cf60ae2495568c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): lib/realtime/monitoring/peep/partitioned.ex:51-75 | lib/realtime/monitoring/peep/partitioned_tables.ex:83-106 \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":"lib/realtime/monitoring/peep/partitioned.ex"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbcaa3f864d7a8cbe66096d4315111b4d5fc986fc23879eb2df4440ccde911dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 5): lib/realtime/tenants/repo/migrations/20241030150047_messages_partitioning.ex:75-95 | lib/realtime/tenants/repo/migrations/20260616120000_add_postgrest_filter_ops.ex:22-75 | lib/realtime/tenants/repo/migrations/20260626120000_readd_postgrest_filter_ops.ex:25-78 | lib/realtime/tenants/repo/migrations/20260707120000_restrict_realtime_schema.ex:7-49 | lib/realtime/tenants/repo/migrations/20260707120000_restrict_realtime_schema.ex:96-141 \u2014 there are 5 copies across 4 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 5 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/tenants/repo/migrations/20241030150047_messages_partitioning.ex"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0620dc2cc9c423e48e8246ab2ad028469fceeb61601525dc4aab67eda5d9b86e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): forum/lib/forum/census.ex:54-72 | forum/lib/forum/muster.ex:195-212 \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":"forum/lib/forum/census.ex"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd402724132edb709f2ae6ad66fcfaf5ea9f5bd9a01921b43060edbbc20fbeee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): lib/realtime/tenants/authorization.ex:106-122 | lib/realtime/tenants/authorization.ex:175-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":"lib/realtime/tenants/authorization.ex"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca975e7dca0307066b70b155b3f48b3c6d3d434e3c399881f68ae260a731fbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): lib/realtime/adapters/postgres/oid_database.ex:37-51 | lib/realtime/nodes.ex:49-63 \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":"lib/realtime/adapters/postgres/oid_database.ex"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"110bfe397b1babcb10869f7252b7e01cb3aa05f670301811572ab4287a9c992c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/realtime_web/channels/realtime_channel.ex:447-459 | lib/realtime_web/channels/realtime_channel.ex:705-717 \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":"lib/realtime_web/channels/realtime_channel.ex"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"9595e79b5f856afb85447014a2d26ef56090136999e8e3e993b70658d6729670"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/realtime/monitoring/prom_ex/plugins/distributed.ex:93-99 | lib/realtime/monitoring/prom_ex/plugins/gen_rpc.ex:94-100 \u2014 before extracting anything, compare \u0060lib/realtime/monitoring/prom_ex/plugins/distributed.ex\u0060 and \u0060lib/realtime/monitoring/prom_ex/plugins/gen_rpc.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 63 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":"lib/realtime/monitoring/prom_ex/plugins/distributed.ex"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe9f68790bf6cb67420101cf869a235157487aeb83c1ed0cc48f24cec5d8a4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): lib/realtime/monitoring/prom_ex/plugins/distributed.ex:26-75 | lib/realtime/monitoring/prom_ex/plugins/gen_rpc.ex:27-76 \u2014 before extracting anything, compare \u0060lib/realtime/monitoring/prom_ex/plugins/distributed.ex\u0060 and \u0060lib/realtime/monitoring/prom_ex/plugins/gen_rpc.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 63 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":"lib/realtime/monitoring/prom_ex/plugins/distributed.ex"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e2547d56a4bd5276c50a6db2d441f5f535eaec47be56a3a7a68ee7554a393a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/realtime/feature_flags/cache.ex:29-34 | lib/realtime/tenants/cache.ex:12-17 \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":"lib/realtime/feature_flags/cache.ex"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"861756834bffd8bd815a21c0793e43827ab8af62a690039a215226cb4aa92b7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/realtime_web/live/components.ex:422-426 | lib/realtime_web/views/error_helpers.ex:41-45 \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":"lib/realtime_web/live/components.ex"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4dbf92021c9f38ce0b6db8c0e4b65989b3c56f26756741e241be02e8805d03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/realtime/monitoring/prom_ex/plugins/distributed.ex:79-84 | lib/realtime/monitoring/prom_ex/plugins/gen_rpc.ex:80-85 \u2014 before extracting anything, compare \u0060lib/realtime/monitoring/prom_ex/plugins/distributed.ex\u0060 and \u0060lib/realtime/monitoring/prom_ex/plugins/gen_rpc.ex\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 63 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":"lib/realtime/monitoring/prom_ex/plugins/distributed.ex"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bcad39750d4dba9ec1038c8249bae328c4143cc64f2fcd11832d36b1ac0750c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): lib/realtime_web/channels/auth/jwt_verification.ex:103-108 | lib/realtime_web/channels/auth/jwt_verification.ex:113-118 \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":"lib/realtime_web/channels/auth/jwt_verification.ex"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8f850f3537c7eec3db2386dfd5ee4f13afa21586ae7709b9fd898c1e8e5777"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: sql_logex: sql_logex: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4787c75c0b96ed1413d04aa4fd671e2b111f2ced402bd0b044e5cb2cd7d5b87c"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: forum: forum: abstractness 0.07, instability 0.00, distance 0.93 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f72891f0987252d5ba97fed0850b27c07986d5fce0655aa5782a3c242f709e02"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: rollcall: rollcall: abstractness 0.09, instability 0.00, distance 0.91 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3338fca38a5fa00e3b1f971937fa8a4cf2e676bd0879a7e4987a5807148c2f82"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: user using private channel can connect with enough permissions: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/src/suites/authorization.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8db99c5cd424ac11e910364547133dccd61ab5874e7c340dcd872b43d0eede"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: first connect latency: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/src/suites/connection.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d340f0f6f4705b2eb6586215241ed396f16c2044f597be39b7189d2148ebc695"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): postgres changes system message latency: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/src/suites/load-postgres-changes.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67f406cd459644a018d0a32b785b07e4013ea7b11ecb5fd0be7028e4e1e7340"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: user is able to receive self broadcast: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/legacy/tests.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3678a4ff77c41d2ad615c4da722b7f72d4d989b511dceb444d559841c6980f7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: user is able to use the endpoint to broadcast: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/legacy/tests.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5c66ae107b32e3b3b03467c0aeffcfd6c213dc5ccee44995a3607e34db3bbd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: user is able to receive presence updates: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/legacy/tests.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08c362822ec60b803ed731de020d8ab9c45eaee80ffa034ff1079d6293c2cf9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: user is able to receive presence updates on private channels: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/legacy/tests.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"82cbca55a624f2c645bdf85f361351d433da085e63a517d1e27c8b45e47e922a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: user using private channel cannot connect if does not have enough permissions: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/legacy/tests.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc620db1c27ec95bb743fc7b46e6c9978de15146cc4686ebb5891c73b228dcd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: user using private channel can connect if they have enough permissions: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/legacy/tests.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"c478bfff33313185c61949d84446093c5cae49ac1360a2fd796fc818f6824537"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: authenticated user receives insert broadcast change from a specific topic based on id: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/legacy/tests.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1f36c5acac9ded1830b326f906325889a45f1de4b5f0e6d27365fb091da025"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: user is able to receive INSERT only events from a subscribed table with filter applied: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/legacy/tests.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06b4d833e77fbad389051a4c426d75921a819d78f066789e3a8e004e4069c3c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: user is able to receive UPDATE only events from a subscribed table with filter applied: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/legacy/tests.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1df914c4b1d248f5de8af4ab7b7c9e7169aa04f4f9ece37633b3d61364cc63"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: user is able to receive DELETE only events from a subscribed table with filter applied: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/legacy/tests.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12a8624381949980d5629e5e6a6a9e72647ee3381a6fe3bd16a145032011793"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: user is able to receive self broadcast: This test starts work it did not wait for (\u0060channel\u0060, still running when the sleep starts) and then orders itself against it with \u0060sleep(0.2)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/legacy/tests.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1211b7e0c49f74488d9e7d81beaa8eaa02c39d6c7f23323098a40b44ed88ea"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: user is able to receive presence updates: This test starts work it did not wait for (\u0060channel\u0060, still running when the sleep starts) and then orders itself against it with \u0060sleep(0.2)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/legacy/tests.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3164b42f352db5652f0111b84eb032168ebab4c9980bd58b892e8374b670f6a6"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: user is able to receive presence updates on private channels: This test starts work it did not wait for (\u0060channel\u0060, still running when the sleep starts) and then orders itself against it with \u0060sleep(0.2)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/legacy/tests.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"49439bf9c03ea6f377001741eb307e72531827350403aaeee9dd78cdaa75480a"}},{"ruleId":"D13","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":"3ede62d674e2a2a8dae94f22285fd6b8567aa3cccbc2d28d8d3f663206b45f02"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"e0c16e7b714242233830cefb4afeaebe701353f22002372f2f479ba329589379"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"51a4794cf20cfad63d58bf27b658cdae057529f207f0c754d3a26509c101fef6"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"06ae98cb9941134bcb070ef6a7c03ec5e1bfc1d7afd37c3e5ed3186202ab1505"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"4ef03b1b7ec4f0665faecbbc259b0bc72e22f10c5d52c2463f28f91281d6594e"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D13","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":"ae8117fc90fe3b6caf8f198d3f4f40fcc96d52061ff74809d6f356ea763ca4d0"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/realtime_web/channels/realtime_channel.ex: lib/realtime_web/channels/realtime_channel.ex changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in RealtimeChannel.join_topic at line 82. 16 of those changes were fix/bug commits, so the churn is repair rather than feature work. 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-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 16:45:30 \u002B10:30\u0027 --until=\u00272026-11-10 16:45:30 \u002B10:30\u0027 --full-history --no-merges -- lib/realtime_web/channels/realtime_channel.ex\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":"lib/realtime_web/channels/realtime_channel.ex"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d54511f403cb15a685edae357d4f91954a6fa0465da80fdcc536dfe74415db"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/realtime_web/request_metrics.ex: lib/realtime_web/request_metrics.ex changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in RequestMetrics.classify_broadcast_error at line 77. 2 of those changes were fix/bug commits, and the other 2 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-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 16:45:30 \u002B10:30\u0027 --until=\u00272026-11-10 16:45:30 \u002B10:30\u0027 --full-history --no-merges -- lib/realtime_web/request_metrics.ex\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":"lib/realtime_web/request_metrics.ex"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c31482428dc31d6d564a13d1a7fcda5731d0bfc743732382afb3fbeb8f3ce60"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/realtime/tenants/migrations.ex: lib/realtime/tenants/migrations.ex changed 17 times in last 90 days and 12 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is Migrations.migrate at line 215), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: evaluate postgres_changes filters against the raw wal2json values (#2362)\u201D; \u201Cfix: wait for tenant migrations before creating postgres changes subscriptions (#2458)\u201D; \u201Cfix(migration): restrict realtime.schema_migrations (#2429)\u201D; \u201Cfix: index subscription filters by digest so large in lists fit (#2097)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 16:45:30 \u002B10:30\u0027 --until=\u00272026-11-10 16:45:30 \u002B10:30\u0027 --full-history --no-merges -- lib/realtime/tenants/migrations.ex\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":"lib/realtime/tenants/migrations.ex"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ece9bc35780ed70de0b658697f5f9cb1979d655950baa4a7fc2eb23befc7e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/realtime_web/channels/user_socket.ex: lib/realtime_web/channels/user_socket.ex changed 11 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is UserSocket.connect at line 104), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(socket): return 401 for tokens with an invalid JWT claim (#2489)\u201D; \u201Cfix: stop counting a transport as a user once its last channel closes (#2372)\u201D; \u201Cfix: accept log_level warn from realtime-js clients (#2420)\u201D; \u201Cfix: rewrite channel limit check to rely on UserSocket (#2414)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 16:45:30 \u002B10:30\u0027 --until=\u00272026-11-10 16:45:30 \u002B10:30\u0027 --full-history --no-merges -- lib/realtime_web/channels/user_socket.ex\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":"lib/realtime_web/channels/user_socket.ex"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"488de28346cf17ce4aafb4ff40270a1ff3c71ed8afbe9d9dfd1cb7df3a589a2a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/extensions/postgres_cdc_rls/subscription_manager.ex: lib/extensions/postgres_cdc_rls/subscription_manager.ex changed 8 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is SubscriptionManager.handle_continue at line 81), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: stop Rebalancer once we are in the right region (#2510)\u201D; \u201Cfix: keep Postgres Changes subscriptions when a subscriber node disconnects (#2301)\u201D; \u201Cfix: wait for tenant migrations before creating postgres changes subscriptions (#2458)\u201D; \u201Cfix: reduce queue target on subs pool (#2276)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 16:45:30 \u002B10:30\u0027 --until=\u00272026-11-10 16:45:30 \u002B10:30\u0027 --full-history --no-merges -- lib/extensions/postgres_cdc_rls/subscription_manager.ex\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":"lib/extensions/postgres_cdc_rls/subscription_manager.ex"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bdf33ef9a7197c81ccdbcb16f07b8c2e31965c17bf1c0b021573b18d43cfb3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/realtime_web/channels/realtime_channel/broadcast_handler.ex: lib/realtime_web/channels/realtime_channel/broadcast_handler.ex changed 10 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is BroadcastHandler.authorize_write at line 269), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(broadcast): restart event sampling for send-only channels (#2466)\u201D; \u201Cfix: rename invalid_persist_ttl error to persistence_invalid_ttl (#2479)\u201D; \u201Cfix: reply with an error when an acked broadcast is not persisted (#2464)\u201D; \u201Cfix: reply with errors to acked private broadcast failures (#2280)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 16:45:30 \u002B10:30\u0027 --until=\u00272026-11-10 16:45:30 \u002B10:30\u0027 --full-history --no-merges -- lib/realtime_web/channels/realtime_channel/broadcast_handler.ex\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":"lib/realtime_web/channels/realtime_channel/broadcast_handler.ex"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"0432a416ba29b91f18b9f61ec89c033f0b5773b136c900d3dd89b35fe6c32797"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/extensions/postgres_cdc_rls/subscriptions.ex: lib/extensions/postgres_cdc_rls/subscriptions.ex changed 6 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is Subscriptions.parse_subscription_params at line 358), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: index subscription filters by digest so large in lists fit (#2097)\u201D; \u201Cfix: subscribe postgres_changes to the exact schema and table name (#2285)\u201D; \u201Cfix: record Postgres Changes subscribers only after the subscription transaction commits (#2393)\u201D; \u201Cfix: set statement timeout for Subscriptions queries (#2255)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 16:45:30 \u002B10:30\u0027 --until=\u00272026-11-10 16:45:30 \u002B10:30\u0027 --full-history --no-merges -- lib/extensions/postgres_cdc_rls/subscriptions.ex\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":"lib/extensions/postgres_cdc_rls/subscriptions.ex"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9ce5ef147676cb40d80543ee58197e512494cbe667f8557632e4d01036d6bb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/realtime/tenants/connect.ex: lib/realtime/tenants/connect.ex changed 5 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is Connect.lookup_or_start_connection at line 98), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: stop Rebalancer once we are in the right region (#2510)\u201D; \u201Cfix: wait for tenant migrations before creating postgres changes subscriptions (#2458)\u201D; \u201Cfix: dont delay Connect shutdown(#2212)\u201D; \u201Cchore(lint): Switch to credo strict mode, fix violations (#2200)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 16:45:30 \u002B10:30\u0027 --until=\u00272026-11-10 16:45:30 \u002B10:30\u0027 --full-history --no-merges -- lib/realtime/tenants/connect.ex\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":"lib/realtime/tenants/connect.ex"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcaff2bd240d5678701200f2e676cc323bb06b8b30e9cc15783ae033df243404"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/realtime_web/dashboard/tenant_migrations.ex: lib/realtime_web/dashboard/tenant_migrations.ex changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is TenantMigrations.read_plan at line 625), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(dashboard): repair schema_migrations primary key on backfill (#2303)\u201D; \u201Cfix(admin): cancel pgdelta (#2264)\u201D; \u201Cfix: remove lumis and improve cli testing (#2121)\u201D; \u201Cfix: pgdelta connection issues (#2103)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 16:45:30 \u002B10:30\u0027 --until=\u00272026-11-10 16:45:30 \u002B10:30\u0027 --full-history --no-merges -- lib/realtime_web/dashboard/tenant_migrations.ex\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":"lib/realtime_web/dashboard/tenant_migrations.ex"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f648219623f12bbe5124abb75d296b626db5b68e9b9ff7e0ee7bd5213a0f86"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/realtime/tenants.ex: lib/realtime/tenants.ex changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is Tenants.health_check at line 63), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: rewrite channel limit check to rely on UserSocket (#2414)\u201D; \u201Cfix: alter ownership on new partitions only (#2374)\u201D; \u201Cfix: normalize Realtime \u0060:region\u0060 (#2159)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 16:45:30 \u002B10:30\u0027 --until=\u00272026-11-10 16:45:30 \u002B10:30\u0027 --full-history --no-merges -- lib/realtime/tenants.ex\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":"lib/realtime/tenants.ex"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"783b69964328dff246b06e3a53d11176ed877b91ff2a3817740aeb0bab4757f9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/realtime/api.ex: lib/realtime/api.ex changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is Api.create_tenant at line 117), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: look up the tenant on the primary when deleting it (#2226)\u201D; \u201Cfix: normalize Realtime \u0060:region\u0060 (#2159)\u201D; \u201Cfix: add bulk heahtcheck endpoint (#2170)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 16:45:30 \u002B10:30\u0027 --until=\u00272026-11-10 16:45:30 \u002B10:30\u0027 --full-history --no-merges -- lib/realtime/api.ex\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":"lib/realtime/api.ex"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"24cdcb4f933077ee22e44debbc90cb445f9b9a1d595b8a14665f978f7f7ff954"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/realtime/tenants/rebalancer.ex: lib/realtime/tenants/rebalancer.ex changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is Rebalancer.check at line 16), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: stop Rebalancer once we are in the right region (#2510)\u201D; \u201Cfix: don\u0027t pick a node when the rebalancer only needs the region (#2399)\u201D; \u201Cfix: only rebalance to a region that has nodes (#2290)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 16:45:30 \u002B10:30\u0027 --until=\u00272026-11-10 16:45:30 \u002B10:30\u0027 --full-history --no-merges -- lib/realtime/tenants/rebalancer.ex\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":"lib/realtime/tenants/rebalancer.ex"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c51015be2a8bd296ec94934d589914282e568097f5f24d3ed7ee8411641cc3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/realtime_web/controllers/tenant_controller.ex: lib/realtime_web/controllers/tenant_controller.ex changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is TenantController.delete at line 192), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: allow the documented maximum of 500 refs in bulk tenant health (#2470)\u201D; \u201Cfix: look up the tenant on the primary when deleting it (#2226)\u201D; \u201Cfix: add bulk heahtcheck endpoint (#2170)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 16:45:30 \u002B10:30\u0027 --until=\u00272026-11-10 16:45:30 \u002B10:30\u0027 --full-history --no-merges -- lib/realtime_web/controllers/tenant_controller.ex\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":"lib/realtime_web/controllers/tenant_controller.ex"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"132c3e87dd7eed89fb4658e2e4dd88adc72d3b56854a38062dc4408bc3d35664"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: lib/realtime/log_filter.ex: lib/realtime/log_filter.ex changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is LogFilter.setup at line 11), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: supress ranch listener killed logs (#2259)\u201D; \u201Cfix(logs): ignore ranch stream killed (#2218)\u201D; \u201Cfix: handle ranch charlist format in log filter (#2167)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 16:45:30 \u002B10:30\u0027 --until=\u00272026-11-10 16:45:30 \u002B10:30\u0027 --full-history --no-merges -- lib/realtime/log_filter.ex\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":"lib/realtime/log_filter.ex"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfef12d08bd5fae645fb10106b5b2d0b0049911cf444011228bec64f7c6f593"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 11 significant file(s) lose their only recent owner: forum/lib/forum/muster/scope.ex, forum/lib/forum/muster/shard.ex, forum/lib/forum/muster.ex, lib/realtime_web/dashboard/muster.ex, lib/realtime/tenants/repo/migrations/20220603231003_add_quoted_regtypes_support.ex, forum/lib/forum/supervisor.ex, lib/realtime/tenants/repo/migrations/20260827120000_empty_select_columns_return_primary_keys.ex, forum/lib/forum/census.ex (\u002B3 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"613309dfe57b3e787c117b9034355359e14d52ff95c8548773aa46987dc8df92"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 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 (16 single-owned of 165 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 165 of the 374 production source files in this repository met that bar). They are anonymized user #2 (3 file(s)), anonymized user #3 (2 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: lib/realtime_web/dashboard/tenant_migrations.ex, lib/realtime/tenants/repo/migrations/20260709120000_fix_apply_rls_filter_role_leak.ex, lib/mix/tasks/realtime.export_tenant_schema.ex, lib/realtime/presence/metrics.ex, lib/realtime_web/channels/presence/usage.ex."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: https://github.com/elixir-ecto/postgrex/pull/784"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".dialyzer_ignore.exs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ef4a7acf237092e7481701a735a2058e68963c357d4fd756434f22e77c3c1d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //     // FIXME write assertions \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":"test/integration/tests.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e6ba7266473f577eb1fa33d1befe996230846e241ddee48e3ebf8ae195ed21"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: hard limits and buffering based on ack \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":"lib/realtime_web/channels/realtime_channel/broadcast_handler.ex"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62f058f1399e572657cbf563bb6b52fe58a65f63f103074201abc42dc2fc129"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: delete this module once no tenant is left on AES-128-ECB."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/tenants/encryption_reconciler.ex"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"888073165498b22190de750a9f87af356fb0b96c954447cfe0c17a722d210309"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: remove after infra update \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":"lib/realtime/api/tenant.ex"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb4ad018a15e5e144edbc735b0e2ff133f57f3581b123e0a35cfd81e7497d07"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Verify this is correct with real data from Postgres \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":"lib/realtime/adapters/postgres/decoder.ex"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6b2dba9423fc85a9ba8641da145aa30dab108763b23841229b5422078958a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Handle case where pg_catalog is blank, we should still return the schema as pg_catalog \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":"lib/realtime/adapters/postgres/decoder.ex"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"893edbc08f399dd6d8d238e7cdc38598144cc697792d2f6acf682c651485d92f"}},{"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":"D24","level":"note","message":{"text":"redundant comment: \u0022value LIKE tag% AND details = tag-keep\u0022 repeats the code it sits on: 5 of its 5 words (value, like, tag, details, keep) are already in \u0060const channel = supabase\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/src/suites/postgres-changes-filters.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ab8dd0ff8c4c0c514d94af81e38ff6a6a84900b3b982272b0a7ecf3613044c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022value IN (in_tag, other_tag) AND details LIKE keep%\u0022 repeats the code it sits on: 5 of its 5 words (value, tag, details, like, keep) are already in \u0060const filter = postgresChangesFilter().in(\u0022value\u0022, [match, \u0060other_${tag}\u0060]).like(\u0022details\u0022, \u0022keep%\u0022);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/src/suites/postgres-changes-filters.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"5554e35b9ca5b88d70d20ce802053083a04d6a1854cb0704e5c620cb99bf7286"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 5 project(s) overshoot their size bounds, lowering Project Cohesion to 6.0/10. The most over is \u0060(repository root)\u0060 (34797 LoC, 346 module-visible types across 43 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":"D28","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":"b854f1d357377cc1111101f23ae7143595aa248db48c56611bda938c836a5a20"},"properties":{"commitSha":"3307af280fbfae8b44d7ad022bef7f739a56405c"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","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":"9bb7e231cb7825c86d01a707fef768a857a518c3ca6d3c5393757bd908d5ad09"},"properties":{"commitSha":"37f9057773e85fed45856605e37415145541fb04"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","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":"d41023ae8980f90b01f7583a5a219733582cd74b90a9bcf1809ddd083629f2f3"},"properties":{"commitSha":"1db2779d6022400d8adfdb3ab34ae7f351e642c6"}},{"ruleId":"D28","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":"cd6ac6105507a9370c94bf49a57bfcb65f2954f3b0559af21ea65a0f2c0ce5f2"},"properties":{"commitSha":"1db2779d6022400d8adfdb3ab34ae7f351e642c6"}},{"ruleId":"D28","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":"19305f63701787d782f84e1de70d38d582bf788065f9b474aaa81dce23913dd1"},"properties":{"commitSha":"1db2779d6022400d8adfdb3ab34ae7f351e642c6"}},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"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":"152c09058afb3186c12557802232c126d48550e967c5ca7482dd76f2bc3e0d1e"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"583b56edd22e91b772777d6a74aea58ad87f37175716a45161f9a220568dfb53"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"a20aafb04378aec79200136bad90c4cd23aa2ff4c6d78bb8cc4b97272569ff21"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"8910729879cd1a81035dd817e8a3b6c0cc44aaa32962b72e3218b44d21b7f05d"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"39183c274015500bb2fda14549f27af4f5ad400cb41de4083a57053c135203fb"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"fc1501b584d17a8123c6216f7bb1da88369bf8996b051b2f074a32e86a15f6be"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"cd5b4b3a3a4667351666321763c9cda9f1c833f290b1f5aff9be694f9b8917c1"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"844a326dab15c5b46db0011b51a3955c42aec658527526e4786ec8d53e5a66f0"},"properties":{"dependency":{"package":"cowlib","version":"2.21.0","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]","EEF-[CVE 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":"49effe6e6565edf8bc086350f8f9783f474779f40db347049df940f146fd2ff8"},"properties":{"dependency":{"package":"cowboy","version":"2.20.0","advisory":"EEF-[CVE redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"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":"be9c57e2fb625c43c271d051f76b97f27b6976f4ec358ef8fea1d9cb5205f460"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"824774463857991059678513d7da64b57e4f70b4b79848cdd1e7037380c0e3c2"}},{"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":"227b4ab030d0b77663cac4dd6365825f150e1713b1a9a49df3f23808687fcc46"}},{"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":"135122fe19eae2a629d55651d8e5b7b10a06c0fdb1bdecfafb4ced7e1108c3fc"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"dc2477b6ddeeafb2863012f35a8fd478c715377d15af9b1a65a0e425eccf855a"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"cb2ea3ab88a0fe0c36b977ce21e88790d598b283ec99ac9eb1facdb83ceb24e0"}},{"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":"7a6ee4b911a8ae5dc87fbd3f0ccf06abaf0fef620251ff43231c04dde4b1371e"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"eddfbf2605cefbda1a0433589b1a7a0d3807100b29870dfd8fd648e9055e6459"}},{"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":"aaabd8ef6b589911aec90fc28e5cab2ef71da3cb32d91d95d655675bb733a222"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"66c86c684e1187dc3605dc33c65fc6b2da5b7334a51c56e9c42db96b44de22d4"}},{"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":"0ca29159ce5c5643f917736656d8bcf9ee32a26447711539603c673d0ae47144"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"b74ebe2dd20d203dc60d88da974a8a8447903dd8c66d367a59302c88fad375fa"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"dfd41c00bf4b9bfb4ecbe8a67930cb347c8e6b780cc3be4f73244b8c7362d8cb"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"fbd1ecfd43461589ce1eeeafba603f7eeb632bc4f8edd58bed8e3044baf3fb60"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"3b1568673c97a5ce9b1ec5a08dba083d705b7ca92047378b6f33333438b27491"},"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"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"a0253cdb433485d93f1259fe935cad7c5df0486a99bae72ae65dbbacb158f6f3"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"765ec371ea8d37ed4b3f0e639be0e6d748d9a6587af6de7600dcf4ad6482e661"}},{"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":"1f51a163f26d94ce6b6f473117dde579d091c8cbf9e59810475c94d9fc921120"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 14 of 165 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 165 of the 374 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: lib/realtime/tenants/repo/migrations/20220615214548_add_quoted_regtypes_backward_compatibility_support.ex, lib/realtime/tenants/repo/migrations/20230308225145_output_full_record_when_unchanged_toast.ex, lib/realtime/tenants/repo/migrations/20220916233421_update_apply_rls_function_to_pass_through_delete_events_on_filter.ex, lib/realtime/tenants/repo/migrations/20230119133233_millisecond_precision_for_walrus.ex, lib/realtime/tenants/repo/migrations/20230128025212_enable_filtering_on_delete_record.ex, lib/realtime/tenants/repo/migrations/20220603232444_add_output_for_data_less_than_equal_64_bytes_when_payload_too_large.ex, lib/realtime/tenants/repo/migrations/20230228184745_convert_commit_timestamp_to_utc.ex, lib/realtime/tenants/repo/migrations/20220107221237_update_change_timestamp_to_iso_8601_zulu_format.ex (and 6 more). 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":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/tenants/repo/migrations/20220615214548_add_quoted_regtypes_backward_compatibility_support.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e65a64d6eeb37d290cf05c0e430a404d8e116f80276c97ab646e909cf4108b4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/tenants/repo/migrations/20230308225145_output_full_record_when_unchanged_toast.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e89df777eec6428e984edb41f1d3587618db61ff465095afe65739865b63d31"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/tenants/repo/migrations/20220916233421_update_apply_rls_function_to_pass_through_delete_events_on_filter.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb75b50e071d752ba61601bcd9e69b45c2289c3f4d1f7f96af732cb20cbf9e2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/tenants/repo/migrations/20230119133233_millisecond_precision_for_walrus.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd8c9b4864acdbabb65d00f3a5949b5012073352eddbc78e17b580632f3eebe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/tenants/repo/migrations/20230128025212_enable_filtering_on_delete_record.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5af76ff6a5a2acd394ad698660e530029687213b0e92c3baf53fee053f8ed32"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/tenants/repo/migrations/20220603232444_add_output_for_data_less_than_equal_64_bytes_when_payload_too_large.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f76d3fd0c28c4aef3726554ea9b386787f338000ae6d21e83ea528aa9f48405"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/tenants/repo/migrations/20230228184745_convert_commit_timestamp_to_utc.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e084f0b22f125c33dc0341143e5db05b3dbe8423c5416fec4f4710ba42d28e26"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/tenants/repo/migrations/20220107221237_update_change_timestamp_to_iso_8601_zulu_format.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdbf1b471fb75c8631763f2bcf72f4a5867c85e6942e152ec0eafc5f8793dd4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/tenants/repo/migrations/20220312004840_update_apply_rls_function_to_apply_iso_8601.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5d27a4af2f6e040e2592c1933feb986f2d090c75025a74ab9b9258047c8f0a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/tenants/repo/migrations/20211228014915_add_wal_payload_on_errors_in_apply_rls_function.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e436d1cbda56075859a4a1d1739b16003a4c97fb1fefc8a06a8e5f8ddc46166"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/tenants/repo/migrations/20211124070109_enable_realtime_apply_rls_function_postgrest_9_compatibility.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65b362c5de4e9cb067d36ea2305e7eae15fa59a66e83de3f7c23affefe0bcfb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/adapters/postgres/oid_database.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96d427d7ab4ccd30d9f28f0eb0b9fb9cb4c2071a303449e834d1d137884e2a5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/tenants/repo/migrations/20230128025114_add_in_op_to_filters.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0229c4681c2bcab0ad6c6ddbaf49ad9581a79a40ebe0c4a93776e13c1fe362d3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/tenants/repo/migrations/20230227211149_update_subscription_check_filters_for_in_filter_non_text_types.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfa1cb51248422d5bf166b0143b4904e06385b25f3386dd0d2169841c4e7372"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: tenant.ex \u2194 tenant_view.ex: \u0060lib/realtime/api/tenant.ex\u0060 (context realtime) and \u0060lib/realtime_web/views/tenant_view.ex\u0060 (context realtime_web) sit in DIFFERENT parts of the tree yet 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00605cfea1f6\u0060 fix: tenant flag for presence (#1739); \u0060896e844b\u0060 fix: per tenant presence limit settings (#1710); \u0060d7e63906\u0060 feat: expose additional limits for tenant endpoints (#695) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/api/tenant.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0983e06978cccfb152633c652c037201f2b2f00bb6e63ded67c13209b9de4ed7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: mix.exs \u2192 dev.exs, prod.exs, runtime.exs, message.ex, gen_rpc.ex, pub_sub.ex, helpers.ex, metrics_cleaner.ex, latency.ex, tenants.ex, repo.ex, rpc.ex, broadcast_policies.ex, batch_broadcast.ex, cache.ex, connect.ex, janitor.ex, migrations.ex, replication_connection.ex, channels_authorization.ex, broadcast_handler.ex, logging.ex, broadcast_controller.ex, fallback_controller.ex, open_api_schemas.ex, assign_tenant.ex, auth_tenant.ex, tenant_broadcaster.ex, seeds.exs: \u0060mix.exs\u0060 changes together with 29 other files \u2014 \u0060config/dev.exs\u0060, \u0060config/prod.exs\u0060, \u0060config/runtime.exs\u0060, \u0060lib/realtime/api/message.ex\u0060, \u0060lib/realtime/gen_rpc.ex\u0060, \u0060lib/realtime/gen_rpc/pub_sub.ex\u0060, \u0060lib/realtime/helpers.ex\u0060, \u0060lib/realtime/metrics_cleaner.ex\u0060, \u0060lib/realtime/monitoring/latency.ex\u0060, \u0060lib/realtime/monitoring/prom_ex/plugins/tenants.ex\u0060, \u0060lib/realtime/repo.ex\u0060, \u0060lib/realtime/rpc.ex\u0060, \u0060lib/realtime/tenants/authorization/policies/broadcast_policies.ex\u0060, \u0060lib/realtime/tenants/batch_broadcast.ex\u0060, \u0060lib/realtime/tenants/cache.ex\u0060, \u0060lib/realtime/tenants/connect.ex\u0060, \u0060lib/realtime/tenants/janitor.ex\u0060, \u0060lib/realtime/tenants/migrations.ex\u0060, \u0060lib/realtime/tenants/replication_connection.ex\u0060, \u0060lib/realtime_web/channels/auth/channels_authorization.ex\u0060, \u0060lib/realtime_web/channels/realtime_channel/broadcast_handler.ex\u0060, \u0060lib/realtime_web/channels/realtime_channel/logging.ex\u0060, \u0060lib/realtime_web/controllers/broadcast_controller.ex\u0060, \u0060lib/realtime_web/controllers/fallback_controller.ex\u0060, \u0060lib/realtime_web/open_api_schemas.ex\u0060, \u0060lib/realtime_web/plugs/assign_tenant.ex\u0060, \u0060lib/realtime_web/plugs/auth_tenant.ex\u0060, \u0060lib/realtime_web/tenant_broadcaster.ex\u0060, \u0060priv/repo/seeds.exs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 29 separate couplings, not 29 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 29."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mix.exs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b317be5a81c00121af2e0923d579e48fb5315627f912f38759a85f0e2bdfddb6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: authorization.ex \u2194 broadcast_policies.ex: \u0060lib/realtime/tenants/authorization.ex\u0060 and \u0060lib/realtime/tenants/authorization/policies/broadcast_policies.ex\u0060 change together 90% of the time (9 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 9 shared commits counted here, the most recent 3 are \u0060af99cde7\u0060 feat: broadcast persistence (#2022); \u0060ab2cbdbd\u0060 fix: Separate read and write authorization and add telemetry (#1273); \u00604eaa9307\u0060 fix: Improve Authz performance by reducing queries required (#1239) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/tenants/authorization.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3067c6a44b1f686321b77e535a0a94b84a775267e4f115097fafaf308c698378"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: metrics_controller.ex \u2194 router.ex: \u0060lib/realtime_web/controllers/metrics_controller.ex\u0060 and \u0060lib/realtime_web/router.ex\u0060 change together 65% of the time (11 of the 17 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 11 shared commits counted here, the most recent 3 are \u006069178464\u0060 fix: remove double endpoint for metrics (#1794); \u006048e20005\u0060 feat: separate node from tenant metrics (#1724); \u006093ce90ab\u0060 feat: add /metrics/:region endpoint (#1656) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime_web/controllers/metrics_controller.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7be635ec4d4ab488ae9b994a451e0a5de01777e8608b316d8903d2a76665f7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: cdc_rls.ex \u2194 supervisor.ex: \u0060lib/extensions/postgres_cdc_rls/cdc_rls.ex\u0060 and \u0060lib/extensions/postgres_cdc_rls/supervisor.ex\u0060 change together 58% of the time (7 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 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 \u00604653393d\u0060 fix: scope postgres cdc syn registry (#1594); \u006029152cbe\u0060 feat: Connect to tenant database on channel join (#677); \u006023cf5028\u0060 update test \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/extensions/postgres_cdc_rls/cdc_rls.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14d87800f19bff959609825cee3018dcabbd43f16f756b24509f9980b0184b7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: app.js \u2194 conn_component.ex: \u0060assets/js/app.js\u0060 and \u0060lib/realtime_web/live/inspector_live/conn_component.ex\u0060 change together 57% of the time (12 of the 21 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) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u00606ab99a1f\u0060 chore(devtools): manual presence controls in the inspector (#2315); \u0060587538c9\u0060 fix: improve inspector usability (#2079); \u006055c33c0d\u0060 feat: improve inspector and status page (#2032) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/app.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd39448b521b688a8455495db49805ca6262b121c2d614a84b4f27d9db28a9f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: tenant_controller.ex \u2194 tenant_view.ex: \u0060lib/realtime_web/controllers/tenant_controller.ex\u0060 and \u0060lib/realtime_web/views/tenant_view.ex\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 \u0060ae4c6756\u0060 fix: Improve start counter logic on Connect module (#1190); \u006089e6fbe0\u0060 fix: update tenant admin reload endpoint; \u0060d48a122e\u0060 fix tenant api and update test (at that commit the files were still \u0060lib/multiplayer_web/controllers/tenant_controller.ex\u0060 and \u0060lib/multiplayer_web/views/tenant_view.ex\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime_web/controllers/tenant_controller.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"772041f376284d2593ffc5e3b8f0879dfa6920edc0b20461f564520c6f1b0b99"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: tenants.ex \u2194 rpc.ex: \u0060lib/realtime/monitoring/prom_ex/plugins/tenants.ex\u0060 and \u0060lib/realtime/rpc.ex\u0060 change together 54% of the time (7 of the 13 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 7 shared commits counted here, the most recent 3 are \u00604588af5e\u0060 fix: remove tenant tag on RPC metrics (#1655); \u00601e6abde8\u0060 feat: Add gen_rpc as an option for broadcasting messages (#1419); \u006070709b8d\u0060 Fix missing log and telemetry metadata (#1417) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/monitoring/prom_ex/plugins/tenants.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd659f98ed86b882c636c3d119b744069b9a1d3319cc43c6a0528d358f4b56eb"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: message.ex \u2194 replication_connection.ex: \u0060lib/realtime/api/message.ex\u0060 and \u0060lib/realtime/tenants/replication_connection.ex\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 \u0060af99cde7\u0060 feat: broadcast persistence (#2022); \u006097f85f0f\u0060 fix: provide microsecond granularity by using binary pgoutput mode (#\u2026; \u00605ccea17b\u0060 feat: replay realtime.messages (#1526) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/api/message.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3293f729c490860714cb515ea807d9b98295afc21702d88f541bc697878cbfa"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: message.ex \u2194 migrations.ex: \u0060lib/realtime/api/message.ex\u0060 and \u0060lib/realtime/tenants/migrations.ex\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 \u0060f8f7208b\u0060 feat: broadcast persistence opt-in (#2235); \u0060af99cde7\u0060 feat: broadcast persistence (#2022); \u00605ccea17b\u0060 feat: replay realtime.messages (#1526) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/api/message.ex"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c021300af24d3b539611e842631d21371f226a92ae11359da6b7e6bfc502a904"}},{"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"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"2be428f2b8140b2a8fd6fd081654d450e1f1e41c4c89189478c60dc20cc4cb03"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime_web/live/status_live/index.html.heex"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0264f2a042b8912a69a94283dd705ce344eaf5cd08f661c21e39f8225fe2a1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime_web/live/status_live/index.html.heex"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb74d06c0b6036db6621c345c192fa4e8b8668ef27ba07e4cb4f0dc475f97e10"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime_web/live/status_live/index.html.heex"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbabbdd41cc14f20442137bcaf5a57bb4a6b2f5f227eda6e6fe74de77507c917"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime_web/live/status_live/index.html.heex"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2416e45ce1da7b3f3ff1d3a9d2a96dbaf22e205e3f86e5dd55e5f50ef0cbe5"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime_web/templates/layout/app.html.heex"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5edc0030c4b3c1ac5ac51b2ee2d02978d69fcf011ae67859f2a30d7471c813"}},{"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":"lib/realtime_web/templates/layout/root.html.heex"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce339f61eede76888c919d128edb70782b4cae2e7d112d65e3d944faab30e50"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime_web/templates/layout/root.html.heex"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d62d0e0c67432736ff01a04bd3392a047beeb04b05a9da5f01819745941abe"}},{"ruleId":"AC5","level":"error","message":{"text":"aria-hidden hides a focusable element: aria-hidden=\u0022true\u0022 here hides the subtree from assistive tech, but a focusable descendant stays in the tab order \u2014 a keyboard user can land on a control screen readers can\u0027t see. Add inert, take the descendants out of the tab order (tabindex=\u0022-1\u0022), or drop aria-hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime_web/live/inspector_live/conn_component.html.heex"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4d0e9e42701ab2b751f20ccc515901d0d07b489e9f1c47ebe755ec47e29432"}},{"ruleId":"AC7","level":"warning","message":{"text":"Accessibility enforcement below the top rung: No accessibility enforcement found \u2014 no automated accessibility check runs over your pages. Add an accessibility checker (axe-core, pa11y or Lighthouse) over your HTML in CI and fail the build on new violations. What was searched, so you can tell an absence from a miss: the 7 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":"AXS1","level":"warning","message":{"text":"Runtime opened a port the repository does not declare: realtime_db 5432-\u003E5432/tcp on 0.0.0.0: The booted stack published container port 5432/tcp of service \u0027realtime_db\u0027 as host port 5432, but no ports:/expose:/EXPOSE entry in this repository names it \u2014 so it is most likely inherited from a base image. Observed after booting the stack in our sandbox, not read from a manifest. Advisory evidence for CRA Annex I (2)(j) (limit attack surfaces, including external interfaces); we do not assess whether the network it is published onto makes this a risk."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2e28a0a293a42a50a08e99fc3170e94505c761d163cc0e020c68d67fe562956a"}},{"ruleId":"AXS1","level":"warning","message":{"text":"Runtime opened a port the repository does not declare: tenant_db 5433-\u003E5432/tcp on 0.0.0.0: The booted stack published container port 5432/tcp of service \u0027tenant_db\u0027 as host port 5433, but no ports:/expose:/EXPOSE entry in this repository names it \u2014 so it is most likely inherited from a base image. Observed after booting the stack in our sandbox, not read from a manifest. Advisory evidence for CRA Annex I (2)(j) (limit attack surfaces, including external interfaces); we do not assess whether the network it is published onto makes this a risk."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"97551e71daabd57f3641926f0766731cff1daf3064d4ab40f69ed2f1335695db"}},{"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":"M4","level":"note","message":{"text":"README/code drift: README.md names Postgres 14, but the manifest declares \u0060postgres\u0060 ^3.4.9. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85864071a30ab325207b0475304e4f6aa1b79c8e2996b50e4173a6d35a328ea"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: sql_logex/README.md names Postgres 17, but the manifest declares \u0060postgres\u0060 ^3.4.9. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sql_logex/README.md"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"610ce9058543426b559814390359009e309a3c9a9b8e12a892ebce93056d5786"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: sql_logex/README.md names Postgres 14, but the manifest declares \u0060postgres\u0060 ^3.4.9. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sql_logex/README.md"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2d0f8b4e7e06461ca24fc9fbd59c62bdd5eeb90aeae94c576dd469bd15ef9a"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: sql_logex/README.md names Postgres 16, but the manifest declares \u0060postgres\u0060 ^3.4.9. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sql_logex/README.md"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"983695a79e4826a4f7facc884e2fce90ef5925d4e492d69ad427d32e10250916"}},{"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":"P3","level":"note","message":{"text":"Dependabot does not watch github-actions/bun: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060github-actions\u0060, \u0060bun\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entries to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"9806ad2b991752b955abb55def7d1d0811d383dde08fd14525ad8bea1c3c0178"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runSuites (cyclomatic 17, cognitive 18): runSuites has cyclomatic complexity 17 and cognitive complexity 18; 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":"test/e2e/src/orchestrator.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b181e706500defba93e7c9f82925c0ad0f8fff9ec5e76a6a8c27bed3690819"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanPayload (cyclomatic 15, cognitive 18): cleanPayload has cyclomatic complexity 15 and cognitive complexity 18; 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":"assets/js/app.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7c69ffc3c668842825e1ddcdd08cb273e84792876f203376e599b87876e9da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initRealtime (cyclomatic 11, cognitive 13): initRealtime has cyclomatic complexity 11 and cognitive complexity 13; 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":"assets/js/app.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"199cffd0c127ba50bbcd9b7eb6e2afa005b48a35e2c72e519578069ecbb2d5f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apply (cyclomatic 11, cognitive 10): apply has cyclomatic complexity 11 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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":"assets/js/app.js"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a51bfa6ac55caf825944001adbe5750b01f244f7211e00e1c152f959b06c1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function signIn (cyclomatic 11, cognitive 9): signIn has cyclomatic complexity 11 and cognitive complexity 9; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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":"assets/js/app.js"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e221d9bcc3254317e2cd7c6a515302350a4e265dbaa52730c302f811a3fbdeb"}},{"ruleId":"R3","level":"warning","message":{"text":"assets/js/app.js: 453 lines of code: assets/js/app.js has 453 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/app.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a9f9d7443893471fcc459de952aeb81fa9a45e397a8e26d3c80831390dd793"}},{"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":"assets/js/app.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fe4583edc5df959a84c61e2055b5ef8709c41f024c538f328ffcf3933a2d1e"}},{"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":"priv/static/worker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4f4cabde0c3d6a5f273a7a1f3904aa14fd7eb2075fdcbb5c7a192bf9e29a8c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027generateJwtToken\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/e2e/legacy/tests.ts"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f5290b958d4829651548815974b42f6b5d57a8f6e120b2a8d8a1b3c6d9baf2"}},{"ruleId":"S1","level":"error","message":{"text":"TLS certificate validation disabled: \u0060verify: :verify_none\u0060 is set on a TLS client, so every peer certificate is accepted \u2014 including one an attacker presents. Chain, expiry, revocation and hostname are all skipped, so an attacker on the network path can present any certificate and read or rewrite the traffic \u2014 the connection is encrypted to the attacker, not to the intended host. Remove the override so the peer is verified \u2014 \u0060verify: :verify_peer\u0060 is what \u0060:ssl\u0060, Mint, Finch, Req and hackney use when nothing is set (OTP 26 and later default to it). Give it the trust roots to check against: \u0060cacerts: :public_key.cacerts_get()\u0060 (OTP 25\u002B) or the \u0060CAStore\u0060 package\u0027s \u0060cacertfile: CAStore.file_path()\u0060, with \u0060customize_hostname_check: [match_fun: :public_key.pkix_verify_hostname_match_fun(:https)]\u0060 so the hostname is checked too. If the server presents a self-signed or privately-issued certificate, trust THAT issuer rather than every certificate: pass its CA as \u0060cacertfile:\u0060/\u0060cacerts:\u0060, which keeps the chain and hostname checks on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/runtime.exs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcba63b7a7b8165c50b643ebea7a0dc321f89a2a53afa9caec6884cf8d1f13d7"}},{"ruleId":"S1","level":"error","message":{"text":"TLS certificate validation disabled: \u0060verify: :verify_none\u0060 is set on a TLS client, so every peer certificate is accepted \u2014 including one an attacker presents. Chain, expiry, revocation and hostname are all skipped, so an attacker on the network path can present any certificate and read or rewrite the traffic \u2014 the connection is encrypted to the attacker, not to the intended host. Remove the override so the peer is verified \u2014 \u0060verify: :verify_peer\u0060 is what \u0060:ssl\u0060, Mint, Finch, Req and hackney use when nothing is set (OTP 26 and later default to it). Give it the trust roots to check against: \u0060cacerts: :public_key.cacerts_get()\u0060 (OTP 25\u002B) or the \u0060CAStore\u0060 package\u0027s \u0060cacertfile: CAStore.file_path()\u0060, with \u0060customize_hostname_check: [match_fun: :public_key.pkix_verify_hostname_match_fun(:https)]\u0060 so the hostname is checked too. If the server presents a self-signed or privately-issued certificate, trust THAT issuer rather than every certificate: pass its CA as \u0060cacertfile:\u0060/\u0060cacerts:\u0060, which keeps the chain and hostname checks on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/database.ex"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd3545cb63acfa5123fb7aec41553fae7d03cfa03446d10bdc64f415c8f976c"}},{"ruleId":"S1","level":"error","message":{"text":"Cryptographic key material is a compile-time constant: \u0060jwt_secret\u0060 is the secret key and is a compile-time constant, so the secret this operation depends on is published with the source. A key that ships with the source is not secret: every contributor, fork, mirror and released binary carries it, so anyone holding the repository can decrypt what any installation encrypted, and there is no way to invalidate what was already protected because every deployment built from this source shares the value. Where the constant is a password salt the consequence differs but is no smaller \u2014 one global salt means precomputation amortises across every installation, which is the property salting exists to destroy. Read the value from configuration, an environment variable or a secrets manager at startup and FAIL FAST when it is absent, so a missing key stops the process instead of silently falling back to a shared default; treat the committed value as disclosed and rotate it rather than only deleting the line. For a salt, generate a fresh random one per password and store it alongside the hash."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime_web/open_api_schemas.ex"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f4f6a94a663f8811a300f36c8e68f35e6e20933090bafabc1adc081c7d3b7a"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: This repository runs an HTTP server and nothing in its Elixir source or production configuration secures the transport: no HTTPS served (an endpoint\u0027s \u0060https: [...]\u0060, \u0060scheme: :https\u0060, \u0060Plug.Cowboy.https\u0060, SiteEncrypt), no \u0060force_ssl:\u0060 or \u0060plug Plug.SSL\u0060 redirecting to HTTPS and sending HSTS, no \u0060strict-transport-security\u0060 header, no \u0060rewrite_on: [:x_forwarded_proto]\u0060 or \u0060x-forwarded-proto\u0060 read for a TLS-terminating proxy \u2014 so its traffic may cross the network in clear text. (\u22122.0 on this card.) The server: lib/realtime_web/endpoint.ex:2 \u2014 \u0060Phoenix.Endpoint\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8697c7a8b4c37084f15e81b8ec84d4cf62954730be74a0816d39b2127a21fd9b"}},{"ruleId":"S1","level":"note","message":{"text":"Security headers incomplete: Set: Content-Security-Policy, Referrer-Policy, X-Content-Type-Options, X-Permitted-Cross-Domain-Policies. Missing: Strict-Transport-Security, X-Frame-Options \u2014 the four headers that carry the points of this card\u0027s security-headers term (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options), 0.5 each.(\u22121.0 on this card.) The server: lib/realtime_web/endpoint.ex:2 \u2014 \u0060Phoenix.Endpoint\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e9931804dbad8b1657857c9b88c05b8faeff182b6e2bb88641bd59bac687876e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Application.get_env(:realtime, :master_region) || region\u0060 appears character-identically in 4 files \u2014 lib/realtime/api.ex, lib/realtime/application.ex, lib/realtime/repo_replica.ex, lib/realtime_web/dashboard/node_info.ex. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/api.ex"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"49582d1505218b066be51c27cc52c9a21788bfabccfcfa4f728e989f9343224c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060field == :payload and opts[:validation] == :payload_size\u0060 appears character-identically in 2 files \u2014 lib/realtime/tenants/batch_broadcast.ex, lib/realtime/tenants/single_broadcast.ex. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/realtime/tenants/batch_broadcast.ex"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"2216942bfedbc19c8b8b72f1286d56fe0625e7e9a8204342be9ac3e3c26a4486"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_integer(max_restarts) and max_restarts \u003E= 0\u0060 appears character-identically in 2 files \u2014 forum/lib/forum/census.ex, forum/lib/forum/muster.ex. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"forum/lib/forum/census.ex"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a04ba262a9fb0c82fa12a0a7f7a82a3df12cd47a23807ba656fd74df1dfeac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_integer(max_seconds) and max_seconds \u003E 0\u0060 appears character-identically in 2 files \u2014 forum/lib/forum/census.ex, forum/lib/forum/muster.ex. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"forum/lib/forum/census.ex"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a888ab159e393becbc467d8c3523dbda00aa875e55e79c42d4b74e0b9da1e20e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_integer(partitions) and partitions \u003E= 1\u0060 appears character-identically in 2 files \u2014 forum/lib/forum/census.ex, forum/lib/forum/muster.ex. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"forum/lib/forum/census.ex"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0fd2924bafd5415bb280f768fc4d1d111e91452460397a6ff559ddd9416f395"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 0/2 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: diagnose: \u0060diagnose\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/app.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3bde554090363a2e2c981414678728c94715bd2b492cb83c5a3bdf01d49172"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: signIn: \u0060signIn\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"assets/js/app.js"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bedc812740256930498525713eb05eb3a18466c50d9e2bf6da901e6ede8f9e4"}}],"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-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-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.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-345","guid":"d80d4b65-bbbe-b65d-958e-7ac466af18f9","name":"Insufficient Verification of Data Authenticity","shortDescription":{"text":"Insufficient Verification of Data Authenticity"},"helpUri":"https://cwe.mitre.org/data/definitions/345.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.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":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"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-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.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":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"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":45,"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."]}]}