{"$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":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"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":"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":"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"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":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"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":"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":"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":"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":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"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":"compose.validateFlags (cyclomatic 27): compose.validateFlags has cyclomatic complexity 27 (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":"cmd/compose/up.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed0d73e69734ced4009ce10fe82381b073ee68123198dc6b1301fc98bd7a7a4"}},{"ruleId":"D1","level":"warning","message":{"text":"composeService.runInteractiveUp (cyclomatic 25): composeService.runInteractiveUp has cyclomatic complexity 25 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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":"pkg/compose/up.go"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"23dd9411ebc5ec39b67de772e294df018e9257d427d3b51fc4d4ca97a645e7a8"}},{"ruleId":"D1","level":"warning","message":{"text":"composeService.getCreateConfigs (cyclomatic 23): composeService.getCreateConfigs has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/create.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2f2a8bcd5c72bbe6b9c0afd1b934fc3e85364a64b0d81979dd92292cd2e6c8"}},{"ruleId":"D1","level":"warning","message":{"text":"composeService.down (cyclomatic 23): composeService.down has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/down.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d960b1778f374b9cd008abf103fb5f6a1e47092900d1155d75316a04643c27ed"}},{"ruleId":"D1","level":"warning","message":{"text":"composeService.handleWatchBatch (cyclomatic 20): composeService.handleWatchBatch has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/watch.go"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8115b783b615f4cd9a0a39b4484f970be76bfaf67ddc537254a73cecc728eb"}},{"ruleId":"D1","level":"warning","message":{"text":"Monitor.Start (cyclomatic 19): Monitor.Start has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/logstream/monitor.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"10bcc52c09dd492b7e6e94ee01fc10ec86bf136b7ab00baacf1085a72b7d4da3"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.Run (cyclomatic 19): Service.Run has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/plugins.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18435850fc93bac998625d5c67c4e0d38878913605ae950b4f8afe6ad5eab94"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.Ensure (cyclomatic 19): Service.Ensure has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/relay/relay.go"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"52342ea7852408ceff576a21636e6e673294f49c1b9c24941f99c33913d23778"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.handlePluginMessage (cyclomatic 18): Service.handlePluginMessage has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/plugins.go"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3ed4052eb8da7615e4879a328bba128566070b83ae7e6e841b78854f696f49"}},{"ruleId":"D1","level":"warning","message":{"text":"reconciler.reconcileService (cyclomatic 18): reconciler.reconcileService has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/reconcile.go"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"49717f402a9b32db1e622ee7e7bbc1cf94573277016018d9c5667db2f0dce068"}},{"ruleId":"D1","level":"warning","message":{"text":"compose.runPs (cyclomatic 17): compose.runPs has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/ps.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"447709fc23418246f4d7b772a93dc70d4278d9b19cdf3794b0ca8ee96fde2a42"}},{"ruleId":"D1","level":"warning","message":{"text":"compose.localBuildPaths (cyclomatic 17): compose.localBuildPaths has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/build_bake.go"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f4bba033a36b78a41cf235ff01ea140f694c885a756f98cfc393aa17e9a111"}},{"ruleId":"D1","level":"warning","message":{"text":"composeService.useAPISocket (cyclomatic 17): composeService.useAPISocket has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/apiSocket.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2c0428676eb049db28deae326b0df94060aa037cffbc265cd255affac1acc3"}},{"ruleId":"D1","level":"warning","message":{"text":"composeService.doBuildBake (cyclomatic 17): composeService.doBuildBake has cyclomatic complexity 17 (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":"pkg/compose/build_bake.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c200ac5762faecc95c7371f7c3bdc0ce678216708cdcca165b520bd03326d5c"}},{"ruleId":"D1","level":"warning","message":{"text":"composeService.Remove (cyclomatic 17): composeService.Remove has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/remove.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"98bd33be59a556a75c50c350fcba7cb24aa6deaf47174c5e8fe9db8cb342fdc8"}},{"ruleId":"D1","level":"warning","message":{"text":"compose.runImages (cyclomatic 16): compose.runImages has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/images.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9387b1931450999d89b1cae54e56d58d9f55002f00afbc8ea1a45e7faffa5ce0"}},{"ruleId":"D1","level":"warning","message":{"text":"compose.runUp (cyclomatic 16): compose.runUp has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/up.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7c7f30828b85624ffa59d6cdbc8605032bfa14ad19673073c12201526e7a13"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.copyToContainer (cyclomatic 16): Service.copyToContainer has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/containerops/cp.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ec2f4ca4bb11dc1d497bfd4bb6815519bbd1e8a3ef4b55f4508fc0e648bc4f"}},{"ruleId":"D1","level":"warning","message":{"text":"Service.executePlugin (cyclomatic 16): Service.executePlugin has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"internal/provider/plugins.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fb9622bb57cc229a3f2aeeeca831560a519923e7f92bc3bc597d497494ab03"}},{"ruleId":"D1","level":"warning","message":{"text":"compose.buildMountOptions (cyclomatic 16): compose.buildMountOptions has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/create.go"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1661fef190d6999811eef0b821f38185480ad654a468f6cf4175a8de1fabf2"}},{"ruleId":"D1","level":"warning","message":{"text":"composeService.doBuildImage (cyclomatic 16): composeService.doBuildImage has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/build_classic.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e0497e8ac138b63d7a79e88202b1a256a6e1fb7eb8f34ec29ddee15eca3e41"}},{"ruleId":"D1","level":"warning","message":{"text":"composeService.waitDependencyReached (cyclomatic 16): composeService.waitDependencyReached has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/dependency_wait.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"98446124e533475b1fe4d036a6361be25a1aa2568d39a62d0a73c5a2814b3b77"}},{"ruleId":"D1","level":"warning","message":{"text":"composeService.start (cyclomatic 16): composeService.start has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/start.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc3a56b255f88f8607a97f1639ec459bba8194cb5d4052f28e27208130a389d"}},{"ruleId":"D1","level":"warning","message":{"text":"ociRemoteLoader.pullComposeArtifact (cyclomatic 16): ociRemoteLoader.pullComposeArtifact has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remote/oci.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ceb3f4c93f8493b3081a40d977af648f5f75ec7d07cd22921132b5b819d9e74"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.Ensure (cognitive 30): Service.Ensure has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (26 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/relay/relay.go"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae324c87219383b0e352fe27e63bfc773cf4f42fc8e4780ddf5863339f51f9e9"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.Events (cognitive 29): Service.Events has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 2 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 18). 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":"internal/inspect/events.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf2c24c28c57b6fec89750a08c58b700591eb76321ff3d47b1b4ce09b2ff56f"}},{"ruleId":"D2","level":"warning","message":{"text":"composeService.buildContainerMountOptions (cognitive 29): composeService.buildContainerMountOptions has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/create.go"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"391b2800be0227dcc1c786ef289819f6911283d7e1c3d814865a74fe3276d117"}},{"ruleId":"D2","level":"warning","message":{"text":"compatibility.Convert (cognitive 28): compatibility.Convert has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 2 (3 pts), jumps 2, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compatibility/convert.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d04b1cfec6b23129514f40a0f42b3dbb0b40749539413d004efadc6c3ec2843"}},{"ruleId":"D2","level":"warning","message":{"text":"reconciler.reconcileService (cognitive 28): reconciler.reconcileService has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 3 (4 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/reconcile.go"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00eaad3be95ddcb5778618238f13d80a35d35e3fe2d9631ca4edf98161a5147"}},{"ruleId":"D2","level":"warning","message":{"text":"composeService.down (cognitive 27): composeService.down has cognitive complexity 27 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 3, loops 2 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/down.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c849909257181b0b178d7d7f9ee3a4962a79561f9cb991b8c16b89fa0d6e1b6"}},{"ruleId":"D2","level":"warning","message":{"text":"compose.runImages (cognitive 26): compose.runImages has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 4 (7 pts) (nesting depth added 11). Of this number, 19 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/images.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa7d95990e4820705226b26c8b3edf63b67c408ace8f0c8bbf0a386ed8d94ed"}},{"ruleId":"D2","level":"warning","message":{"text":"compose.applyPlatforms (cognitive 26): compose.applyPlatforms has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 4, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/options.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"771ea8bacffec95a054920a61d107ea7128290f2d77e9ed48490fa6205d47a37"}},{"ruleId":"D2","level":"warning","message":{"text":"compose.runPs (cognitive 26): compose.runPs has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (18 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/ps.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc37ebeebea5a7abaa7b701c546c5ea5a4ff84d6ed3b00959f1ce5bbaad29a1"}},{"ruleId":"D2","level":"warning","message":{"text":"Monitor.Start (cognitive 26): Monitor.Start has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (20 pts), match/switch 2 (5 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/logstream/monitor.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ca812b5cfea97c6edf0c0f80ca48f993b1ae4758411393b55acdc6a0c7a6dd"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.Run (cognitive 26): Service.Run has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 3 (7 pts), boolean chains 4 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/provider/plugins.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"032a10e55e1992834b9fd8a97a65448def5ffc195cbf93474c84e944f271817d"}},{"ruleId":"D2","level":"warning","message":{"text":"compose.lockModel (cognitive 25): compose.lockModel has cognitive complexity 25 (threshold 15). Drivers by points: loops 4 (12 pts), if/else 3 (8 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 16). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/config.go"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"097619eb9cbbfaf9ce7e4859422be28d78280cb7bc7f188076c01c48a82632b1"}},{"ruleId":"D2","level":"warning","message":{"text":"compose.validateFlags (cognitive 25): compose.validateFlags has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 10 (nesting depth added 2). 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":"cmd/compose/up.go"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03dd3e949cc824e9c41c0c90b8d6f84c38823f5dfee2a5acb3d02ee86d57d25"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.copyToContainer (cognitive 25): Service.copyToContainer has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/containerops/cp.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fb7912b1787978bf5ca6eb1b9a648a38b662e2a42e4bbdc12a39a822c90533"}},{"ruleId":"D2","level":"warning","message":{"text":"compose.volumeConsumers (cognitive 25): compose.volumeConsumers has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 5 (9 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/reconcile.go"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b92890df6f5509f023890db5c5f003559c650792a94e62e0ce608805648d97"}},{"ruleId":"D2","level":"warning","message":{"text":"composeService.runInteractiveUp (cognitive 25): composeService.runInteractiveUp has cognitive complexity 25 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 4, loops 1, match/switch 1 (nesting depth added 2). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"pkg/compose/up.go"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc155ca058fe62276cdcc22f45124c0fd37826a957fc1a3e9ea2d785f68221d9"}},{"ruleId":"D2","level":"warning","message":{"text":"composeService.handleWatchBatch (cognitive 25): composeService.handleWatchBatch has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 6 (8 pts), match/switch 2 (5 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/watch.go"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"11889b6c38d65cf40cc24c102dc1d92ba1ae519c189150d6540f130dae382c90"}},{"ruleId":"D2","level":"warning","message":{"text":"composeService.useAPISocket (cognitive 24): composeService.useAPISocket has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 3, boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/apiSocket.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c591f9a7ef14bd7ab58e5618cdb17bb250058aa9af422135527698485edcf89b"}},{"ruleId":"D2","level":"warning","message":{"text":"composeService.prepareBakeBuild (cognitive 24): composeService.prepareBakeBuild has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 4 (6 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/build_bake.go"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed91673323df3223c7a444a3ffbbb87d8d73a34f18274ae33c4746d77253d9e6"}},{"ruleId":"D2","level":"warning","message":{"text":"composeService.getCreateConfigs (cognitive 24): composeService.getCreateConfigs has cognitive complexity 24 (threshold 15). Drivers by points: if/else 19 (21 pts), loops 2, boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/create.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ecef5339d531829987af9bde680d54253cd73f5227288ad338937e899a0674"}},{"ruleId":"D2","level":"warning","message":{"text":"composeService.push (cognitive 24): composeService.push has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 12). Of this number, 12 points are the body\u0027s own statements and 12 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/push.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f455210b1d88eacfd7547f7a5b3c0f71236d7c799b2979dd61ce38d6fc58a0"}},{"ruleId":"D2","level":"warning","message":{"text":"composeService.Remove (cognitive 24): composeService.Remove has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 2, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/remove.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e86289b8b32f062e4ac7aced045ba63c00e9af731d937aafe6bd756e2b31f9"}},{"ruleId":"D2","level":"warning","message":{"text":"publish.processFile (cognitive 23): publish.processFile has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/publish/publish.go"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe86cdf07284a2a5f364c20e4cc9abec09487dd641b240d79a6ed98d7aba6836"}},{"ruleId":"D2","level":"warning","message":{"text":"composeService.waitDependencyReached (cognitive 23): composeService.waitDependencyReached has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (13 pts), match/switch 2 (5 pts), boolean chains 4, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/dependency_wait.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4393c4eab5e149c0d3a1a2491ff87a4a4e12a78bd9453f9050905a733495abbd"}},{"ruleId":"D2","level":"warning","message":{"text":"gitRemoteLoader.Load (cognitive 23): gitRemoteLoader.Load has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (23 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remote/git.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ff1ec49e72bf5c2d966178afd6902cdc902a0b7ad60abb15bd596150bae17c"}},{"ruleId":"D2","level":"warning","message":{"text":"composeService.watchEvents (cognitive 22): composeService.watchEvents has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (19 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/watch.go"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d76540865cdb5eee202cc430bc65b4d0b12c41525b7ab568205efefeaa60cc3"}},{"ruleId":"D2","level":"warning","message":{"text":"imagePuller.pullHookImages (cognitive 22): imagePuller.pullHookImages has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 13). Of this number, 18 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/pull.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba9131052d1101bd7a41857f9e04435541ebe81966a0528939e68052e5582d3"}},{"ruleId":"D2","level":"warning","message":{"text":"reconciler.visitInDependencyOrder (cognitive 22): reconciler.visitInDependencyOrder has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 3 (6 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/reconcile.go"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5906c33ecd9fe642d222fe00b18fc60def00ae465c1ea87db8ff1ffa3c6e6e0"}},{"ruleId":"D2","level":"warning","message":{"text":"compose.resolveServiceImageDigests (cognitive 21): compose.resolveServiceImageDigests has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 6 (10 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/config.go"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bef731bc95a7ac9c0751f5deb49cde8a7ee889c327531293be19a67d8e8edd"}},{"ruleId":"D2","level":"warning","message":{"text":"formatter.Print (cognitive 21): formatter.Print has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (13 pts), match/switch 3 (5 pts), loops 1 (3 pts) (nesting depth added 13). 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":"cmd/formatter/formatter.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c154c4fb9dc6488d0a98862e733c838bc33ae63d198b6b712de672f3ca7f83b"}},{"ruleId":"D2","level":"warning","message":{"text":"depgraph.NewGraph (cognitive 21): depgraph.NewGraph has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 3 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/depgraph/depgraph.go"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd13d2840daa3a616771a80ae52e6112b21427e376a898da89dfbc4c8e28b63"}},{"ruleId":"D2","level":"warning","message":{"text":"Tar.Sync (cognitive 21): Tar.Sync has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 2 (nesting depth added 9). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 108). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/sync/tar.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"98944199c9e0525ea92a8c662425f901d67a007fadd9d379e04bae0ace8bd357"}},{"ruleId":"D2","level":"warning","message":{"text":"composeService.doBuildClassic (cognitive 21): composeService.doBuildClassic has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 3 (4 pts) (nesting depth added 8). Most of this is not in the body itself: 5 of the 21 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 53, 75, 84). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/build_classic.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfff8f8a2d9bebfe08b691d59e1e486f9e3f0609fc5653220612968b28cb75d"}},{"ruleId":"D2","level":"warning","message":{"text":"composeService.doBuildImage (cognitive 21): composeService.doBuildImage has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 1 (nesting depth added 5). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/build_classic.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"8562aaf21e30e6691ef2c7943d627915d402ff892cd3a689b8dfe3358941a270"}},{"ruleId":"D2","level":"warning","message":{"text":"composeService.createMobyContainer (cognitive 21): composeService.createMobyContainer has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/service_containers.go"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"31937faef7ec3c9ead49dd0dae2d1087ab30a6d26a352ba526ba92b4d3e096f3"}},{"ruleId":"D2","level":"warning","message":{"text":"paths.EncompassingPaths (cognitive 20): paths.EncompassingPaths has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 3 (6 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/paths/paths.go"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f964cb5b939a1ed2b019900d197277201bfe07e37962182f160fd4d0bd0a7d1f"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildOptions.Apply (cognitive 20): BuildOptions.Apply has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 5, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/api/api.go"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"b988311fe69452aa912c0aafca85a4ff8bddc0be3714594d26e3785d54a080b9"}},{"ruleId":"D2","level":"warning","message":{"text":"bridge.convert (cognitive 20): bridge.convert has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (19 pts), loops 1 (nesting depth added 7). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/bridge/convert.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf086ebc39159015ae49d42ce434170f76fee3f116517eafd31a3482936d3533"}},{"ruleId":"D2","level":"warning","message":{"text":"compose.parseSecurityOpts (cognitive 20): compose.parseSecurityOpts has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/create.go"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ff20432c09349412dd1c5f55b6a4bd579743c14c77096ade5ce1d3a65b6306"}},{"ruleId":"D2","level":"warning","message":{"text":"compose.defaultNetworkSettings (cognitive 20): compose.defaultNetworkSettings has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/create.go"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f06549de5f0e3f213a32b3e5e323ab58054b639c0e1d7c9726113920779d7d"}},{"ruleId":"D2","level":"warning","message":{"text":"composeService.pullRequiredImages (cognitive 20): composeService.pullRequiredImages has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 9). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/pull.go"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"063cecacc82812b2c5bd8b8b19bea67c2cd6dba6bd7152abb85f337cc55cd824"}},{"ruleId":"D2","level":"warning","message":{"text":"reconciler.startPhaseReplicas (cognitive 20): reconciler.startPhaseReplicas has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/reconcile.go"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabaed6ca5c2918ecb46b98b00d9602e888ae24472f43c7ac0aa6ece0eaed8cc"}},{"ruleId":"D2","level":"warning","message":{"text":"compose.collectTop (cognitive 19): compose.collectTop has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 4 (8 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/top.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"75661f6bc622b0bb6a9c2f77098c8de5b86ba4c1163abb42ba3abf6853373198"}},{"ruleId":"D2","level":"warning","message":{"text":"runOptions.apply (cognitive 19): runOptions.apply has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 3 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/run.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d28dfe856b725927e7bb4701350111a099f1ac9b30ba463eebc5d3b220bcfa8"}},{"ruleId":"D2","level":"warning","message":{"text":"inspect.addNodes (cognitive 19): inspect.addNodes has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (7 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/inspect/viz.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b38f1c3b4857ee172b50aceb6039f67cea1238de9dcec81131eaa8d5b04783"}},{"ruleId":"D2","level":"warning","message":{"text":"paths.IsChild (cognitive 19): paths.IsChild has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/paths/paths.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1e190fc100f1c9b5f14e0d8ba5bb44ee2ddc3a0e9bb3c0d3b12fb26320c73b"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.preChecks (cognitive 19): Service.preChecks has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 3 (7 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/publish/publish.go"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8a9ae112ac6774b0078e3f463461cca948087728933215ef3cbd78ae20bf45"}},{"ruleId":"D2","level":"warning","message":{"text":"publish.collectEnvCheckFindings (cognitive 19): publish.collectEnvCheckFindings has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (7 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/publish/publish.go"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"1657426e1d4228bd5c2b84bcec2e27497b41a363fb052693f4235a0a824ebd07"}},{"ruleId":"D2","level":"warning","message":{"text":"composeService.ensureImagesExists (cognitive 19): composeService.ensureImagesExists has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 6). Of this number, 15 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/build.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9bfd8bcc52e8d160654be0abfc30a9b76dcde142e6a8d4474ade9e2230caed"}},{"ruleId":"D2","level":"warning","message":{"text":"composeService.getLocalImagesDigests (cognitive 19): composeService.getLocalImagesDigests has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 5 (7 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/build.go"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac6ff5b265dea173e7c8c2f8f74843a03de645cce32b7bb15e9e5b4eed9eb02"}},{"ruleId":"D2","level":"warning","message":{"text":"naiveNotify.Start (cognitive 19): naiveNotify.Start has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/watch/watcher_naive.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebad9d14e111ddb0467fdaa91e9b7081c68c75b112178a16874076b4e388c18"}},{"ruleId":"D2","level":"warning","message":{"text":"compose.runStatsProjects (cognitive 18): compose.runStatsProjects has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 5). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/stats_projects.go"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce534491dbb14215e9872f6ed61a380c9c941f21cb79a55b6aa5409672136a2"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectOptions.ToProject (cognitive 18): ProjectOptions.ToProject has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (7 pts), match/switch 1 (nesting depth added 9). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 331, 369). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/compose.go"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"db370443927fd122370235eaea7ed544c3a3f77f5c3c922d35fbb30b66f3b873"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.listContainersTargetedForCopy (cognitive 18): Service.listContainersTargetedForCopy has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 9). 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":"internal/containerops/cp.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"259bfeb1fa7ccf9e0bb7e90e947229b7bca39c7d0891e3aed9c7b58d21bceacc"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.handlePluginMessage (cognitive 18): Service.handlePluginMessage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 1 (nesting depth added 9). Of this number, 13 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. 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":"internal/provider/plugins.go"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efd8752593437f3a84e9b2a02c8c310db980d68099e82049c44ae56a54326f6"}},{"ruleId":"D2","level":"warning","message":{"text":"composeService.execPreStartHook (cognitive 18): composeService.execPreStartHook has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/pre_start.go"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c071d4f09752dbad18c3c38e287924013c9d413199e7e04e476768b76de82f2"}},{"ruleId":"D2","level":"warning","message":{"text":"reconciler.reconcileVolumes (cognitive 18): reconciler.reconcileVolumes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/reconcile.go"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a092697689b240f2a55b1517e30525bbec708d5f6f65a2f10f5d6a748af91df"}},{"ruleId":"D2","level":"warning","message":{"text":"compose.displayTransformer (cognitive 17): compose.displayTransformer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts) (nesting depth added 9). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 161). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/bridge.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"905c6e5c0122dd1124f14b2bd8ee248e3cd8b985c4b72571b0c0e49d7929e4f3"}},{"ruleId":"D2","level":"warning","message":{"text":"compose.runUp (cognitive 17): compose.runUp has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/up.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4e46c8fb9e542cb01cc3da57d0a124b8f1d9b976dad63edff23bc2a9b9f73a"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiveBuilder.entriesForPath (cognitive 17): ArchiveBuilder.entriesForPath has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (17 pts) (nesting depth added 4). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 295). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/sync/tar.go"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"43902801143ca1a7bf6c718ae27c63a64fbeaa8ee78ee9e95e02f99f4d741070"}},{"ruleId":"D2","level":"warning","message":{"text":"compose.buildContainerSecretMounts (cognitive 17): compose.buildContainerSecretMounts has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/create.go"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1efd2fe0cfea3f35e86e3b6e3a8f974df3ac4127bf8aff62233c87809fa438"}},{"ruleId":"D2","level":"warning","message":{"text":"composeService.doBuildBake (cognitive 17): composeService.doBuildBake has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/build_bake.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf5a41f214a188b11b962fe689fdc7f14c67b6bb467030fabb79bcaf1076bab"}},{"ruleId":"D2","level":"warning","message":{"text":"composeService.removeNetwork (cognitive 17): composeService.removeNetwork has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/down.go"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"e174c0e311fa485680b6aa10dcdc5d92ac1b69128e624e54a6cd835c316dc14e"}},{"ruleId":"D2","level":"warning","message":{"text":"composeService.collectObservedState (cognitive 17): composeService.collectObservedState has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 3, boolean chains 2 (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":"pkg/compose/observed_state.go"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe6ba7fa9da47031ea921d9c148b1b00fb8bad6747bdca4bd9b64c070b8b48a"}},{"ruleId":"D2","level":"warning","message":{"text":"composeService.injectFileReferences (cognitive 17): composeService.injectFileReferences has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/secrets.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedc328412418e1491daed7e30a977e751f7146bcd50c18737efcda70e2e7792"}},{"ruleId":"D2","level":"warning","message":{"text":"composeService.start (cognitive 17): composeService.start has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 1, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/start.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58e4cd500f0fc08defd61b58a8c3b127b44b26aaf3c90a1f8068d98974f1dd4"}},{"ruleId":"D2","level":"warning","message":{"text":"compose.runList (cognitive 16): compose.runList has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 5 (7 pts) (nesting depth added 5). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/list.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1b3d0b3dfe42150ee8d81d18c0065992143d8ddef6683d2e68def77f94efea"}},{"ruleId":"D2","level":"warning","message":{"text":"compose.runCommand (cognitive 16): compose.runCommand has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 2 (nesting depth added 2). None of this is in the body itself: all 16 points belong to 2 function literals inside it that branch (lines 170, 206). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/run.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb51e0cbf54a193c2cc116dcc76e446b999a1283f28697b46074bfb3a741034"}},{"ruleId":"D2","level":"warning","message":{"text":"compose.runRun (cognitive 16): compose.runRun has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 2 (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":"cmd/compose/run.go"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"1111764d4217d8a8833b8b5ec9f28a5b5f8021efbc24ca6d00d9ac8107ac0ea8"}},{"ruleId":"D2","level":"warning","message":{"text":"compose.runWatch (cognitive 16): compose.runWatch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/watch.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3775ddccd45b5c97a3ba141cb438e00d24683ee1af6a2f222b85c2031d02d7"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.copyFromContainer (cognitive 16): Service.copyFromContainer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/containerops/cp.go"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24eb84c3cbefb07983892d0f6a4d85cd7561dae28a95e6078c10404729258ec"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.executePlugin (cognitive 16): Service.executePlugin has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 pts), loops 1, match/switch 1 (nesting depth added 3). Of this number, 13 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. 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":"internal/provider/plugins.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0265203abc1339dce20d8f75e73cb213db8f733abb64f5c6b8893cd26ab3d7"}},{"ruleId":"D2","level":"warning","message":{"text":"Service.createRelayContainer (cognitive 16): Service.createRelayContainer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/relay/relay.go"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"505cd675d96e7edd538207f3617ac969f6c4f53c6247673f9293308ae643cd22"}},{"ruleId":"D2","level":"warning","message":{"text":"ArchiveBuilder.writeEntry (cognitive 16): ArchiveBuilder.writeEntry has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/sync/tar.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"1585fee5a76c4b524ed56aca3f560018af8b81feed8f9c9427e5ee5b73342b9a"}},{"ruleId":"D2","level":"warning","message":{"text":"compose.localBuildPaths (cognitive 16): compose.localBuildPaths has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 5, loops 3 (nesting depth added 2). 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":"pkg/compose/build_bake.go"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"be921acf1e7c6517bea2824fd9dec4ccab972859253c11e156bc011f8eff9a61"}},{"ruleId":"D2","level":"warning","message":{"text":"compose.buildContainerConfigMounts (cognitive 16): compose.buildContainerConfigMounts has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/create.go"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abc70cc3bfa0b44ba58443ab139c47b4d1f7bea54b2ae2046b8ea139b6566fa"}},{"ruleId":"D2","level":"warning","message":{"text":"composeService.isServiceHealthy (cognitive 16): composeService.isServiceHealthy has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 5, match/switch 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/dependency_wait.go"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06e858ae23d375bbcd521fb04b4c87983b8ca063e3523fb463c3a06b263032a"}},{"ruleId":"D2","level":"warning","message":{"text":"planExecutor.runNode (cognitive 16): planExecutor.runNode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 2 (3 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":"pkg/compose/executor.go"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"791808d3af80fa77ff44349d2fb18b1cb1d74ede2b2e36e64c908e21174d21ab"}},{"ruleId":"D2","level":"warning","message":{"text":"modelAPI.SetModelVariables (cognitive 16): modelAPI.SetModelVariables has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/model.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1803b84902b1aa1e2acd8cfa2dcafc149a1cf8b48cca86f5663992f1b4ef22"}},{"ruleId":"D2","level":"warning","message":{"text":"reconciler.hasVolumeMismatch (cognitive 16): reconciler.hasVolumeMismatch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/reconcile.go"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcb000efb2f467aed4962831e94f0b2a137b20c1d51c79ea549e746583b7921"}},{"ruleId":"D2","level":"warning","message":{"text":"upSession.runEventLoop (cognitive 16): upSession.runEventLoop has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (13 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/up.go"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a99d4e70f25fa854a54abc672f709e4c9b639fe705c2a4a62be8f82c016b459"}},{"ruleId":"D2","level":"warning","message":{"text":"ociRemoteLoader.pullComposeArtifact (cognitive 16): ociRemoteLoader.pullComposeArtifact has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remote/oci.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"969505821d91a0cd2f9bff7f9224ad70d41ecdafdfe5a5bfd2f73e619e553ce9"}},{"ruleId":"D2","level":"warning","message":{"text":"ociRemoteLoader.pullComposeFiles (cognitive 16): ociRemoteLoader.pullComposeFiles has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remote/oci.go"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"60faea488185a9781d673db0029963276e24662d4c3b34f34c796aa66969ec06"}},{"ruleId":"D2","level":"warning","message":{"text":"naiveNotify.loop (cognitive 16): naiveNotify.loop has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/watch/watcher_naive.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"af01c57a6bd4640e37848b273e72726a83cfdc01c0b12324e050e3fa438d0662"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: composeService: TooManyMethods \u2014 197 methods, declared across 42 files: compose/down.go (18), compose/compose.go (15), compose/create.go (15), compose/watch.go (11), \u002B38 more file(s). The bar is 30 methods; this is 167 over it, 6.57\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/compose.go"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"427962ca47836dbb4e0bddb34f42152c048f7c6a26e11120430ba17e9b6eb391"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DryRunClient: TooManyMethods \u2014 115 methods. The bar is 30 methods; this is 85 over it, 3.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dryrun/dryrunclient.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0902da68da5051b0a6a9d5d9476c9732a5d5507a37cd24dff13c2c7a5e427fa1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compose/create.go: FileTooLong \u2014 1031 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 531 over it, 2.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/create.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ab06ebedc3ebbc17bad67da6e5bc18e5c9762de7d6168691ef68de2cc789e7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: reconciler: ClassTooLong \u2014 782 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods, 38 blocks, lines 87-1819. The bar is 400 significant lines; this is 382 over it, 1.96\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/reconcile.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb4194d40abdcd9de318c1ac28bdd6f34f47566bda0d8c86521e6729150da2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compose/reconcile.go: FileTooLong \u2014 916 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: reconciler (38 blocks, 87-1819). The bar is 500 significant lines; this is 416 over it, 1.83\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/reconcile.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"792a9eac0d157a73c3bc82486ca73626c7c30b07ffc9d94f99874062cb2edb5f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: composeService.getCreateConfigs: MethodTooLong \u2014 getCreateConfigs runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/create.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dffa41b3beaf30f23652a250f0a3ad19d335362a017d4ab66bd7d848c073828"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: reconciler: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/reconcile.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd7f56948efb053e3ca7241e5a1e5bf0158d93dc090e3fc8af89bd336d9396b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: compose.RootCommand: FunctionTooLong \u2014 RootCommand runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/compose.go"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9941ce9a628cb0a1a44d1aed4d4b557707a2e9fd206a2ae71fea7406105bcd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: reconciler.reconcileService: MethodTooLong \u2014 reconcileService runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/reconcile.go"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e216f9b1bc68ff94aab238ea467cc258f536b87cdfac484f12a30064556bfc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compose/watch.go: FileTooLong \u2014 520 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 20 over it, 1.04\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":"pkg/compose/watch.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8d6fa8bf05256a0b59c7278d322b45c75330e40e86e37ca2b3a96f663d2ed2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: publish/publish.go: FileTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 15 over it, 1.03\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":"internal/publish/publish.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fef8403624f2d66e7b5e89914d99e0fdc648cce71271eb2f30de76adf499c48"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compose/build_bake.go: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 13 over it, 1.03\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":"pkg/compose/build_bake.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae1bc018a01185f14d419d23b1acdeb1dcf8f2925c17ad959e9740aa7a0be1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): cmd/compose/config.go:416-469 | cmd/compose/config.go:476-513 \u2014 These two members are one piece of code written twice and then edited apart: 38 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":"cmd/compose/config.go"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b731133044c6841f8b069a4ac7ba4836b27b79b5c2fa0d2db43cf835451728"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): pkg/compose/create.go:1259-1303 | pkg/compose/create.go:1305-1356 \u2014 These two members are one piece of code written twice and then edited apart: 45 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":"pkg/compose/create.go"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2f7f0b13f9cd3d7863d1153671cf0609dde67ba9f27f0b4c54ffeb2a1ceb56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): cmd/compose/stats_projects.go:285-308 | cmd/compose/stats_projects.go:310-328 \u2014 These two members are one piece of code written twice and then edited apart: 19 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":"cmd/compose/stats_projects.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1c5ed2d25a2d242977a88d5fef23a58ad9667007a322ff3297d21c32834afe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): pkg/compose/reconcile.go:273-306 | pkg/compose/reconcile.go:433-487 \u2014 These two members are one piece of code written twice and then edited apart: 34 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":"pkg/compose/reconcile.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3d39b036b740d4723ba26513d762a4bedeab1622f5e3ebb1f41ce4d634ce20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): cmd/compose/compose.go:407-440 | internal/projectloader/loader.go:81-121 \u2014 These two members are one piece of code written twice and then edited apart: 34 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":"cmd/compose/compose.go"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a82a3c91a7fa2569eff615e7aaaa19f54b48670ad7392f0b98d98b0182b6ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): internal/publish/publish.go:226-260 | internal/publish/publish.go:262-290 \u2014 These two members are one piece of code written twice and then edited apart: 29 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":"internal/publish/publish.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa2637ef5994c7b684c33e9c2889792d09f8e06a85573b3986c48d966b91765"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): pkg/compose/observed_state.go:342-376 | pkg/compose/observed_state.go:394-423 \u2014 These two members are one piece of code written twice and then edited apart: 30 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":"pkg/compose/observed_state.go"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4354f9a0a45c470a650b4b70158c8fff3ea7c358c12f4582dd31fc517a1f3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): pkg/compose/observed_state.go:67-88 | pkg/compose/observed_state.go:93-114 \u2014 These two members are one piece of code written twice and then edited apart: 22 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":"pkg/compose/observed_state.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f752c44f8e8e1c353afc24bbe76ad8af5e897b2e5816c78e0c59ea146592ff87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): cmd/compose/restart.go:35-55 | cmd/compose/stop.go:34-53 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"cmd/compose/restart.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1243e79e75a5f98565a6896467bba1102067738c15c5818199e9d64034261644"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): internal/locker/runtime_windows.go:30-49 | pkg/remote/cache_windows.go:30-49 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"internal/locker/runtime_windows.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd20364c9dae831d8377af65cdd17a695e6fc460c260d131e1349035fc9eb5ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): cmd/compose/completion.go:40-63 | cmd/compose/completion.go:65-86 | cmd/compose/completion.go:88-114 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/completion.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a380b7ffabdfab6f2c8b5ce144ef5a19a4a8357698bfb5c19d5851577dbd4b5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): cmd/compose/events.go:38-57 | cmd/compose/images.go:45-60 | cmd/compose/volumes.go:39-57 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/events.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3dcf2c552cf970f2500c2ba965c8499581f596ffb4922911ccbc648155fb78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): cmd/compose/pull.go:101-122 | cmd/compose/push.go:61-84 \u2014 These two members are one piece of code written twice and then edited apart: 22 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":"cmd/compose/pull.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f393d8a29e30f2cf7dfb7e4f6c10f96f78dcecd94aba97f1aa0f4378238c794f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): internal/tracing/mux.go:31-49 | internal/tracing/mux.go:51-69 \u2014 These two members are one piece of code written twice and then edited apart: 19 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":"internal/tracing/mux.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ddaabc0942af1ecc4f14e9e06a5d007e63a889de036dbae71a2093308f6069"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): internal/logstream/monitor.go:330-349 | internal/logstream/monitor.go:366-392 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"internal/logstream/monitor.go"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2a0269721e40fa107d807a858910f5b38ebb944843adddc690eb16bd1c103d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): cmd/compose/kill.go:59-78 | cmd/compose/remove.go:66-88 \u2014 These two members are one piece of code written twice and then edited apart: 20 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":"cmd/compose/kill.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"969ca54fa41051ef322d5c9c145fbedd27ed6c1f5b47b4f7d3a667faf34f7ff5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/compose/executor_events.go:369-382 | pkg/compose/executor_events.go:387-400 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"pkg/compose/executor_events.go"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e20b526a67f199a3f6e0e8f51793f3a428b90a51868335e8e9c15b4b29df661"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): cmd/compose/commit.go:78-97 | cmd/compose/cp.go:77-95 \u2014 These two members are one piece of code written twice and then edited apart: 19 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":"cmd/compose/commit.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3496cdca7ab578c9c359c1da3670a92d3453d2189ebd4700c72489fc50d1b519"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): pkg/compose/compose.go:409-427 | pkg/compose/compose.go:429-452 \u2014 These two members are one piece of code written twice and then edited apart: 19 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":"pkg/compose/compose.go"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a132b87f89e401095cbfd27bbb4e02a226e17a8dda2b3696f88f70292b35d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): pkg/compose/create.go:222-239 | pkg/compose/create.go:285-300 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"pkg/compose/create.go"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b86d562b678775cd3723cf211865713376947fcc43adcc7dc52484ad67518d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): internal/tracing/wrap.go:38-51 | internal/tracing/wrap.go:61-74 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"internal/tracing/wrap.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"555541599de26e26b17f0cd696f1f49346205727a8d462bba9b93d0cb3cdf6ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): cmd/compose/attach.go:69-87 | cmd/compose/export.go:63-80 \u2014 These two members are one piece of code written twice and then edited apart: 18 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":"cmd/compose/attach.go"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc35d456a61d7953e65efa838208c2bba1f997a06f58b0fd0d5e12cd0cd9cc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/compose/up.go:490-500 | pkg/compose/up.go:574-584 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"pkg/compose/up.go"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7224314a6cad77560777e361164f557e24ac52df94529f9fb795c7f09b8f1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): cmd/compose/pause.go:33-46 | cmd/compose/pause.go:66-79 | cmd/compose/top.go:39-52 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/pause.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"072d79e7bc97b072a2713915139a58344404b63870c87988fe5a1eb5d14ecda3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): cmd/compose/config.go:516-528 | cmd/compose/config.go:531-544 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"cmd/compose/config.go"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2b5f1c1b6760bd601dfdddb41d103088d1cf519bb5d94094ebb592fdd4d1ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): cmd/compose/pause.go:48-59 | cmd/compose/pause.go:81-92 | cmd/compose/stop.go:55-67 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/pause.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea9c8f6d3505166912e09b981d76094a110519266df2604fd999b1c0449cf5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/compose/down.go:179-192 | pkg/compose/down.go:322-336 \u2014 These two members are one piece of code written twice and then edited apart: 14 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":"pkg/compose/down.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"9562ba444b11f06da77184e41db9d8405bdb8e5758bcda06a9b9977065734c47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): internal/depgraph/depgraph.go:399-413 | internal/depgraph/depgraph.go:416-430 \u2014 These two members are one piece of code written twice and then edited apart: 15 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":"internal/depgraph/depgraph.go"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ee92831905213fc2e97b5a6f88ddfa98363eb68f48832b749e9cecdb819b26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pkg/remote/git.go:43-52 | pkg/remote/oci.go:77-86 \u2014 These two members are one piece of code written twice and then edited apart: 10 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":"pkg/remote/git.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1980b44de280e224dc39f54621539ac5a08e66e141c96f8a106f180d9633cec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): internal/locker/runtime.go:23-35 | pkg/remote/cache.go:24-36 \u2014 These two members are one piece of code written twice and then edited apart: 13 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":"internal/locker/runtime.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d76f9ef820be7514316465724e35b846443bb15d8c72232df680acb1f55965"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): cmd/compose/scale.go:98-106 | pkg/compose/scale.go:44-54 \u2014 These two members are one piece of code written twice and then edited apart: 9 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":"cmd/compose/scale.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbc39ab7abc8da40ef52a5c4fd5c753e57e5d7def20e89de3358d238303cdcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): internal/locker/runtime_darwin.go:28-34 | pkg/remote/cache_darwin.go:28-34 | pkg/remote/cache_unix.go:30-36 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/locker/runtime_darwin.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"563b0e18cfbdfa3d6aacfb79e71f10d0370c40f09156005ad5daa0ca6dd572ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): cmd/compose/config.go:434-456 | cmd/compose/config.go:485-505 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/compose/config.go:434\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/config.go"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"67351e1284219bb34723233b69043d9a8aa034f7bf7ab670ff3376b96d547190"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): internal/containerops/cp.go:157-172 | internal/containerops/cp.go:273-288 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/containerops/cp.go:157\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/containerops/cp.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"30873fab1c2aa95556b4a84431f83b2619f64729532c43166c1845a3a7c6c155"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): cmd/compose/compose.go:422-436 | internal/projectloader/loader.go:99-113 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/compose/compose.go:422\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Check import visibility before settling on that home: \u0060internal/projectloader/loader.go\u0060 sits under a restricted \u0060internal\u0060 directory, which only code inside its own subtree is permitted to import from \u2014 so it is reachable from some of these sites and not from others, and being able to see the copies is not the same as being allowed to share them. The home has to be somewhere every one of these sites is permitted to import from; if there is no such place, that restriction may be exactly why the copies are separate."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/compose.go"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea880561048ca18ab437ba1037cb0750349f8265b6bcd011325146481fc360d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): cmd/compose/completion.go:41-53 | cmd/compose/completion.go:89-101 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/compose/completion.go:41\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/completion.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc4162051a544a0eefa26b34c03ca021f1a782ff86cbac009487d4332f7f76b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): internal/images/images.go:90-100 | internal/inspect/volumes.go:31-43 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/images/images.go:90\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/images/images.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2939420b8cd7688cb4169c307f2fb68904a3b997119264e516ef3b7b60f1fa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/tracing/wrap.go:40-51 | internal/tracing/wrap.go:63-74 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/tracing/wrap.go:40\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tracing/wrap.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"02220f7af28c93879340e13184c8b9269eb6e023114e59cc2f6a616d18623568"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): cmd/compose/pull.go:102-110 | cmd/compose/watch.go:70-78 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/pull.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"55607d797c956abf646ee1b5674d3814e6a0036ddf5f69d40762d50e5a2c5fee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/compose/observed_state.go:72-80 | pkg/compose/observed_state.go:98-106 \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":"pkg/compose/observed_state.go"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e110b3bf7819bb18e2f0dc05e1093ae8872e50528c841d817f101ab404a125"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/compose/reconcile.go:341-349 | pkg/compose/reconcile.go:536-544 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/compose/reconcile.go:341\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/reconcile.go"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"849e023adda5540a9e32b15d06bca68f9d1b21f7e21e98c69c0cd119c100a0a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/compose/start.go:130-137 | pkg/compose/up.go:183-190 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/compose/start.go:130\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/start.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7d5232181005e14122bf50a0bf729df66b9af93a390f8870bbd1272fda5813"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cmd/compose/stats_projects.go:298-304 | cmd/compose/stats_projects.go:318-324 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/compose/stats_projects.go:298\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/stats_projects.go"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da8bf9e0dd72f241d9dd3fae1953a96e35e7001ab744f6943aab66e1305cc8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cmd/compose/attach.go:50-55 | cmd/compose/export.go:45-50 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/compose/attach.go:50\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/attach.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f6ec50b50f35449258592ded48dfc801f645ccaf79a1c099c86e5bc6841e96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cmd/compose/config.go:424-429 | cmd/compose/config.go:479-484 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/compose/config.go:424\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/config.go"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1c26e60b41cd3fa5a500e805968bd073e697edbb57364d312287147f7c0084"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cmd/compose/down.go:60-65 | cmd/compose/kill.go:47-53 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/compose/down.go:60\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/down.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6faf3400c35984f4d8c131cb153d2ff3fa2caba7d361d32d0f8a6c0bdd96df9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): cmd/compose/options.go:68-74 | pkg/api/api.go:319-324 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/compose/options.go:68\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/options.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2c6488ff1c2617d68bc0c47b5c2a5d229a9761094cf2c237a10ce33972089b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): cmd/compose/config.go:696-700 | cmd/compose/config.go:703-707 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cmd/compose/config.go:696\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/config.go"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ca646ba5019baa72f91c0a4e57c0bb81b5300c7f35b242daf2395fec55be51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pkg/watch/temp_dir_fixture.go:103-115 | pkg/watch/temp_dir_fixture.go:136-146 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"pkg/watch/temp_dir_fixture.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c030b7ae15318adf291f6219aa3e8f773f812672f425dd68e548732c0a1f9d85"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DryRunClient (LCOM4 41): DryRunClient\u0027s methods fall into 41 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 41 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/dryrun/dryrunclient.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"387b5c49478cc9db86fd251a16ee5655f59ec02d35e2be57b66795eaecfa3b46"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: upOptions (LCOM4 4): upOptions\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/up.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b597c287c0ea72d06e7c45d1bb343ec594a9dca60205c8e91f31a48103bc9d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Client (LCOM4 4): Client\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/desktop/client.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"497310ea2be0bcc75945cd7e83bcf9296ccc19d2669dc7391af2e6ba31d91772"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ObservedState (LCOM4 4): ObservedState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/observed_state.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8ff525db89c15ec4c3b4565344882ebb4fa2cab5b58b8c8a48ba6ca8250c1e"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/acarl005/stripansi: Direct dependency \u0060github.com/acarl005/stripansi\u0060 is required at \u0060v0.0.0-20180116102854-5a71ef0e047d\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2018-01-16, 8.8 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/acarl005/stripansi\u0060 and has not moved this requirement in 8.8 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/acarl005/stripansi\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"00468a5155b5645d95e8fb05538cb0f705d705c3015586eec99dac08302e05a5"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/eiannone/keyboard: Direct dependency \u0060github.com/eiannone/keyboard\u0060 is required at \u0060v0.0.0-20220611211555-0d226195f203\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2022-06-11, 4.4 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/eiannone/keyboard\u0060 and has not moved this requirement in 4.4 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/eiannone/keyboard\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e1fee28e4f65de2ea69cd6bd7d7296be62446d6aa3add530aee0671baa3bbc00"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/skratchdot/open-golang: Direct dependency \u0060github.com/skratchdot/open-golang\u0060 is required at \u0060v0.0.0-20200116055534-eef842397966\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2020-01-16, 6.8 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/skratchdot/open-golang\u0060 and has not moved this requirement in 6.8 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/skratchdot/open-golang\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3025a280e132b09af6ad1eccd044c5e9408035a88d1b8a473fe94a442c0e4fcb"}},{"ruleId":"D12","level":"warning","message":{"text":"Dependency pinned to a stale untagged commit: github.com/tilt-dev/fsnotify: Direct dependency \u0060github.com/tilt-dev/fsnotify\u0060 is required at \u0060v1.4.8-0.20220602155310-fff9c274a375\u0060 in go.mod \u2014 a pseudo-version, which pins an UNTAGGED commit from 2022-06-02, 4.4 years ago. The pin itself is exact, so this is not a reproducibility defect, and it is not a claim that the module is unmaintained. What it says is that this repository tracks no RELEASE of \u0060github.com/tilt-dev/fsnotify\u0060 and has not moved this requirement in 4.4 years: every fix the module has published since that commit \u2014 including any security fix \u2014 is absent from this build, whether the module went quiet or moved on without you. Check whether \u0060github.com/tilt-dev/fsnotify\u0060 now publishes tagged releases and move the requirement to one; if it publishes none, re-pin to a current commit."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a56ec697da2019e4eae6bf13bee4f42522f93bd2da32fec8a1a76f27b98e5cbe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/compose/up.go: pkg/compose/up.go changed 39 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in composeService.runInteractiveUp at line 234. 22 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- pkg/compose/up.go\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":"pkg/compose/up.go"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"90389ac82bb25d260312ca51e4065212618f979d690e8b90cc2c5495678a28c8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/compose/down.go: pkg/compose/down.go changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in composeService.down at line 63. 18 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- pkg/compose/down.go\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":"pkg/compose/down.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1f44387f187994e5f849d5e65841f6f1606fcc503fe0dc78245598ad24a734"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/compose/reconcile.go: pkg/compose/reconcile.go changed 33 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in reconciler.reconcileService at line 771. 17 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- pkg/compose/reconcile.go\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":"pkg/compose/reconcile.go"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5471ceef5ec607fc7cde74008b4def22853291b5d9cc20e77c4a95f13003fe8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/compose/create.go: pkg/compose/create.go changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in composeService.getCreateConfigs at line 302. 4 of those changes were fix/bug commits, and the other 21 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- pkg/compose/create.go\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":"pkg/compose/create.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef15a672b811405602aac3146c49f7d9c8311e3248306229685e2b61d3d988b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/compose/watch.go: pkg/compose/watch.go changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in composeService.handleWatchBatch at line 512. 15 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- pkg/compose/watch.go\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":"pkg/compose/watch.go"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"17484827f2a4dd20b3cf871bf533f7bca9cd695e58ceb449ed279359a3959c91"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/compose/start.go: pkg/compose/start.go changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in composeService.start at line 42. 7 of those changes were fix/bug commits, and the other 9 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- pkg/compose/start.go\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":"pkg/compose/start.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b787c1bf7b67cbf9932fd2d7fed84734f65bef9bf8a7f0ef300d651de14a682"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/logstream/monitor.go: internal/logstream/monitor.go changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Monitor.Start at line 164. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- internal/logstream/monitor.go\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":"internal/logstream/monitor.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"19edd9e55a94161d61b5e72a9e8552647ac692bde05259c14811044643f796c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/remote/oci.go: pkg/remote/oci.go changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ociRemoteLoader.pullComposeArtifact at line 156. 6 of those changes were fix/bug commits, and the other 6 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- pkg/remote/oci.go\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":"pkg/remote/oci.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b643de0a63aad8200185723d5f327e8e965966ef3796c704f9e288280ba82cba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/compose/build_bake.go: pkg/compose/build_bake.go changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in compose.localBuildPaths at line 379. 6 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- pkg/compose/build_bake.go\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":"pkg/compose/build_bake.go"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a50b39c776cd519d307ac20914ebe2dce0da1e413033307dc841d2e7be9ce49"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/compose/remove.go: pkg/compose/remove.go changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in composeService.Remove at line 32. 2 of those changes were fix/bug commits, and the other 6 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- pkg/compose/remove.go\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":"pkg/compose/remove.go"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3387e05cf2e660a1bce08daa98ca7a6cdeb8b8982877071a8734e89fcf1151"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/compose/up.go: cmd/compose/up.go changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in compose.runUp at line 225. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- cmd/compose/up.go\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":"cmd/compose/up.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6e01f22dca037f6a0010b647f923ae1e20e53ea9837bc3b9c25a88686f1c09"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/compose/apiSocket.go: pkg/compose/apiSocket.go changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in composeService.useAPISocket at line 45. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- pkg/compose/apiSocket.go\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":"pkg/compose/apiSocket.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"860ba24c7f75c934652e1ba305152365a7ea4acb6c1f2decc20bdd63b7deb978"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/containerops/cp.go: internal/containerops/cp.go changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Service.copyToContainer at line 145. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- internal/containerops/cp.go\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":"internal/containerops/cp.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"63afbd8c1aa7eab26fe5db245e2f9400776bdcaa2df96c6d851e03907180bc8f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/compose/ps.go: cmd/compose/ps.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in compose.runPs at line 95. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- cmd/compose/ps.go\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":"cmd/compose/ps.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"6121c2be94b311bd353599119c1354a7193c99beb96ff4893e7b426c15b43a9f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/compose/executor.go: pkg/compose/executor.go changed 24 times in last 90 days and 17 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is planExecutor.runNode at line 417), AT OR 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(executor): keep a given up group\u0027s final event last\u201D; \u201Cfix(executor): name the failed wait and close every row a failed start leaves\u201D; \u201Cfix(executor): report the services a failed start interrupts\u201D; \u201Cfix(executor): record a dependency wait canceled by its phase as a failure\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- pkg/compose/executor.go\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":"pkg/compose/executor.go"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9b0fc35c12403e96965a2ff96fd40895809f8ac94f9c2cdeb455ba55df6b9d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/compose/executor_ops.go: pkg/compose/executor_ops.go changed 19 times in last 90 days and 10 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 planExecutor.execWaitCondition at line 232), AT OR 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(executor): name the failed wait and close every row a failed start leaves\u201D; \u201Cfix(executor): report the services a failed start interrupts\u201D; \u201Cfix(executor): tell an optional wait\u0027s own timeout from an inherited deadline\u201D; \u201Cfix(service_containers): don\u0027t swallow an inherited deadline as a wait timeout\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- pkg/compose/executor_ops.go\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":"pkg/compose/executor_ops.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb0a9daecf6956f29b5cbc11e0f048e6cda08152e1ad428332ad1920b734dad"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/compose/relay.go: pkg/compose/relay.go changed 17 times in last 90 days and 9 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 composeService.ensureRelayLinkNetworksDown at line 48), AT OR 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(compose): share relay-link network removal and state its isolation precisely\u201D; \u201Cfix(provider): drop the relay\u0027s capabilities to the strict minimum\u201D; \u201Cfix(provider): guard pre_start against the relay too, address review nits\u201D; \u201Cfix(provider): make removeServiceRelay idempotent under concurrent removal\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- pkg/compose/relay.go\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":"pkg/compose/relay.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"33483729fa7f28998ed3629d209268aa8e64d02126c987dee6be6a977038525d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/compose/plugins.go: pkg/compose/plugins.go changed 17 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is composeService.providerService at line 63), AT OR 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(provider): do not execute provider services in dry-run mode\u201D; \u201Cfix(provider): close stdin when an announce write itself fails\u201D; \u201Cfix(provider): address review findings on image distribution\u201D; \u201Cfix(provider): get-service-config resolves a build-only service\u0027s image\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- pkg/compose/plugins.go\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":"pkg/compose/plugins.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e210c93a1716f76ed5bfbe774e62f6d1d54021705e57830353c5b676ed10f698"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/compose/image_pruner.go: pkg/compose/image_pruner.go changed 14 times in last 90 days and 9 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is compose.NewImagePruner at line 59), AT OR 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(down): reuse Mode.Valid() instead of re-deriving legal values\u201D; \u201Cfix: share --parallel budget across down\u0027s ops and up\u0027s log-attach\u201D; \u201Cfix: honor --parallel across all bulk engine-call fan-outs\u201D; \u201Cfix: stop one tagged-image failure from starving the rest\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- pkg/compose/image_pruner.go\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":"pkg/compose/image_pruner.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0098707553ac99469be60ac653a5571a42f96be369c249284b1ca4a0b3d239ba"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/compose/run.go: pkg/compose/run.go changed 11 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 15 (its worst body is composeService.doPrepareRun at line 142), AT OR 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(run): warn about ignored uid/gid/mode for a run target scaled to zero\u201D; \u201Cfix(config): warn about ignored uid/gid/mode at creation, not at load\u201D; \u201Cfix(run): keep a recreated dependency\u0027s anonymous volumes\u201D; \u201Cfix: keep the image pull of compose run inside the run progress block\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- pkg/compose/run.go\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":"pkg/compose/run.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"9469cf906d7ecdccfe29ccc159b9d9c9e009476676d8f82137bd34e89642d8c9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/compose/executor_events.go: pkg/compose/executor_events.go changed 9 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 9 (its worst body is compose.unmetPrerequisite at line 265), AT OR 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(compose): report network and volume progress once, on their own row\u201D; \u201Cfix(executor): keep a given up group\u0027s final event last\u201D; \u201Cfix(executor): name the failed wait and close every row a failed start leaves\u201D; \u201Cfix(executor): report the services a failed start interrupts\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- pkg/compose/executor_events.go\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":"pkg/compose/executor_events.go"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96097b9b2869dc14be03f2bf7bd48b88330dec361d04b2b92e75609b0f7a039"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/compose/wait.go: pkg/compose/wait.go changed 4 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 11 (its worst body is composeService.Wait at line 30), AT OR 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: close remaining --parallel gaps on down/stop/start\u201D; \u201Cfix: honor --parallel across all bulk engine-call fan-outs\u201D; \u201Cfix: wait rejects dry-run with a clear error\u201D; \u201Cfix(wait): a target that already exited is a satisfied wait, not an error\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- pkg/compose/wait.go\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":"pkg/compose/wait.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2349509d51842acceffe54f6a84e501014ebc402d5a0ca74ade811afbbfcf35a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/projectloader/unsupported_attributes.go: internal/projectloader/unsupported_attributes.go 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 7 (its worst body is projectloader.toAPIUnsupportedAttributes at line 203), AT OR 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(config): warn about ignored uid/gid/mode at creation, not at load\u201D; \u201CApply review suggestions for the dotted service name fix\u201D; \u201Cfix(projectloader): unescape service names in unsupported attribute warnings\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- internal/projectloader/unsupported_attributes.go\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":"internal/projectloader/unsupported_attributes.go"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a02c7ac8ede8ad9628841af15046243acad7e02107163d067ae51637843d1f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/compose/hook.go: pkg/compose/hook.go 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 11 (its worst body is composeService.runHook at line 43), AT OR 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: \u201Cbuild(lint): bump golangci-lint to v2.15.0 and fix what it now reports\u201D; \u201Cfix(hooks): stderr-biased tail and pre_start parity\u201D; \u201Cfix(hooks): include hook output in the error when a hook fails\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- pkg/compose/hook.go\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":"pkg/compose/hook.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8e252e0daed633797f37cf24a61adda280370ae1d6ae94d0eb03cf2d5cbfc2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: cmd/display/tty.go: cmd/display/tty.go 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 7 (its worst body is termWriter.On at line 162), AT OR 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(display): reset the screen after degraded out-of-operation lines\u201D; \u201Cfix(display): harden termWriter lifecycle against review findings on #14119\u201D; \u201Cfix(display): stop ttyWriter.Done from hanging after context cancel\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- cmd/display/tty.go\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":"cmd/display/tty.go"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9accee45f30471ea09c75e3500907c5b23d47279cade9b42782d8796bb58816"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: cmd/compose/bridge.go: cmd/compose/bridge.go 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 8 (its worst body is compose.displayTransformer at line 149), AT OR 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(bridge): reject --dry-run on bridge commands\u201D; \u201Cfix(bridge): confirm before wiping non-empty convert output dir\u201D; \u201Cfix(compose): reject unknown subcommands under bridge/transformations\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- cmd/compose/bridge.go\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":"cmd/compose/bridge.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f82fd82b3995d7600ef856f3856b74977e60e077b77d4b5314d29f73108086"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: cmd/compose/start.go: cmd/compose/start.go 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 5 (its worst body is compose.runStart at line 54), AT OR 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(compose): move the job-target refusal into projectOrName itself\u201D; \u201Cfix(start): still refuse a job when COMPOSE_PROJECT_NAME masks the error\u201D; \u201Cfix(create, start): clear error when targeting a job by name\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- cmd/compose/start.go\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":"cmd/compose/start.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee413af1534178960988cdb7e72ba870558a9ed326edb19f4a46aaf042b0994"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: internal/images/prune.go: internal/images/prune.go 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 10 (its worst body is Pruner.ImagesToPrune at line 85), AT OR 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(down): select images before teardown\u201D; \u201Cfix(down): preserve images outside selected services\u201D; \u201Ctest(images): pin the images backend adapter, and fix comments left by the move\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- internal/images/prune.go\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":"internal/images/prune.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b943039efbaa4b574c3b30a92795c2d6ddfca113d8442e23ac799cf8fc8f8319"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: pkg/compose/secrets.go: pkg/compose/secrets.go 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 10 (its worst body is composeService.injectFileReferences at line 50), AT OR 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(run): warn about ignored uid/gid/mode for a run target scaled to zero\u201D; \u201Cfix(config): skip uid/gid/mode warning for services scaled to zero\u201D; \u201Cfix(config): warn about ignored uid/gid/mode at creation, not at load\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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 10:39:05 \u002B01:00\u0027 --until=\u00272026-11-13 10:39:05 \u002B01:00\u0027 --full-history --no-merges -- pkg/compose/secrets.go\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":"pkg/compose/secrets.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8307ad7e3c99cef452f223ea8977b93d818e94894ef417c34f1d55258a24d7f9"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 17 significant file(s) lose their only recent owner: pkg/compose/executor.go, pkg/compose/executor_ops.go, cmd/display/tty_layout.go, pkg/compose/secrets.go, relay/main.go, pkg/compose/start.go, pkg/compose/provider_images.go, pkg/compose/apiSocket.go (\u002B9 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91af440e39db8b417a66dd3e822229c6f63ff4758b313238a418f52edde2822e"}},{"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 (20 single-owned of 139 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; 139 of the 226 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)), anonymized user #3 (1 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: cmd/compose/bridge.go, cmd/compose/hooks.go, internal/registry/desktop.go."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dbentley): if there\u0027s a delete should we call d.watcher.Remove to prevent leaking? \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":"pkg/watch/watcher_naive.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"502d0377322c3647c7145d45419733221b860d60cd488b786dbb986a4551f646"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dmiller): symlinks \uD83D\uDE2D \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":"pkg/watch/watcher_naive.go"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe17342062da427c50b81a54653558a319e7b3efbfb969b1fd79a6ebd76bdb6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nick): I think the ideal API would be to automatically increase the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/watch/watcher_windows.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"20284dd06c162b5d4d70c8561da2e9b65204bfb54cf13382493da90e0e4b1708"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(milas): Compose should really not return exit code 130 here, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/e2e/cancel_test.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0ee6af4394fea583f3d58074bb7b1174adfa8254ce3f21d02bbee81d4524c1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u0060docker pause\u0060 errors in this case, should Compose be consistent? \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":"pkg/e2e/pause_test.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd8309ced4f66375d13fdaae321bce6f6d14e58c84c06b4072e0fbfed472486"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: for consistency, this should NOT write any output because the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/e2e/start_stop_test.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"35dc2b4123c9a8288839ce85abd3840a41443c3e9f9ffb83a0367afaa8d49f3d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: refactor this duplicated code into frameworks? Maybe? \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":"pkg/e2e/watch_test.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8ddb174190ec48018e29236803f09fdf1bda6e8e341d403c1ab5273d400593"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME we should prompt user about this, but this is a breaking change in UX \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":"pkg/compose/build_bake.go"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7bf2bc60105f6b2ad00c600ded0614b1dded98852b1dacb68dd5abbc2c1d00e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah): Are these expected to be included? See https://github.com/docker/cli/pull/6516#discussion_r2387586472"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/build_classic.go"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c8fc0c7a79c10a161127d584f6cd44667876008898389e6f5bb2f87a538fab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO find so way to share this code with docker/cli \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":"pkg/compose/create.go"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4b414b9eb4158bb2e77674908e11c255f9bd26b034a69c0e91a363d1783216"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // DriverConfig: , // FIXME missing from model ? \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":"pkg/compose/create.go"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"8759c7f3662d6db461dbdd42ac7931f99ce11006482678cf7f4107be9bd080d7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(robmry) - IPAddress and IPv6Gateway are \u0022operational data\u0022 fields... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/create_test.go"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3cbe86603c0cecb2ceb61a5138d081a474e58bd44ac5bb9a63eb7b2746e3fcc"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack: create a fake ServiceConfig so we pull missing volume image \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/pull.go"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"c786c9500460d8392bf6a6f6d65052fc3da171ac35e4af63267efd902f50db98"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack: create a fake ServiceConfig so we pull missing pre_start hook image \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/pull.go"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d4582cd0c0805d06e217ad73c947f33ec7d7c7eab6d583bc81627b909751d9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO there should be a better way to detect push is done than such a status message check \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":"pkg/compose/push.go"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea53560474074fbb784f978b2cee466392f5813b41ce658dc4fcc43e599d0e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove startMx, and the locking around it, once Engine 28.x is out of \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/service_containers.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f5e56fc0ab38cff88536472dfc370369e1839a42f7cb14ad2613f79f363c24"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: unfortunately _all_ public OTEL initialization functions \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tracing/docker_context.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1563e0761b07918f26e6d5a0bc6e79bc52806104711bc28eedbe9b0465fd8016"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support other event types \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":"internal/inspect/events.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f45a09e5365e5d3ac20f926bcd83868c0de250827f33a7fd290f8def726e6e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(thaJeztah); change this to a netip.Addr ?? \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":"internal/inspect/ps.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf24d2b491650fd1c56d0e2ffde856874c6b2ebc71c1bd00eb43c1c8795494d1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // (TODO: jhrotko) This probably should be fixed in compose-go \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":"internal/confighash/hash.go"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19242e9e00b8d22bbfb856729d03a2d140671eb2855377605e33b225c504ca9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(milas): there\u0027s no validation that the platform the builder will pick is actually one \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":"cmd/compose/options.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d65cf4cab34bae9daa9ec80af06bb4c172d9019ef50549631eb87e0307d3337"}},{"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. ADRs are expected here because \u0060relay/main.go\u0060 makes this repository a deployable product (line 29)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"relay/main.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef26d731941ee1eb5ff7b942d10416706118a28412e116feeaa9ac4d2faf3d25"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 2 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (37956 LoC, 214 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":"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":"f47e7d70ebb8dde2579f56a0d2057e0a2bb14fba0e6d5da29dfbdb75492b3ed2"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"37c300a257b566e5a369834a82f02136d3a4a6b3fd93f00cda8392ca7119dc70"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d98fdd5037595e0e3c419e826becb4a3dfa2f9ea1228f4220a5ed872a44440b"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c548fb83cb27b67fbd64abd89be3390272b380a1c7ecfe51cc076d71a3c6a61d"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b0436d92dfbd844f2802ade2458e1335c8ae20f9b0f71eae47fa35cae1eaac88"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5c5610e98ca3a9c162fecae187395e3685950a19718da54f36a7b84bdc0b1d0f"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8fdcb1e7556d49ccb9ffcb959fbc4562f394ff87807df9dcb2d18c7053c175af"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"47a2ed628231b534db82697418c8d6978aaa18a1ce57d6945a9fea4b6353f5b7"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a72609305c3c0814b1d9464eef6641bd7d67afa43398f8909f458d47250356f7"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f52b4e70563466dc4372125a661429f35f2eb467c07da6b3ff374daf20f65a1"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-704","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a8ed67777e573c044e8b68cc46ad91940e756cb2da9b8e9d207503ac165b281"},"taxa":[{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f678739ef69f4b2c890a51c598565ebfbb4cbcfb9989339c1306378395373a5"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0cfbaa1ad95d16b9dea5aa39bd9b9edbefa22e7564d2bfac73cd50da431974fd"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d6780f7a89f224ba2c207baf5849f78846aee332c70c1b233d171106f094e3d"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d6f018d01e4fb7ca327ec0525092c054d2b3169e55773d817656fe8e0b3ee5e"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4d81fbd067f47889c321418e645ae1bf3fb46abcf21bf19f43d77c0ea87638e7"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4dc9430fc13baccba7770b7fc8323afb57dfeb98cd305516000ed535554e559d"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e24070a6943fa198c580399ab5c288199631525f335a30709c1d556f4a4c6bfb"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"53d2104c36d0eed1cc84a386832ecbcdf048f6a772dbabd4312b9392b95b4474"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-476","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c3c6ae065b7caf5bbd12eb0afc10f82075b64c7f573997d120b96c3e893fc5f"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"ea44013abc6ea445ddd8ee912c42d8b1bb8a5862c60722a3e575ee0909504899"},"properties":{"dependency":{"package":"github.com/docker/distribution","version":"2.8.3\u002Bincompatible","advisory":"[GHSA redacted]","aliases":["BIT-distribution-2026-85747","[CVE redacted]","GO-2026-6778"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"346ae1f77b19bb950c6e55683a42ad30dc7f365e06a9ca00167114e610203713"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.60.0","advisory":"GO-2026-6860","aliases":["[CVE redacted]","[CVE redacted]","GO-2026-6866"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe34912cc1022f16defa9aa7f34d659541f4568862a4f10eaff5ff953cbf17be"},"properties":{"dependency":{"package":"github.com/klauspost/compress","version":"1.20.0","advisory":"GO-2026-6865","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c9c7154a9d80981a2f1da0fd0aa2e12a4e104a4411624a7aabc5ce2dd45d848"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.57.0","advisory":"GO-2026-5932","reachability":{"kind":"not-imported"}}}},{"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":"b3d72354492fc97c51df57c0ef6728e86fddf70b9847ca592ba6f8e0902704af"},"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":"89cf22159a57624ef1050b86691aa7aa5efbd40f583e245e0d66fbeaa07390db"},"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":"bb23d262e21f8fc897c187d0ee070d387b87816a8c8d30d870616deaf3928d0f"},"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":"cee55f838a96549bc3f5084838f9b092b8be38c423eae2c866a2602b1cf6ade9"},"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":"348bf6cf963c5dc40c304c2b9b732aa11e8cbac594c11b4ed5fccf9025cc6b61"},"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":"2ac5f23266a169825168d114e5c45651b346ef224985698231783160aa5007f0"}},{"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":"310b13b1ea6ac45731ff6d7062acae7a5ed2baf79207dcb39020e5233b825f0f"}},{"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":"55f566eba912c0c11bfe86d66d9b290980a142599cb5e4ec611b2bce6dab7585"}},{"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":"8b952bb10c062fcadc9d2f4a0f8841506681d045aad6c2fc2287739aa81e8320"}},{"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":"46d929b8f41f4c4360d255f0e2a0159e913da89171e014f5fa6dc436f9e84859"},"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":"cb058b87b86cc9353456119abe8f0274bd161dc49291aa5fcdc42eb7f5307d94"},"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":"15428138521133d5798d01356071aad850245a471d700eaf9a8f616d33ee4b6b"},"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":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 7 of 139 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; 139 of the 226 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: internal/tracing/docker_context.go, internal/tracing/wrap.go, internal/paths/paths.go, pkg/watch/ephemeral.go, cmd/compose/attach.go, cmd/compose/volumes.go, cmd/compatibility/convert.go. 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":"internal/tracing/docker_context.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8da67b5ea5cc2f3d16262fc6091be2f84d31c6be44422dede8b8f03e62d3ae"}},{"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":"internal/tracing/wrap.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d104eb6e6ad363e70bb70b6abb18a2c9c4cdf9c081c6a88eeb948a276589a25a"}},{"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":"internal/paths/paths.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec668ebc71ce382d7c39e2cdc04c8ec686c2da62de806476bd6363b8606328f5"}},{"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":"pkg/watch/ephemeral.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed15a20cd78ae63db8603e5d38db9f14fac88aae2672784f7c3367503dc2fb2"}},{"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":"cmd/compose/attach.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3940e5da4f4da32f97afd6a054f4a8fc5552a9ac3f37d9e29e737fed9fb2ff"}},{"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":"cmd/compose/volumes.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b319fc5bfa18f295142fbc256c68cfb784d7c84a0a0af0dfddac8683e90aed"}},{"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":"cmd/compatibility/convert.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3a385efd6de554f79410d3354797c12d83e7f58a21d0e6c6b98270cd208b58"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: pull.go \u2194 push.go: \u0060pkg/compose/pull.go\u0060 and \u0060pkg/compose/push.go\u0060 change together 62% of the time (21 of the 34 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). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 21 shared commits counted here, the most recent 3 are \u00600b5eb38f\u0060 refactor(compose): share the pull and push progress stream decoding; \u0060fd4dae83\u0060 feat(registry): use the Docker Desktop Hub session for Docker Hub cre\u2026; \u0060f9828dfa\u0060 modernize some code \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/pull.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec352d2ef30d9ec7431fc2bdb07379f3bdf40943dd68c1af088c7b29565bab0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: pause.go \u2194 stop.go: \u0060pkg/compose/pause.go\u0060 and \u0060pkg/compose/stop.go\u0060 change together 62% of the time (8 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). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060b0e29518\u0060 refactor(compose): share the pause/unpause and project-resolution pre\u2026; \u0060a14abb90\u0060 cli: option to write status messages on stdout (#10549); \u006003f4c0e6\u0060 progress: make title configurable (#10507) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/pause.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1675910956217398935471559561439c2bda5814a10e245c5ea104f08b88214e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: pause.go \u2194 restart.go: \u0060pkg/compose/pause.go\u0060 and \u0060pkg/compose/restart.go\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). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; 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 \u0060b0e29518\u0060 refactor(compose): share the pause/unpause and project-resolution pre\u2026; \u0060a14abb90\u0060 cli: option to write status messages on stdout (#10549); \u006003f4c0e6\u0060 progress: make title configurable (#10507) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/pause.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d9a3b1c9711082f67d88edb9fd8bc56039b9ef02256b7547ca1ef7414238f5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: restart.go \u2194 stop.go: \u0060cmd/compose/restart.go\u0060 and \u0060cmd/compose/stop.go\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). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; 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 \u006007832c4d\u0060 refactor: fix lint issues from cleanup changes; \u0060616adea1\u0060 refactor(cmd): extract withBackend helper to remove CLI boilerplate; \u006068bd0eb5\u0060 cli: fix timeout behavior on up / restart / stop (#10672) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/restart.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aecb3a3ae04b81a5a03de0aed0e790858a8dc92ef4076b3bdf17c77599f17c11"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: pause.go \u2192 restart.go, start.go, stop.go: \u0060cmd/compose/pause.go\u0060 changes together with 3 other files \u2014 \u0060cmd/compose/restart.go\u0060, \u0060cmd/compose/start.go\u0060, \u0060cmd/compose/stop.go\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 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 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/pause.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac9e13e28a966e7fb6362bfb05af88c1fba129cd4a952ebda5f47fb979d7cd0"}},{"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":"1093e3837e0c6ca0f5396e836e385b1893f3beab4a508c59cdf89be99a896f32"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"P3","level":"warning","message":{"text":"SAST runs, but gates no merge: \u0060scorecards.yml\u0060 run(s) a static-analysis scan, but no workflow that runs one is triggered by a pull request (or a merge queue, or an unfiltered push) \u2014 the scan fires on a schedule or a manual dispatch only. A vulnerable change therefore merges clean and is reported on the next scheduled run, by which time it is on the default branch and the only remedy is a follow-up fix. Add the pull-request trigger to the workflow that runs the scan so the finding arrives before the merge rather than after it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"73211886541038635ced0208da9cedd27ed1caa9132fd6aa5e44d2976a4de6d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060service.Provider == nil \u0026\u0026 service.Image == \u0022\u0022 \u0026\u0026 service.Build == nil\u0060 appears character-identically in 2 files \u2014 pkg/api/api.go, pkg/compose/build.go. 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":"pkg/api/api.go"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2a4fe98ec71047f08c1c9cc1e906785086fb9274be0508e7e026cd5c1bb830"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/remote/oci.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccd06a456b039e43d8ea3d9f4284df1c0c94f06df63f1d743662f9a2cd88ac7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/build_bake.go"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"2122f34357a3069f6e55a767308c13cba2e2e4c1a0648839d3099963f4845d7f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/pre_start.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79396095993729630ddb9338a8f866d27e554753bc691ba394ceaf612c7f639"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/provider_images.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a939c2a1a5648fecd4b11303479dd9643157b194605a18c74aefc0fb74325b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/provider_images.go"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec88549fdbac614356be52f10fbb11b503cace2d52c66aac9378fee805296d03"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/provider_images.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6255855bf783af245fc86389ea5bed430b09ef1604c872b52be72b2cfc960dd0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/compose/pull.go"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"e687cfa12d8399e1545bb99f4c81fe273ab3bf67ca87aa5da0dac2aaf3efe2b2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tracing/attributes.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d241ea94d7ab6a368cbec1df6fab205229f6f5d5a250cf89503dbf35e9fbc73"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/tracing/attributes.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"901f44da12f2db3b8a7558a1746f4b3d35f113db60b2fda889eb2cf84154fbdc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := os.Stat(service.Extends.File); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/publish/publish.go"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ff3d950412191de47a64c90b03fd95fcf183f767b0946b53a154a56f9e320b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/projectloader/generate.go"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"701f91f03aa964241fb3ce7bfa61d823112e5483e59aea23a1341fbacfe09817"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pidfile/pidfile.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"20dc40b7f05c80f4753a52d068162d7c2124ded63c792a19124dcba16fcf97be"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/pidfile/pidfile_windows.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1949dc7e3eaafb2a8f67f82ff81d1102b004b055916282505d05dc6778fcda7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/paths/paths.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"542437787f49b14d3d4f89fe748039273c1c574b182d77ae748c16d1c5e62fe4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/paths/paths.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"182f0bf50c54a543b015a128c41870870d10bce7128ebffaa71fe129e1f3cd80"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/desktop/client.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2410b6393a8b6f0e913bdb1d7579aae4732918ca0a95d09d8541d061d85c8259"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/desktop/client.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"8daf0e85e8efe42e6d739f2d4ca38cc8bd26b7ac1cc0ba630f5269bafc9edb66"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := dockerCli.Initialize(cliflags.NewClientOptions()); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/desktop/client.go"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"c748276df910c084bea75b02f5a15e7193420bd6f24e9bc7c7a036465409b53a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := os.Stat(proxyPath); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/desktop/proxy.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbaad77c3391d40f6947663dc8d87493194c34891868bf45ac6cc1272b83b21"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/completion.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8739e29b0811b178741a4e65851bd3d0a611a85bf928064e386b0bc67ed0f3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/completion.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"db94c387e7597a5dabb8b17d546931358619b133f0f80ca79098ccdfe9f0dd2e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/completion.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c333d0e81d6b1eb967487bc3fbd08648091835e626dfbac2010ba76101ff72fe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/completion.go"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"050ed0d54856970446432270383839b29855991c91682950af93b574df3e2de0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/hooks.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d78a6718bbc5e3bd00d24b81c6d0b578d829eba9575e302b21b55218c1370b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/hooks.go"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"489aefe48855acba58d04670efe958c823c21a60e0df1d8f23313965d6714357"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/hooks.go"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d246bac7889d74d1ac2d0191e024769a79db23beb062a43f751502d822a355a9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal([]byte(args[0]), \u0026hookData); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/hooks.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"b272d605e9e53532120c0b58c6dbb1ac76c524de86c8ce8469e65b2b9bf19142"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/list.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"847e5c85d6d54d73b4ca1fcc3407497759fc1cf2cec67a5e250229e11ac7e081"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/run.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"50eacf347375c375a104aeea2c06d720a7a82342293d38da01bf451c3a845411"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/run.go"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b4f88845a12fdbf8e2538bec56165b3f6e9040ec79fbab39fa1fb3a82d0201"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/run.go"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae1656fe9fe4ceddb1164d429a7b70e21f57d8c134e204a0cf6f1c227cad98c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060defaultResolveAppID\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/compose/hooks.go"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41bbc7b6ea19187bfe94b252aa6ee1e2b21337db5a550770e792d3cdd3a54fb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060localExtendsParent\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/publish/publish.go"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c2443763dc40aecbacc053f29a423b1baf793c645857025c45e5ab48c68acd"}}],"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-248","guid":"64b58946-d244-a556-a48a-f82fcd4f4186","name":"Uncaught Exception","shortDescription":{"text":"Uncaught Exception"},"helpUri":"https://cwe.mitre.org/data/definitions/248.html"},{"id":"CWE-252","guid":"78915dc5-e486-f858-bc3c-aa570ad9010d","name":"Unchecked Return Value","shortDescription":{"text":"Unchecked Return Value"},"helpUri":"https://cwe.mitre.org/data/definitions/252.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-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"Reversible One-Way Hash","shortDescription":{"text":"Reversible One-Way Hash"},"helpUri":"https://cwe.mitre.org/data/definitions/328.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-391","guid":"d9ef5687-8d79-9b51-b509-b83411fbcdc3","name":"Unchecked Error Condition","shortDescription":{"text":"Unchecked Error Condition"},"helpUri":"https://cwe.mitre.org/data/definitions/391.html"},{"id":"CWE-476","guid":"df404eaf-4a12-445c-9306-241412f65220","name":"NULL Pointer Dereference","shortDescription":{"text":"NULL Pointer Dereference"},"helpUri":"https://cwe.mitre.org/data/definitions/476.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-703","guid":"fa730aa9-95e4-845e-83fa-8169f2cf339e","name":"Improper Check or Handling of Exceptional Conditions","shortDescription":{"text":"Improper Check or Handling of Exceptional Conditions"},"helpUri":"https://cwe.mitre.org/data/definitions/703.html"},{"id":"CWE-704","guid":"50bd74b4-a921-5159-8671-99fd7e78c810","name":"CWE-704","shortDescription":{"text":"CWE-704"},"helpUri":"https://cwe.mitre.org/data/definitions/704.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":"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":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_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/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"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-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"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"}]}],"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":38,"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."]}]}