{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"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":"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":"D39","name":"IL Efficiency","shortDescription":{"text":"IL Efficiency"},"helpUri":"https://codehealth.canine.dev/dimensions/D39"},{"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":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"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":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXR1","name":"Runtime accessibility","shortDescription":{"text":"Runtime accessibility"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"AXS1","name":"Runtime exposed surface","shortDescription":{"text":"Runtime exposed surface"},"helpUri":"https://codehealth.canine.dev/dimensions/AXS1"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"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":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"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":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"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":"FSharpBinaryFormat.buildCodecFor (cyclomatic 71): FSharpBinaryFormat.buildCodecFor has cyclomatic complexity 71 (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":"src/Orleans.FSharp/FSharpBinaryCodec.fs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"128dae105d7903b55f8998950d388b86ccdd4fad65d50462d99b47f6d7ab095e"}},{"ruleId":"D1","level":"warning","message":{"text":"DefinitionDraft.run (cyclomatic 56): DefinitionDraft.run has cyclomatic complexity 56 (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":"src/Orleans.FSharp/FunctionalDefinition.fs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b119db3922e5ebd40e172ff1dc59cb44898fa52c45fc0ef1fc47ea8a49a027"}},{"ruleId":"D1","level":"warning","message":{"text":"AstWalker.collectAsyncRanges (cyclomatic 50): AstWalker.collectAsyncRanges has cyclomatic complexity 50 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Analyzers/AsyncUsageAnalyzer.fs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfa97f309991b518c880c17399969b47bd495d84165c2d36d253066719cb472"}},{"ruleId":"D1","level":"warning","message":{"text":"SiloConfigModule.applyToSiloBuilder (cyclomatic 46): SiloConfigModule.applyToSiloBuilder has cyclomatic complexity 46 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"9219bfcdefe8b15ab46da263f3de9f682400b1fc61160a186b7f7efefb4b5483"}},{"ruleId":"D1","level":"warning","message":{"text":"ContractDraft.run (cyclomatic 43): ContractDraft.run has cyclomatic complexity 43 (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":"src/Orleans.FSharp/FunctionalContract.fs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"550dd0b7a053d58917551df20d8d7b3a4285799d6724e8058114ffbf1037e64f"}},{"ruleId":"D1","level":"warning","message":{"text":"JournaledDefinitionDraft.run (cyclomatic 32): JournaledDefinitionDraft.run has cyclomatic complexity 32 (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":"src/Orleans.FSharp/FunctionalJournaledDefinition.fs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc09df59681e21a14c46ad662bfb9ccafee396264a3c697528778afa72001d9"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionalGrainActivator\u00601.Orleans.Runtime.IGrainActivator.CreateInstance (cyclomatic 29): FunctionalGrainActivator\u00601.Orleans.Runtime.IGrainActivator.CreateInstance has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Runtime/FunctionalActivation.fs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3cbd44c2eb5c082350e44c7a4cad7cd13522a790f4a2c4090fb31009859e332"}},{"ruleId":"D1","level":"warning","message":{"text":"UniversalGrainHandlerRegistry.Register (cyclomatic 26): UniversalGrainHandlerRegistry.Register has cyclomatic complexity 26 (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":"src/Orleans.FSharp.Runtime/GrainDiscovery.fs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"72af94eeebb36246c7902f7337b50a458cb7be5104dca8235a4ff6ae4e132a1e"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientConfigModule.applyToBuilder (cyclomatic 22): ClientConfigModule.applyToBuilder has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Runtime/ClientConfigBuilder.fs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"412bbdbea4096bb80b277f0c93f708c36dc650db15359ca78e3028fc34c808d1"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionalJournaledHosted.create (cyclomatic 20): FunctionalJournaledHosted.create has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp/FunctionalHosted.fs"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46e04d22425c8f4e16ce0ad927e2404d2831bea7de0092fa3338e02841fc218"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionalGrainPropertiesProvider.Orleans.Metadata.IGrainPropertiesProvider.Populate (cyclomatic 20): FunctionalGrainPropertiesProvider.Orleans.Metadata.IGrainPropertiesProvider.Populate has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Runtime/FunctionalManifest.fs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c620d2054ba79f424a50945c93ab7c04b69e826f4596a8a3da8e7e679deda34a"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionalDispatch.dispatch (cyclomatic 17): FunctionalDispatch.dispatch 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":"src/Orleans.FSharp.Runtime/FunctionalDispatch.fs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"c073cf891b79ee8b25103f3e67f19a9fa81df424096256e677a493fa30a1cc74"}},{"ruleId":"D1","level":"warning","message":{"text":"Program.runStressTest (cyclomatic 17): Program.runStressTest 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":"testbed/src/Client/Program.fs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7992c9439e8f918421abbd725ad198cbb02e36988209c123e4a26d8e23691f"}},{"ruleId":"D1","level":"warning","message":{"text":"ApiShapeModule.build (cyclomatic 16): ApiShapeModule.build 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":"src/Orleans.FSharp/FunctionalApiShape.fs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52c2540b9a4d03666d7d2bd84e6bf77f33444f4feec43417eb51c1a8eb3a98f"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionalDispatch.admit (cyclomatic 16): FunctionalDispatch.admit 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":"src/Orleans.FSharp.Runtime/FunctionalDispatch.fs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d748556044c0e7a0e38a3b47d1b074b00e3aa92b076199d7f92702a756bfdbf0"}},{"ruleId":"D2","level":"warning","message":{"text":"FSharpBinaryFormat.buildCodecFor (cognitive 90): FSharpBinaryFormat.buildCodecFor has cognitive complexity 90 (threshold 15). Drivers by points: if/else 23 (44 pts), loops 15 (33 pts), match/switch 3 (7 pts), boolean chains 6 (nesting depth added 43). 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":"src/Orleans.FSharp/FSharpBinaryCodec.fs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"07290c9276efbd304e73a6e48e92260ebbccad14f2ac5d9677a994e3657f58f5"}},{"ruleId":"D2","level":"warning","message":{"text":"DefinitionDraft.run (cognitive 74): DefinitionDraft.run has cognitive complexity 74 (threshold 15). Drivers by points: if/else 23 (42 pts), match/switch 12 (20 pts), loops 7, boolean chains 5 (nesting depth added 27). 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":"src/Orleans.FSharp/FunctionalDefinition.fs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a098fe39147a26e0d82a817623510e8dfefbf18fcf1e6ada6e4cdf35122358"}},{"ruleId":"D2","level":"warning","message":{"text":"Discovery.discoverEventSourcedGrains (cognitive 67): Discovery.discoverEventSourcedGrains has cognitive complexity 67 (threshold 15). Drivers by points: match/switch 6 (34 pts), if/else 10 (30 pts), loops 2 (3 pts) (nesting depth added 49). 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":"src/Orleans.FSharp.Generator/Discovery.fs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6982817b70d62956c1776982b10c6a3583a576125cc99461f9853a65a89cab"}},{"ruleId":"D2","level":"warning","message":{"text":"ContractDraft.run (cognitive 54): ContractDraft.run has cognitive complexity 54 (threshold 15). Drivers by points: if/else 28 (37 pts), match/switch 6 (9 pts), boolean chains 7, loops 1 (nesting depth added 12). 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":"src/Orleans.FSharp/FunctionalContract.fs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf13b8a91f2ca1372e42ccb1fcffb88d6ae8898f90b0c4a18dcfa9068c9c2cdb"}},{"ruleId":"D2","level":"warning","message":{"text":"UniversalGrainHandlerRegistry.Register (cognitive 42): UniversalGrainHandlerRegistry.Register has cognitive complexity 42 (threshold 15). Drivers by points: if/else 19 (31 pts), match/switch 4 (5 pts), loops 3 (4 pts), error handling 1 (2 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":"src/Orleans.FSharp.Runtime/GrainDiscovery.fs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c6f5a9273afa0e3485eb1aa2fd818532ae806cac7078bb1d0f775865f1cf76"}},{"ruleId":"D2","level":"warning","message":{"text":"JournaledDefinitionDraft.run (cognitive 33): JournaledDefinitionDraft.run has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (24 pts), match/switch 6, loops 3 (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":"src/Orleans.FSharp/FunctionalJournaledDefinition.fs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"c119be37784c4d26faaec63d4d63ca73ec22a10c6daf03bf2ea0dc831dccd9fc"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionalGrainActivator\u00601.Orleans.Runtime.IGrainActivator.CreateInstance (cognitive 33): FunctionalGrainActivator\u00601.Orleans.Runtime.IGrainActivator.CreateInstance has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (20 pts), match/switch 7 (9 pts), loops 2 (3 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":"src/Orleans.FSharp.Runtime/FunctionalActivation.fs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd643b4343c6355e8e0ae99fc687be2506435fcc070a2e08d13bdca8b866a63"}},{"ruleId":"D2","level":"warning","message":{"text":"AstWalker.collectAsyncRanges (cognitive 32): AstWalker.collectAsyncRanges has cognitive complexity 32 (threshold 15). Drivers by points: loops 13 (25 pts), match/switch 5, if/else 1 (2 pts) (nesting depth added 13). 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":"src/Orleans.FSharp.Analyzers/AsyncUsageAnalyzer.fs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d44369d6063ecd259c50db2b2b88232004fae5f71e0c3dc342a20c40943814"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionalJournalHost.ApplyUpdatesToStorage (cognitive 27): FunctionalJournalHost.ApplyUpdatesToStorage has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 3 (8 pts), match/switch 2 (3 pts), boolean chains 2, loops 1 (2 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":"src/Orleans.FSharp.Runtime/FunctionalJournal.fs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d4e3141cc6650422dd9ae45b90891dd5f733446abe7732d2b57fd623ad5a8e"}},{"ruleId":"D2","level":"warning","message":{"text":"FSharpBinaryFormat.resolveWireType (cognitive 26): FSharpBinaryFormat.resolveWireType has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (16 pts), match/switch 4 (10 pts) (nesting depth added 17). 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":"src/Orleans.FSharp/FSharpBinaryCodec.fs"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"f398eeaa4e8b59304f97dddeba9f197468e5683c9c7157bbd657a0d2fa796509"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.runStressTest (cognitive 24): Program.runStressTest has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (14 pts), loops 8 (9 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, 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":"testbed/src/Client/Program.fs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"61620adec889368f344c4bcda1e10fd3178fc2681c7ea489f29a8b1e6b3d7701"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionalDispatch.dispatch (cognitive 23): FunctionalDispatch.dispatch has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 4, boolean chains 3, error handling 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":"src/Orleans.FSharp.Runtime/FunctionalDispatch.fs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"3747cb1bc600dfba5e8bfe352c2269009f543e7b9dee47c7d8e2881b6ba80850"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionalJournalHost.ReadStateFromStorage (cognitive 23): FunctionalJournalHost.ReadStateFromStorage has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (9 pts), error handling 3 (7 pts), match/switch 3 (5 pts), loops 1 (2 pts) (nesting depth added 12). 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":"src/Orleans.FSharp.Runtime/FunctionalJournal.fs"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"effa25597435b6dd094387fbf8956315a9898505652fffd5a1d0537ee8ac8cd3"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.main (cognitive 22): Program.main has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 1 (5 pts), error handling 1 (3 pts), match/switch 2 (nesting depth added 12). 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":"src/Orleans.FSharp.Generator/Program.fs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a08edc4716eef0600afdf5f10f8e93359865d074703e66f6a738b29e10b82e"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionalGrainPropertiesProvider.Orleans.Metadata.IGrainPropertiesProvider.Populate (cognitive 20): FunctionalGrainPropertiesProvider.Orleans.Metadata.IGrainPropertiesProvider.Populate has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 4 (8 pts), if/else 3 (6 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 10). 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":"src/Orleans.FSharp.Runtime/FunctionalManifest.fs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b3cbf878c3c66799a47e0dfe3ceca4dbdcbf06d6863f3e7e3f2c1613b6d8e0"}},{"ruleId":"D2","level":"warning","message":{"text":"FacadePlanning.build (cognitive 18): FacadePlanning.build has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (7 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":"src/Orleans.FSharp/FunctionalInterop.fs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"edcd0ced9ecfb377ec7b52ca8ff8e8aa5dd5f02456b7b9b9d86d7f1c4acd8887"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionalDispatch.admit (cognitive 18): FunctionalDispatch.admit has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 1, match/switch 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, 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":"src/Orleans.FSharp.Runtime/FunctionalDispatch.fs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"091fe113c40220822bddc1846e1e57aeb604acb92fb66e011e30d50245b830f9"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionalJournalHost.ShouldSnapshot (cognitive 18): FunctionalJournalHost.ShouldSnapshot has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), error handling 2 (6 pts), match/switch 2 (4 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":"src/Orleans.FSharp.Runtime/FunctionalJournal.fs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"69eb7fbacc092fb29bbd4e30ba1b7db8c57c5646127240bfbe1c640669d9e878"}},{"ruleId":"D2","level":"warning","message":{"text":"ApiShapeModule.build (cognitive 17): ApiShapeModule.build has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 1, match/switch 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":"src/Orleans.FSharp/FunctionalApiShape.fs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6729c2ff75cf36fa86ba2a8a07de4de4ddddde4889c083e952c0c85cde59c2"}},{"ruleId":"D2","level":"warning","message":{"text":"SiloConfigModule.applyToSiloBuilder (cognitive 17): SiloConfigModule.applyToSiloBuilder has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 10, if/else 4, boolean chains 3. 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":"src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"836f7dfc6d74bb463c8bd9ef4e01d71c42bdde91846e0eca5738b4c495a4d172"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionalBinding.bind (cognitive 16): FunctionalBinding.bind has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), match/switch 3 (6 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp/FunctionalBinding.fs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cdfa2885e369051436a8b71f4e6f643adf8ed472e22d9de3c2ff900b029423a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Orleans.FSharp/FSharpBinaryCodec.fs: FileTooLong \u2014 1020 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 520 over it, 2.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":"src/Orleans.FSharp/FSharpBinaryCodec.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ce864d393a942dca9f39233dbff1679636f4e33d4a3f777fd780e2e7584df2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Orleans.FSharp/FunctionalHosted.fs: FileTooLong \u2014 785 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 285 over it, 1.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp/FunctionalHosted.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2780ba74fb23981b5ff7e524859aae33db3409380463185c616ec8f0e98f0f31"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FunctionalJournalHost: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\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":"src/Orleans.FSharp.Runtime/FunctionalJournal.fs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3463263ef4e03487605812ca227950d68c8516cd6189ab0b1c6f7390114e92"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SiloConfigBuilder: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\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":"src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"2596a494a07f1ee51fd79617398b27c69e0c5424f1f2099371130d83ebd86b09"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Orleans.FSharp/FunctionalDefinition.fs: FileTooLong \u2014 736 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 236 over it, 1.47\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":"src/Orleans.FSharp/FunctionalDefinition.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"519fd8023fe3ecb55034f6113d5cfbe8503decb19a8ecbeb16e95c7ef9d0bea8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Orleans.FSharp/FunctionalJournaledDefinition.fs: FileTooLong \u2014 667 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 167 over it, 1.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp/FunctionalJournaledDefinition.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ccb0e55ef8d246c4f1f902249bf2a8c3f427f2bef58e9cc66d68f595e46298"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Orleans.FSharp.Runtime/SiloConfigBuilder.fs: FileTooLong \u2014 615 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 115 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed838bdd056d0dfad4f7d6cc5bec104fff0d128bd72a615b5bccfe67d6894c1d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Orleans.FSharp.Runtime/FunctionalJournal.fs: FileTooLong \u2014 583 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 83 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Runtime/FunctionalJournal.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd10e5e94a054c3e11c1b14b96bf39ac5f38fafac345aa82d07926dbdb3b2e77"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Orleans.FSharp/FunctionalContract.fs: FileTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 21 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":"src/Orleans.FSharp/FunctionalContract.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ba7ee1aa5a7b8165da5a5e92344a3bb2a3aeefd2d766f5fab1b7d9982be585"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Orleans.FSharp.Runtime/FunctionalDispatch.fs: 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":"src/Orleans.FSharp.Runtime/FunctionalDispatch.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"308692644852c45fafcd589060264ae686378520d70262d84709031846bf3d0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Orleans.FSharp/GrainBuilder.fs: FileTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 11 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp/GrainBuilder.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b37d96f168f5e44c893496c0edf688e749e6328e007c0765f4d2e4fb742ffc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): src/Orleans.FSharp.Abstractions/FunctionalObserver.cs:319-382 | src/Orleans.FSharp.Abstractions/FunctionalObserver.cs:444-511 | src/Orleans.FSharp.Abstractions/FunctionalTransportSerialization.cs:182-255 | src/Orleans.FSharp.Abstractions/FunctionalTransportSerialization.cs:297-348 | src/Orleans.FSharp.Abstractions/FunctionalTransportSerialization.cs:402-451 | src/Orleans.FSharp.Abstractions/FunctionalTransportSerialization.cs:521-573 | src/Orleans.FSharp.Abstractions/FunctionalTransportSerialization.cs:642-690 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Abstractions/FunctionalObserver.cs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"b561cb18d94e3eb5c26498d514ba3f922048bb95c6c9ffa689528266582ec496"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/Orleans.FSharp.Runtime/ClientConfigBuilder.fs:1-443 | src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs:1-1351 | src/Orleans.FSharp/FSharpSerialization.fs:1-74 | src/Orleans.FSharp/GrainDirectory.fs:1-102 | src/Orleans.FSharp/Kubernetes.fs:1-92 | src/Orleans.FSharp/StreamProviders.fs:1-210 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Runtime/ClientConfigBuilder.fs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf909cbdea49a4b25dd706ab1e792d5473e815d6b89b6be82b5333ca6af2745"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): examples/hello-world/src/Grains/CounterGrainFunctional.fs:8-47 | src/Orleans.FSharp.Sample/CounterGrainFunctional.fs:8-63 | templates/orleans-fsharp/src/MyApp.Grains/CounterGrain.fs:1-60 | testbed/src/Shared/CounterContract.fs:8-30 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/hello-world/src/Grains/CounterGrainFunctional.fs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3283289c04bb14940b9f6b99738951a0ee6e3023a0ceefac8fa8d27a310f84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201341 lines \u00D7 3): src/Orleans.FSharp.Abstractions/FunctionalTransportSerialization.cs:411-449 | src/Orleans.FSharp.Abstractions/FunctionalTransportSerialization.cs:531-571 | src/Orleans.FSharp.Abstractions/FunctionalTransportSerialization.cs:652-688 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Orleans.FSharp.Abstractions/FunctionalTransportSerialization.cs:531\u0060 calls \u0060Deserialize\u0060 and \u0060src/Orleans.FSharp.Abstractions/FunctionalTransportSerialization.cs:411\u0060 does not \u2014 after which the two agree again for 5 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Abstractions/FunctionalTransportSerialization.cs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed682ada738180c89fe2b44542ab432015d23b2b48700fc2ad01ace5d00f70a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 3): src/Orleans.FSharp.Abstractions/IFSharpGrainInterfaces.cs:295-327 | src/Orleans.FSharp.Abstractions/IFSharpGrainInterfaces.cs:350-382 | src/Orleans.FSharp.Abstractions/IFSharpGrainInterfaces.cs:556-588 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.FSharp.Abstractions/IFSharpGrainInterfaces.cs:295\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":"src/Orleans.FSharp.Abstractions/IFSharpGrainInterfaces.cs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc27d56e662baccfb4f584469bed2b35f922239655cf4c20e8d51a6fd073398"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/Orleans.FSharp/FunctionalDefinition.fs:673-703 | src/Orleans.FSharp/FunctionalJournaledDefinition.fs:334-364 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp/FunctionalDefinition.fs"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"41882ce3cdd60e75e924a95a9a9ebbc5da3057c61af3beb761bbc26cadaa4711"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201328 lines \u00D7 2): src/Orleans.FSharp/FunctionalDefinition.fs:1321-1348 | src/Orleans.FSharp/FunctionalJournaledDefinition.fs:974-992 \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 \u0060src/Orleans.FSharp/FunctionalDefinition.fs:1321\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":"src/Orleans.FSharp/FunctionalDefinition.fs"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f2f9913f51c2bf783d981b8b47908787cb3004669bbac1cc2d23cd8a012fca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201327 lines \u00D7 3): src/Orleans.FSharp/FSharpSerialization.fs:42-68 | src/Orleans.FSharp/GrainDirectory.fs:48-67 | src/Orleans.FSharp/Kubernetes.fs:36-59 \u2014 before extracting anything, compare \u0060src/Orleans.FSharp/FSharpSerialization.fs\u0060 and \u0060src/Orleans.FSharp/Kubernetes.fs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.FSharp/FSharpSerialization.fs:42\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp/FSharpSerialization.fs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"16921a675a156618094ab160cf21fe405bbe4ec94de8f777aed95e1ebb736baa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201326 lines \u00D7 2): src/Orleans.FSharp/FunctionalHosted.fs:828-853 | src/Orleans.FSharp/FunctionalHosted.fs:1027-1048 \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 \u0060src/Orleans.FSharp/FunctionalHosted.fs:828\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp/FunctionalHosted.fs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ce0cfe0a2cdeec9afb8cd9cd88ca4ec4f2c31693d5b3d74f162b547f7355c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): src/Orleans.FSharp.Abstractions/FunctionalObserver.cs:338-361 | src/Orleans.FSharp.Abstractions/FunctionalObserver.cs:459-482 | src/Orleans.FSharp.Abstractions/FunctionalTransportSerialization.cs:202-225 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.FSharp.Abstractions/FunctionalObserver.cs:338\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. 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":"src/Orleans.FSharp.Abstractions/FunctionalObserver.cs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d8df148fa3549d676b213634378c4a75937771ed4e9ec8b5d26aa6a098c3c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): src/Orleans.FSharp.Abstractions/FunctionalRequestBody.cs:244-266 | src/Orleans.FSharp.Abstractions/FunctionalRequestBody.cs:276-300 \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 \u0060src/Orleans.FSharp.Abstractions/FunctionalRequestBody.cs:244\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":"src/Orleans.FSharp.Abstractions/FunctionalRequestBody.cs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6361fcfd9e02358a921864480799de8e38b844d3bb186357090d1f4567611ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): src/Orleans.FSharp/GrainBuilder.fs:1058-1080 | src/Orleans.FSharp/GrainBuilder.fs:1082-1106 \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":"src/Orleans.FSharp/GrainBuilder.fs"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"0095a0560fa0f0454d3c2f4c2a7446ddb249a907122021b67eaaf31a0c93d1e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201324 lines \u00D7 2): src/Orleans.FSharp/GrainBuilder.fs:721-741 | src/Orleans.FSharp/GrainBuilder.fs:881-904 \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":"src/Orleans.FSharp/GrainBuilder.fs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"084de8a6b83aa4fd6afb54911288fff1cfaa97d4d12076b4828fa93d70028ee9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): src/Orleans.FSharp/GrainBuilder.fs:1010-1031 | src/Orleans.FSharp/GrainBuilder.fs:1033-1056 \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":"src/Orleans.FSharp/GrainBuilder.fs"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"0977d33306c57b67b5b0dbdf64e3fd09b80fd04336f4e33422af861bd856144f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): src/Orleans.FSharp/FunctionalDefinition.fs:280-302 | src/Orleans.FSharp/FunctionalJournaledDefinition.fs:134-155 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp/FunctionalDefinition.fs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"39321e8beb3dabe3c022831f01e63dc8a90e2fd03fd6fd5dd7debb4a772d53ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/Orleans.FSharp/GrainBuilder.fs:697-719 | src/Orleans.FSharp/GrainBuilder.fs:857-879 \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":"src/Orleans.FSharp/GrainBuilder.fs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d3e8f8b0dcb8d81d46b9fe376c08e5a08ed2d0774f719a987a6609052c904d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 7): src/Orleans.FSharp.Abstractions/FunctionalObserver.cs:337-355 | src/Orleans.FSharp.Abstractions/FunctionalObserver.cs:458-476 | src/Orleans.FSharp.Abstractions/FunctionalTransportSerialization.cs:201-219 | src/Orleans.FSharp.Abstractions/FunctionalTransportSerialization.cs:312-330 | src/Orleans.FSharp.Abstractions/FunctionalTransportSerialization.cs:414-432 | src/Orleans.FSharp.Abstractions/FunctionalTransportSerialization.cs:535-553 | src/Orleans.FSharp.Abstractions/FunctionalTransportSerialization.cs:656-674 \u2014 there are 7 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.FSharp.Abstractions/FunctionalObserver.cs:337\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Orleans.FSharp.Abstractions/FunctionalObserver.cs:356\u0060 calls \u0060ReadValue\u0060 and \u0060src/Orleans.FSharp.Abstractions/FunctionalTransportSerialization.cs:433\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Abstractions/FunctionalObserver.cs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b63059eebad74aa7cf9e9ae43519cdd13bcaf2aa10218503b3df270e70013b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201320 lines \u00D7 2): src/Orleans.FSharp.Runtime/ClientConfigBuilder.fs:107-126 | src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs:398-408 \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 \u0060src/Orleans.FSharp.Runtime/ClientConfigBuilder.fs:107\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Runtime/ClientConfigBuilder.fs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5f55b2b4424b12df19e918eab40c56c3c2bd2410ed9c9a90cdd2e9a478c3dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201320 lines \u00D7 2): src/Orleans.FSharp/FunctionalContract.fs:789-808 | src/Orleans.FSharp/FunctionalContract.fs:817-822 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp/FunctionalContract.fs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50a6c5798a700119164e0ca1619a759a094befca7e45ba35db96d4d41284551"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Orleans.FSharp.Abstractions/FunctionalObserver.cs:121-138 | src/Orleans.FSharp.Abstractions/FunctionalTransport.cs:352-369 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Abstractions/FunctionalObserver.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"977e20983ed3ade6579e2dea57e8caca822ed6523aceeecb757fff42f9816f81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Orleans.FSharp/FunctionalDefinition.fs:837-855 | src/Orleans.FSharp/FunctionalJournaledDefinition.fs:586-604 \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 \u0060src/Orleans.FSharp/FunctionalDefinition.fs:837\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":"src/Orleans.FSharp/FunctionalDefinition.fs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f7d63d2218475a08d3f074feda7512bc6d1faef28672bded5e7eae2c95ddb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): src/Orleans.FSharp/FunctionalDefinition.fs:1238-1254 | src/Orleans.FSharp/FunctionalJournaledDefinition.fs:930-947 \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 \u0060src/Orleans.FSharp/FunctionalDefinition.fs:1238\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Orleans.FSharp/FunctionalDefinition.fs:1238\u0060 calls \u0060FunctionalStreamAttach\u0060 and \u0060src/Orleans.FSharp/FunctionalJournaledDefinition.fs:930\u0060 does not \u2014 after which the two agree again for 5 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp/FunctionalDefinition.fs"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"429707beb67e83f42a60a2a9965f5b56e7c1444dad9122bfa75588b01c9c15e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): src/Orleans.FSharp.Runtime/FunctionalJournal.fs:369-384 | src/Orleans.FSharp.Runtime/FunctionalJournal.fs:393-407 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Runtime/FunctionalJournal.fs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"58273e41d8c22ce77191d8f8cfcfcb1bcee7348f9477ac1c19bd9d70b5ab8dfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Orleans.FSharp/FunctionalHosted.fs:890-905 | src/Orleans.FSharp/FunctionalHosted.fs:1082-1097 \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 \u0060src/Orleans.FSharp/FunctionalHosted.fs:890\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":"src/Orleans.FSharp/FunctionalHosted.fs"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fb709bafd2066c289fa1e19279393ed537c79f83e2057ce18e1abfb72ac514"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Orleans.FSharp.Abstractions/FunctionalTransportSerialization.cs:500-514 | src/Orleans.FSharp.Abstractions/FunctionalTransportSerialization.cs:621-635 \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":"src/Orleans.FSharp.Abstractions/FunctionalTransportSerialization.cs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"48cf8530c0a84c050a32517f13b599fac1895b17027cc7fd888193c50419d51b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): examples/hello-world/src/Grains/CounterGrainFunctional.fs:10-24 | testbed/src/Shared/CounterContract.fs:10-24 \u2014 before extracting anything, compare \u0060examples/hello-world/src/Grains/CounterGrainFunctional.fs\u0060 and \u0060testbed/src/Shared/CounterContract.fs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/hello-world/src/Grains/CounterGrainFunctional.fs:10\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":"examples/hello-world/src/Grains/CounterGrainFunctional.fs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9c1cd9b02cd9368f0d41ee3817edc5e786e8268d2a31bbad524d0dbd4194f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Orleans.FSharp/FunctionalDefinition.fs:717-731 | src/Orleans.FSharp/FunctionalJournaledDefinition.fs:368-382 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp/FunctionalDefinition.fs"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bbfdb8f0b9e1442eac26b91c0a268a87169c5bff05ed744c7f9d0bf27994e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Orleans.FSharp/FunctionalDefinition.fs:888-902 | src/Orleans.FSharp/FunctionalJournaledDefinition.fs:640-654 \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 \u0060src/Orleans.FSharp/FunctionalDefinition.fs:888\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":"src/Orleans.FSharp/FunctionalDefinition.fs"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a88c2db3466d4bc0c8be6cc53741f386bdc95d3bac221f509cdefd94d85ade"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Orleans.FSharp.Abstractions/FunctionalObserver.cs:365-377 | src/Orleans.FSharp.Abstractions/FunctionalTransportSerialization.cs:331-343 \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 \u0060src/Orleans.FSharp.Abstractions/FunctionalObserver.cs:365\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":"src/Orleans.FSharp.Abstractions/FunctionalObserver.cs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"b010d700d9f3867547caf70d34cfce7844207380e18f258fc7ff18c477fe99e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201314 lines \u00D7 2): src/Orleans.FSharp/FunctionalHosted.fs:50-63 | src/Orleans.FSharp/FunctionalHosted.fs:231-238 \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 \u0060src/Orleans.FSharp/FunctionalHosted.fs: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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp/FunctionalHosted.fs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fc6dd7474fd04161a5aa0b35b85d42028648ab0d48d9b7d316e42e7725d619"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): src/Orleans.FSharp/FunctionalHosted.fs:928-941 | src/Orleans.FSharp/FunctionalHosted.fs:1196-1208 \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":"src/Orleans.FSharp/FunctionalHosted.fs"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd82e4b886c984f8e0d05eef4ec5164c13c106755b50b8044070ba831cb3b62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Orleans.FSharp/FunctionalHosted.fs:943-956 | src/Orleans.FSharp/FunctionalHosted.fs:1263-1276 \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 \u0060src/Orleans.FSharp/FunctionalHosted.fs:943\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":"src/Orleans.FSharp/FunctionalHosted.fs"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa19b6ad4737b07eab0de30d0744add2fbf6ef8928f7aab1417da9063c12ab0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 2): src/Orleans.FSharp.Runtime/ClientConfigBuilder.fs:187-199 | src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs:582-590 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Runtime/ClientConfigBuilder.fs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e2faadb9d3f406a7e2dba7314ce1d020d4309e811eb9e55763db6c3e4992ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Orleans.FSharp/FunctionalDefinition.fs:784-796 | src/Orleans.FSharp/FunctionalJournaledDefinition.fs:532-544 \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 \u0060src/Orleans.FSharp/FunctionalDefinition.fs:784\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":"src/Orleans.FSharp/FunctionalDefinition.fs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f042429dc2418f425f462423cf72b28d9aba2936384a1262a0845430661476"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Orleans.FSharp.Abstractions/FunctionalObserver.cs:296-307 | src/Orleans.FSharp.Abstractions/FunctionalObserver.cs:422-433 \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 \u0060src/Orleans.FSharp.Abstractions/FunctionalObserver.cs:296\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":"src/Orleans.FSharp.Abstractions/FunctionalObserver.cs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74b4e9bc1b2e478bf221e21e5074a7b8819aa61bbf38fec813e29b39be8c5cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Orleans.FSharp/FunctionalInterop.fs:185-196 | src/Orleans.FSharp/FunctionalInterop.fs:203-215 \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 \u0060src/Orleans.FSharp/FunctionalInterop.fs:185\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp/FunctionalInterop.fs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e1a5da4cabf59e77820ef6cce9b2261348efcfc694f2265b33dbdd6b43cfc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): src/Orleans.FSharp.Runtime/ClientConfigBuilder.fs:104-114 | src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs:395-405 | src/Orleans.FSharp/FSharpSerialization.fs:39-49 | src/Orleans.FSharp/GrainDirectory.fs:45-55 | src/Orleans.FSharp/Kubernetes.fs:33-43 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.FSharp.Runtime/ClientConfigBuilder.fs:104\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":"src/Orleans.FSharp.Runtime/ClientConfigBuilder.fs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f15d619463b8ec4257cadbd56610cece55b92e54e168bdc87baf466c6ba58d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Orleans.FSharp/FunctionalDefinition.fs:1222-1232 | src/Orleans.FSharp/FunctionalDefinition.fs:1316-1326 \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":"src/Orleans.FSharp/FunctionalDefinition.fs"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cf3f264f018bd6e94b594a0da6d1ef5a2bff7d06d74aea7f1053668f67e8b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Orleans.FSharp/FunctionalHosted.fs:878-888 | src/Orleans.FSharp/FunctionalHosted.fs:1070-1080 \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 \u0060src/Orleans.FSharp/FunctionalHosted.fs:878\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":"src/Orleans.FSharp/FunctionalHosted.fs"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc2bc6f086df61a90bab95d2a844abbd4cc9fd37b0a0cbd226aac3d9d84f555"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Orleans.FSharp/FunctionalJournaledDefinition.fs:917-927 | src/Orleans.FSharp/FunctionalJournaledDefinition.fs:969-979 \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":"src/Orleans.FSharp/FunctionalJournaledDefinition.fs"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a67c97da1db76b107bf546f29724f25acbb49d8754c6d121111bcb4c44e51c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): testbed/src/Client/Program.fs:42-52 | testbed/src/Silo/Program.fs:128-138 \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 \u0060testbed/src/Client/Program.fs:42\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testbed/src/Client/Program.fs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aef2192f5c6aad105d6a238240a5833957904abee994f1c1b5105299a1c3969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Orleans.FSharp.Abstractions/FunctionalObserver.cs:325-334 | src/Orleans.FSharp.Abstractions/FunctionalTransportSerialization.cs:188-197 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Abstractions/FunctionalObserver.cs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78b960f3d2a0c18a2856a1e541677aa4a6b3144d96c898a6ebddae32e060af8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 5): src/Orleans.FSharp.Runtime/ClientConfigBuilder.fs:98-105 | src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs:388-396 | src/Orleans.FSharp/FSharpSerialization.fs:33-40 | src/Orleans.FSharp/Kubernetes.fs:27-34 | src/Orleans.FSharp/StreamProviders.fs:26-34 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.FSharp.Runtime/ClientConfigBuilder.fs:98\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Runtime/ClientConfigBuilder.fs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ded7924809231d596074e28997be2dc510838785d4d26a341483adffe81acc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): src/Orleans.FSharp/FunctionalJournaledDefinition.fs:1118-1126 | src/Orleans.FSharp/FunctionalJournaledDefinition.fs:1143-1149 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp/FunctionalJournaledDefinition.fs"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"684b2906b37090e21d435d136c6ffa6a8bce025b98ee26d86784d1ccb8091eb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): src/Orleans.FSharp/FunctionalJournaledDefinition.fs:1163-1169 | src/Orleans.FSharp/FunctionalJournaledDefinition.fs:1180-1188 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp/FunctionalJournaledDefinition.fs"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc161d3d2968e33783a1bad79e2afa45ddd5e730e3f18ce690b19fbc34c97921"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Orleans.FSharp.EventSourcing/EventSourcedGrainDiscovery.fs:194-201 | src/Orleans.FSharp.EventSourcing/EventSourcedGrainDiscovery.fs:221-228 \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":"src/Orleans.FSharp.EventSourcing/EventSourcedGrainDiscovery.fs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f35618f745106b3a4d45f8dfaffcb076701363606920d65ab87112dc20e2878"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Orleans.FSharp.Runtime/FunctionalActivation.fs:79-86 | src/Orleans.FSharp.Runtime/FunctionalDispatch.fs:877-884 \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 \u0060src/Orleans.FSharp.Runtime/FunctionalActivation.fs:79\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":"src/Orleans.FSharp.Runtime/FunctionalActivation.fs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"6335e736e911dc6fef52626849b9c5198234f2f0866a6ddd790c7de798e985ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Orleans.FSharp/FSharpBinaryCodec.fs:701-708 | src/Orleans.FSharp/FSharpBinaryCodec.fs:746-753 \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 \u0060src/Orleans.FSharp/FSharpBinaryCodec.fs:701\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":"src/Orleans.FSharp/FSharpBinaryCodec.fs"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da994e5daa5a65770e475ea2f71ee52a2ac7b9342ada98d06531079f3681b4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): src/Orleans.FSharp/Streaming.fs:371-378 | src/Orleans.FSharp/Streaming.fs:507-512 \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 \u0060src/Orleans.FSharp/Streaming.fs:371\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp/Streaming.fs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6ffeb1ef7bfe13440a461bb68c36c1c667e13b57b7d6f328b13acf4b744174"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Orleans.FSharp/Streaming.fs:402-409 | src/Orleans.FSharp/Streaming.fs:536-543 \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 \u0060src/Orleans.FSharp/Streaming.fs:402\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":"src/Orleans.FSharp/Streaming.fs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b7faa82e8e63c79e43b550a0025a47663a19742195d98689381baf9b1170f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Orleans.FSharp/FunctionalDefinition.fs:1253-1259 | src/Orleans.FSharp/FunctionalDefinition.fs:1347-1353 \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 \u0060src/Orleans.FSharp/FunctionalDefinition.fs:1253\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":"src/Orleans.FSharp/FunctionalDefinition.fs"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"e620b90a5b182fd16dc899b1e1006e3f43a0cc562beecaf9f4ff00471fd1d072"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Orleans.FSharp/FunctionalContract.fs:1121-1126 | src/Orleans.FSharp/FunctionalContract.fs:1154-1159 \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":"src/Orleans.FSharp/FunctionalContract.fs"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e7969e35a9a802728c9990cbd41d8006e7a9dc143f81b35dedc3d7d25dc17c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Orleans.FSharp/FunctionalPersistentState.fs:598-603 | src/Orleans.FSharp/FunctionalPersistentState.fs:670-675 \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":"src/Orleans.FSharp/FunctionalPersistentState.fs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0816d855293f8b38bfee4b40767fdcec966b803540831cf94bb3c7d02febb41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Orleans.FSharp/Streaming.fs:433-438 | src/Orleans.FSharp/Streaming.fs:566-571 \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 \u0060src/Orleans.FSharp/Streaming.fs:433\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":"src/Orleans.FSharp/Streaming.fs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"916778bf2a3be654ebd5a5bc35e61709349876a81593a8908dfaf65468ebec73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src/Orleans.FSharp/Streaming.fs:371-375 | src/Orleans.FSharp/Streaming.fs:403-408 | src/Orleans.FSharp/Streaming.fs:506-511 | src/Orleans.FSharp/Streaming.fs:537-542 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.FSharp/Streaming.fs:371\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":"src/Orleans.FSharp/Streaming.fs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"b887a468758839e5162bc0762c5c090c6b325c99b6a2d1b5e638e846d5680c53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src/Orleans.FSharp/Streaming.fs:418-422 | src/Orleans.FSharp/Streaming.fs:434-438 | src/Orleans.FSharp/Streaming.fs:553-557 | src/Orleans.FSharp/Streaming.fs:567-571 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.FSharp/Streaming.fs:418\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":"src/Orleans.FSharp/Streaming.fs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"a679ae0a8b632dbf24e0ab2b0969a53cef001db6c5f549bf8dfceaa68b45209a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs:744-748 | src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs:780-784 | src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs:800-804 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs:744\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":"src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"437f7898e69d9554c74e4b03612da905a9b26591008cd8978f76011839ebfbbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Orleans.FSharp/FunctionalDefinition.fs:456-460 | src/Orleans.FSharp/FunctionalJournaledDefinition.fs:251-255 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp/FunctionalDefinition.fs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"795861e2064feb538666afafd08ec357cd342aa5e772a37381e72711e9890669"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Orleans.FSharp/FunctionalJournaledDefinition.fs:948-952 | src/Orleans.FSharp/FunctionalJournaledDefinition.fs:993-997 \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 \u0060src/Orleans.FSharp/FunctionalJournaledDefinition.fs:948\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":"src/Orleans.FSharp/FunctionalJournaledDefinition.fs"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b573a156544c72e0e4db0fc71c4f855ff7fbcd732d2ff6e4efd8fa3bfd9fcae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Orleans.FSharp/Streaming.fs:446-450 | src/Orleans.FSharp/Streaming.fs:580-584 \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 \u0060src/Orleans.FSharp/Streaming.fs:446\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":"src/Orleans.FSharp/Streaming.fs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"77700c01ad17faa1ccdcaa92834f83303311133efdde3c4787e9e21553363700"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): examples/hello-world/src/Grains/CounterGrainFunctional.fs:16-27 | src/Orleans.FSharp.Sample/CounterGrainFunctional.fs:18-34 | testbed/src/Shared/CounterContract.fs:16-27 \u2014 before extracting anything, compare \u0060examples/hello-world/src/Grains/CounterGrainFunctional.fs\u0060 and \u0060testbed/src/Shared/CounterContract.fs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/hello-world/src/Grains/CounterGrainFunctional.fs:16\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/hello-world/src/Grains/CounterGrainFunctional.fs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f76c47488712ed3bd1cf5e0e55d680def54e066eb3fa76f1063c4d911abb74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): examples/hello-world/src/Grains/CounterGrainFunctional.fs:16-27 | src/Orleans.FSharp.Sample/CounterGrainFunctional.fs:18-30 | templates/orleans-fsharp/src/MyApp.Grains/CounterGrain.fs:11-23 | testbed/src/Shared/CounterContract.fs:16-27 \u2014 before extracting anything, compare \u0060examples/hello-world/src/Grains/CounterGrainFunctional.fs\u0060 and \u0060testbed/src/Shared/CounterContract.fs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/hello-world/src/Grains/CounterGrainFunctional.fs:16\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060templates/orleans-fsharp/src/MyApp.Grains/CounterGrain.fs:24\u0060 calls \u0060readOnly\u0060 and \u0060examples/hello-world/src/Grains/CounterGrainFunctional.fs:28\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/hello-world/src/Grains/CounterGrainFunctional.fs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca99974031780edc8caa9e169855829cf87fb963735760867a5002b64cd96a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Orleans.FSharp/FunctionalHosted.fs:789-800 | src/Orleans.FSharp/FunctionalHosted.fs:989-1000 \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 \u0060src/Orleans.FSharp/FunctionalHosted.fs:789\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":"src/Orleans.FSharp/FunctionalHosted.fs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"06111ca8877f20d9eb741019458c9e065d98b0b109163f5a1c3086932d350f78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Orleans.FSharp/FunctionalTransport.fs:475-482 | src/Orleans.FSharp/FunctionalTransport.fs:600-607 \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":"src/Orleans.FSharp/FunctionalTransport.fs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27a13981e6632ed593e7945a0d57a0f67c462097b27b7f84af874d82dea5313"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs:744-748 | src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs:780-784 | src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs:800-804 | src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs:1210-1214 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs:744\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":"src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9f840b3c28beb6ba3ba7532e6ab4442260bb2b88c679b5bd1e6146d875fbf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs:837-841 | src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs:1188-1192 \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":"src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0c592b951325fcce3aa4b18cbf67010ba1a97c18e21586ce5a3a9b008dfb9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Orleans.FSharp/FunctionalContract.fs:996-1000 | src/Orleans.FSharp/FunctionalContract.fs:1029-1033 \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 \u0060src/Orleans.FSharp/FunctionalContract.fs:996\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":"src/Orleans.FSharp/FunctionalContract.fs"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d4306d7bc4454d787a73a42b476a8e7ac7902c7db3624b827718b08bfac3c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Orleans.FSharp.Abstractions/FunctionalRequest.cs:81-86 | src/Orleans.FSharp.Abstractions/FunctionalRequest.cs:225-230 \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":"src/Orleans.FSharp.Abstractions/FunctionalRequest.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdcb7da1c8c3b47d231ff0cb34b1bd306670ea5fc292ed56aab74a9a98a1c21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): examples/feature-tour/src/FeatureTour/Interleaving.fs:120-130 | examples/feature-tour/src/FeatureTour/Interleaving.fs:204-214 \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":"examples/feature-tour/src/FeatureTour/Interleaving.fs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4842a8776fe8aed6d590b87c7bfa2a0a9a4cd425a7133abfb9ab041764066dd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples/feature-tour/src/FeatureTour/Program.fs:413-422 | examples/feature-tour/src/FeatureTour/Program.fs:447-456 \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 \u0060examples/feature-tour/src/FeatureTour/Program.fs:413\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/feature-tour/src/FeatureTour/Program.fs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c19eb4d8128d894ff98914d44f8ec0eaab50dc566dbfee777de79e8de9e843"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): scripts/check-current-docs-api.py:55-59 | scripts/check-current-docs-api.py:63-67 \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":"scripts/check-current-docs-api.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8808bfabad101e21f06fc008bcc0252a4289092000c79b240034d4fc11f21421"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FunctionalJournaledGrainDefinitionBuilder\u00603 (LCOM4 25): FunctionalJournaledGrainDefinitionBuilder\u00603\u0027s methods fall into 25 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 25 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":"src/Orleans.FSharp/FunctionalJournaledDefinition.fs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b83e617f07cba5ed8e36cb7e0aac770fcf929f516fbbbe9c26102daa18c9056"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FunctionalGrainDefinitionBuilder\u00603 (LCOM4 19): FunctionalGrainDefinitionBuilder\u00603\u0027s methods fall into 19 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 19 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":"src/Orleans.FSharp/FunctionalDefinition.fs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b85f0f4bb00de42d47a29afdf94c2b721c38e56fcf4e61d837ec3ce81753029"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FunctionalHostedDefinition (LCOM4 4): FunctionalHostedDefinition\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":"src/Orleans.FSharp/FunctionalHosted.fs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6eb2e34ae2bbe298f61e8cbba6f8a332b0b0d77d9dc0a5a207ef8c3bd7d70c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FunctionalGrainContext\u00602 (LCOM4 4): FunctionalGrainContext\u00602\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":"src/Orleans.FSharp/FunctionalContext.fs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"6097bc14c52de17c06c0668090e7cdaa27190b07ed13e690f00adb2417ecaca4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.FSharp/FunctionalDefinition.fs: src/Orleans.FSharp/FunctionalDefinition.fs changed 21 times in last 90 days, max cyclomatic complexity 56 in DefinitionDraft.run at line 431. 1 of those changes was a fix/bug commit, and the other 20 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-04..2026-11-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-04 22:25:31 \u002B03:00\u0027 --until=\u00272026-11-02 22:25:31 \u002B03:00\u0027 --full-history --no-merges -- src/Orleans.FSharp/FunctionalDefinition.fs\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":"src/Orleans.FSharp/FunctionalDefinition.fs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"2968ff87f96c87ce51e066feb37edddcc7d6243b6f28061dd10d929b13dd2aeb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.FSharp/FSharpBinaryCodec.fs: src/Orleans.FSharp/FSharpBinaryCodec.fs changed 11 times in last 90 days, max cyclomatic complexity 71 in FSharpBinaryFormat.buildCodecFor at line 545. 3 of those changes were fix/bug commits, and the other 8 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-04..2026-11-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-04 22:25:31 \u002B03:00\u0027 --until=\u00272026-11-02 22:25:31 \u002B03:00\u0027 --full-history --no-merges -- src/Orleans.FSharp/FSharpBinaryCodec.fs\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":"src/Orleans.FSharp/FSharpBinaryCodec.fs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8d3f0b9031bc7b1b50ec576ac359c6491d1aa6565e038ea677cfd53b4ae84f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.FSharp/FunctionalContract.fs: src/Orleans.FSharp/FunctionalContract.fs changed 12 times in last 90 days, max cyclomatic complexity 43 in ContractDraft.run at line 410. 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-04..2026-11-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-04 22:25:31 \u002B03:00\u0027 --until=\u00272026-11-02 22:25:31 \u002B03:00\u0027 --full-history --no-merges -- src/Orleans.FSharp/FunctionalContract.fs\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":"src/Orleans.FSharp/FunctionalContract.fs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74e60972be67d3f5769ea4f38d5a59cc1f7504312f2c99341fc68aaa9011bb3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.FSharp.Runtime/FunctionalActivation.fs: src/Orleans.FSharp.Runtime/FunctionalActivation.fs changed 14 times in last 90 days, max cyclomatic complexity 29 in FunctionalGrainActivator\u00601.Orleans.Runtime.IGrainActivator.CreateInstance at line 179. 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-04..2026-11-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-04 22:25:31 \u002B03:00\u0027 --until=\u00272026-11-02 22:25:31 \u002B03:00\u0027 --full-history --no-merges -- src/Orleans.FSharp.Runtime/FunctionalActivation.fs\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":"src/Orleans.FSharp.Runtime/FunctionalActivation.fs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab927038d4eebb86520e52f0cd01b95c2f5a490a1d1b859aad7b42ced4909c1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs: src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs changed 8 times in last 90 days, max cyclomatic complexity 46 in SiloConfigModule.applyToSiloBuilder at line 456. 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-04..2026-11-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-04 22:25:31 \u002B03:00\u0027 --until=\u00272026-11-02 22:25:31 \u002B03:00\u0027 --full-history --no-merges -- src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs\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":"src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29b6816ed5a72057b9b7895bd33934be98452a9b12132cbf77c522b62f9766f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.FSharp/FunctionalHosted.fs: src/Orleans.FSharp/FunctionalHosted.fs changed 14 times in last 90 days, max cyclomatic complexity 20 in FunctionalJournaledHosted.create at line 985. 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-04..2026-11-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-04 22:25:31 \u002B03:00\u0027 --until=\u00272026-11-02 22:25:31 \u002B03:00\u0027 --full-history --no-merges -- src/Orleans.FSharp/FunctionalHosted.fs\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":"src/Orleans.FSharp/FunctionalHosted.fs"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a04ff2925a02d27efdb106ecb5d7b43fa16652cee2c0b9a198b13b02707d31"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.FSharp.Runtime/FunctionalDispatch.fs: src/Orleans.FSharp.Runtime/FunctionalDispatch.fs changed 16 times in last 90 days, max cyclomatic complexity 17 in FunctionalDispatch.dispatch at line 278. 1 of those changes was a fix/bug commit, and the other 15 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-04..2026-11-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-04 22:25:31 \u002B03:00\u0027 --until=\u00272026-11-02 22:25:31 \u002B03:00\u0027 --full-history --no-merges -- src/Orleans.FSharp.Runtime/FunctionalDispatch.fs\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":"src/Orleans.FSharp.Runtime/FunctionalDispatch.fs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d831394e0b0d99501cced7fedf0c7effa0d2ce4277811cfb2fa89e4b437cee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.FSharp/FunctionalJournaledDefinition.fs: src/Orleans.FSharp/FunctionalJournaledDefinition.fs changed 6 times in last 90 days, max cyclomatic complexity 32 in JournaledDefinitionDraft.run at line 231. 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-04..2026-11-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-04 22:25:31 \u002B03:00\u0027 --until=\u00272026-11-02 22:25:31 \u002B03:00\u0027 --full-history --no-merges -- src/Orleans.FSharp/FunctionalJournaledDefinition.fs\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":"src/Orleans.FSharp/FunctionalJournaledDefinition.fs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ab07627ccc5609904568c650aecd1550d5e32aaf47e1ded5b08a34d8fee9af"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.FSharp.Runtime/FunctionalManifest.fs: src/Orleans.FSharp.Runtime/FunctionalManifest.fs changed 8 times in last 90 days, max cyclomatic complexity 20 in FunctionalGrainPropertiesProvider.Orleans.Metadata.IGrainPropertiesProvider.Populate at line 152. 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-04..2026-11-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-04 22:25:31 \u002B03:00\u0027 --until=\u00272026-11-02 22:25:31 \u002B03:00\u0027 --full-history --no-merges -- src/Orleans.FSharp.Runtime/FunctionalManifest.fs\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":"src/Orleans.FSharp.Runtime/FunctionalManifest.fs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"686b2dc482556ebe8854146cf10973c5237131eb2d2c9dc6d6fd4648be381aff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.FSharp/FunctionalApiShape.fs: src/Orleans.FSharp/FunctionalApiShape.fs changed 10 times in last 90 days, max cyclomatic complexity 16 in ApiShapeModule.build at line 208. 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-04..2026-11-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-04 22:25:31 \u002B03:00\u0027 --until=\u00272026-11-02 22:25:31 \u002B03:00\u0027 --full-history --no-merges -- src/Orleans.FSharp/FunctionalApiShape.fs\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":"src/Orleans.FSharp/FunctionalApiShape.fs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"080ac0a1ec901a65e8da83622e49baa4dadd9281bcc62c377f6ec55e9f85c9b3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/check-docs-mirror.py: scripts/check-docs-mirror.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in check-docs-mirror.main at line 81. 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-04..2026-11-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-04 22:25:31 \u002B03:00\u0027 --until=\u00272026-11-02 22:25:31 \u002B03:00\u0027 --full-history --no-merges -- scripts/check-docs-mirror.py\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":"scripts/check-docs-mirror.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aee407665e4a6093e71059e6531884e3cd43c7c8c6e7723b6e9936cb25a34b3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.FSharp.Runtime/GrainDiscovery.fs: src/Orleans.FSharp.Runtime/GrainDiscovery.fs changed 5 times in last 90 days, max cyclomatic complexity 26 in UniversalGrainHandlerRegistry.Register at line 511. 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-04..2026-11-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-04 22:25:31 \u002B03:00\u0027 --until=\u00272026-11-02 22:25:31 \u002B03:00\u0027 --full-history --no-merges -- src/Orleans.FSharp.Runtime/GrainDiscovery.fs\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":"src/Orleans.FSharp.Runtime/GrainDiscovery.fs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d91db983510b264a5a4959695297605faa00a78c21fce4c917ec0ff5c93059"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.FSharp.Runtime/FunctionalJournal.fs: src/Orleans.FSharp.Runtime/FunctionalJournal.fs changed 6 times in last 90 days, max cyclomatic complexity 15 in FunctionalJournalHost.ApplyUpdatesToStorage at line 653. 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-04..2026-11-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-04 22:25:31 \u002B03:00\u0027 --until=\u00272026-11-02 22:25:31 \u002B03:00\u0027 --full-history --no-merges -- src/Orleans.FSharp.Runtime/FunctionalJournal.fs\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":"src/Orleans.FSharp.Runtime/FunctionalJournal.fs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"2551ed31c208e49a47930f16e517100659ae48a652ba7eeab802785e962556f1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/check-docs-links.py: scripts/check-docs-links.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in check-docs-links.main at line 126. 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-04..2026-11-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-04 22:25:31 \u002B03:00\u0027 --until=\u00272026-11-02 22:25:31 \u002B03:00\u0027 --full-history --no-merges -- scripts/check-docs-links.py\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":"scripts/check-docs-links.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"983d4be801e18f8e863cf1fc6bd4758e7ddf740622709b4a74f998966ba314fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.FSharp.Runtime/ClientConfigBuilder.fs: src/Orleans.FSharp.Runtime/ClientConfigBuilder.fs changed 2 times in last 90 days, max cyclomatic complexity 22 in ClientConfigModule.applyToBuilder at line 126. 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-04..2026-11-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-04 22:25:31 \u002B03:00\u0027 --until=\u00272026-11-02 22:25:31 \u002B03:00\u0027 --full-history --no-merges -- src/Orleans.FSharp.Runtime/ClientConfigBuilder.fs\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":"src/Orleans.FSharp.Runtime/ClientConfigBuilder.fs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe85fc9a12ac79b5bf8343c02ba23c19e4c0cf371d3e93f254b85fa57802e3c"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.CodeGen/SampleGrainImpls.cs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"daad7573a699f6aaa24eef31db03bfda1895a2d577d13af855a7ee7e762a2472"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger\u003CCounterGrainImpl\u003E _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.CodeGen/SampleGrainImpls.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4914777a66e00071645462d51a71221ecfebc0cc26a8705c4b481208c0640ca1"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger\u003CEchoGrainImpl\u003E _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.CodeGen/SampleGrainImpls.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6edc791e7108bd638a58eb952260dc7a7dbcb718c99232f1649de20975c09cb"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger\u003COrderGrainImpl\u003E _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.CodeGen/SampleGrainImpls.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb085d458a30d04236fba3531ab7a385ac0227bdac64b46e52fb3aaabf31b6a"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger\u003CProcessorGrainImpl\u003E _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.CodeGen/SampleGrainImpls.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"9565f4b95442f85670fa08a92d48f33b1e9cd56779fe352f4560c7913a3fb446"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger\u003CReminderTestGrainImpl\u003E _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.CodeGen/SampleGrainImpls.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee47941caee3a74f6c13e5ce9c645b23fb48277b4b81e2929aab48b180a7eec5"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger\u003CTimerTestGrainImpl\u003E _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.CodeGen/SampleGrainImpls.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cda63eb2988e11e8e7fbcb7409964c9ca8834489817f119653b77910a5e8280"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger\u003CSequentialGrainImpl\u003E _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.CodeGen/SampleGrainImpls.cs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff7000a4669a2e2d38ff6c53b94c21bd575e22282751d1f1e00af4e8646d0e0"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger\u003CAggregatorGrainImpl\u003E _logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.CodeGen/SampleGrainImpls.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d50cadc14ffdcef5cf41485e2bae8c7c31604220a13c02133df59da9122c3eb"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: NU5128 \u2014 this warning is switched off for the WHOLE project, including builds years from now. It is raised by the build itself \u2014 the packaging, restore or SDK step \u2014 about the project as a whole, not by the compiler or an analyzer at a line of code, so there is no call site to narrow it to and no per-site directive that could carry a reason: this element is the only place the decision can be recorded. Say WHY here, in a comment on the entry, or fix what the rule is reporting and drop the code from the list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"templates/Orleans.FSharp.Templates.csproj"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b3f9d490f0896eb58c26090ec28e3ae154d4a1eb6cdb5db11f01a939f3bea8"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CS1591 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Abstractions/Orleans.FSharp.Abstractions.csproj"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7b0181701b7b5e774a40769deb6263a1c8aa923e52b33b8bd93488c1ee52fa"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CS1591 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.CodeGen/Orleans.FSharp.CodeGen.csproj"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04fce8429389bc9aced0bba50d04292943b0b24903702b5ece6a6e4cd7d917f"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CS1591 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/feature-tour/src/TourInterop/TourInterop.csproj"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2109ef5593a91488c2b478efc84fe8626431d53aaef69270aa4b23a257da667"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060Orleans.FSharp.Abstractions\u0060 overshoots its size bounds (3326 LoC, 1686 public types across 514 namespaces). 2 of 6 project(s) overshoot their size bounds, lowering Project Cohesion to 3.3/10. Review these for cohesion \u2014 split a project that spans unrelated responsibilities."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Abstractions/Orleans.FSharp.Abstractions.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e89f36c3a5bde696c055f480e447aae406125857a8be1c310fb6666f0497ef"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060TourInterop\u0060 overshoots its size bounds (79 LoC, 1686 public types across 514 namespaces). 2 of 6 project(s) overshoot their size bounds, lowering Project Cohesion to 3.3/10. Review these for cohesion \u2014 split a project that spans unrelated responsibilities."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/feature-tour/src/TourInterop/TourInterop.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba5d201802cb52b1b771622684442c7a1ae640310b855448de0a42d545683ae"}},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8d4a0f1929f34b20b8bc2f8f7e48197ce3f563d331ee6b6e6fd51b8cfc75a0db"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"193fd72a7d5e4daea9238e44a644b2eee01f4cb8c02e183a0b85de0bdcdd766f"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54651973f627c930b0ace15d45e6cd882288063cad395edc452742fe72a55e2d"}},{"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":"1d969f6a883f98f5b224f0b598bae8bf3cb982aba6ac82e33fc81e712290a8c1"},"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":"6b1d2764f838b278a5de186662ae7bac0a61ab3b9f799969f0efdbc4f2a07169"},"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":"c77dae2768f8813c3e26cbab0b6758fc380ede901beb9aae08f5a4c117556bdb"},"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":"b5f738883c884860348fde9011e9941510c4b2856097b0c1b5f61083a07b17e7"},"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":"a8a320e5d95b3b9e8f090e43d355060442ab7a805d6110e0f0e577d6c4451ec8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5af09423a78a836590f876f0e52b47585d4ca92e4470250509e37dab9284446"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c593d4dbd23724f337bfb8d2c1653812f143ae255bd9b59d4b3e9c37779fa6f4"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D39","level":"note","message":{"text":"IL efficiency: 13 authored method(s) exceed the IL budget: 13 of 2581 first-party methods compile to oversized IL bodies (\u003E 250 instructions); worst: Orleans.FSharp.ContractDraft.run @ src/Orleans.FSharp/FunctionalContract.fs:411, 1466 IL instructions; that pulled this dimension to 9.9/10. These bodies are far past the JIT\u0027s inline budget, so splitting them does not make them inlinable \u2014 what moves the number is emitting less: collapsing LINQ chains and closures on hot paths, and interpolation built eagerly where it is only sometimes used."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp/FunctionalContract.fs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"cececb789a15e426ce9d415ad7f683e1060783ef0c163f6d0e13bfd3b540f631"}},{"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":"note","message":{"text":"No dependency-update automation: \u0060Directory.Packages.props\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Packages.props"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"132ddc29b0ce983131ec605b63b624864af81c7452690d92419c7655d5dbaa7f"}},{"ruleId":"PF1","level":"note","message":{"text":"No performance benchmarks: No benchmark suite was found by the two searches this check runs. FIRST, a BenchmarkDotNet package reference in any project file \u2014 every project the workspace loaded, plus a walk of project files on disk that never loaded, because a benchmark suite is exactly the project a partial load drops. SECOND, a script harness: a file whose name contains \u0060benchmark\u0060 and ends \u0060.py\u0060, \u0060.sh\u0060, \u0060.ps1\u0060, \u0060.bash\u0060, \u0060.rb\u0060, \u0060.js\u0060 or \u0060.mjs\u0060, credited ONLY when this repository\u0027s CI text also mentions benchmarks \u2014 a harness no pipeline runs is read as a fixture, deliberately. Neither search can see a benchmark suite in another ecosystem\u0027s idiom (a Go \u0060testing.B\u0060 file, a JMH or criterion project, a pytest-benchmark run), so this is \u0027no benchmark found by those two searches\u0027, not a verdict that the repository has none. Where code is performance-sensitive, a benchmark guards against silent regressions \u2014 but it\u0027s a bonus here, not a deduction."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fd90d18ee3bb127e8033d41e8efe4e131487a6d794a5730a72c56105ef7485ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.ClusterId.IsSome || config.ServiceId.IsSome\u0060 appears character-identically in 2 files \u2014 src/Orleans.FSharp.Runtime/ClientConfigBuilder.fs, src/Orleans.FSharp.Runtime/SiloConfigBuilder.fs. 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":"src/Orleans.FSharp.Runtime/ClientConfigBuilder.fs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed689981a39971fa0b30429ef23c7ffd2a2e85b8f9be93291c0c473dc10fb99f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ns.StartsWith(\u0022Orleans.\u0022) || ns.StartsWith(\u0022Microsoft.\u0022) || ns.StartsWith(\u0022System.\u0022)\u0060 appears character-identically in 2 files \u2014 testbed/src/Client/Program.fs, testbed/src/Silo/Program.fs. 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":"testbed/src/Client/Program.fs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0346b6e6b2afc94c421475749686111f42692afeea04911f6b600b9f5116144"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(element.tag, str) or element.tag.rsplit(\u0022}\u0022, 1)[-1] != \u0022PackageReference\u0022\u0060 appears character-identically in 2 files \u2014 scripts/check-release-packages.py, scripts/stage-release-template.py. 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":"scripts/check-release-packages.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed335c5edf7a722234246362c1ca6bfc1a834efca61e0103c523d29603d9645"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060package_id != \u0022Orleans.FSharp\u0022 and not package_id.startswith(\u0022Orleans.FSharp.\u0022)\u0060 appears character-identically in 2 files \u2014 scripts/check-release-packages.py, scripts/stage-release-template.py. 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":"scripts/check-release-packages.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfd4922aa2f51b8ba847306aa0fd6dcff2a2900a704ec8090abcb6775ad3f0f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060wrapped.startswith(\u0027\u003C\u0027) and wrapped.endswith(\u0027\u003E\u0027)\u0060 appears character-identically in 2 files \u2014 scripts/check-docs-links.py, scripts/generate-llms-full.py. 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":"scripts/check-docs-links.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7dc355e431372eb3263555c6c90f96b47deaf0b009819c339dc6de4e43dcba"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060request\u0060 is a \u0060FunctionalStreamRequest\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 147). Every use of it in \u0060OpenStream\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var request = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Abstractions/FunctionalGrainReference.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9dc5ca3bf52652fc1c792b4cdd6af1bd264e2787319b85ece1c166e7eb984c8"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async methods take a CancellationToken: Only 5/23 async methods accept a CancellationToken, so in-flight work can\u0027t be stopped early when the caller gives up \u2014 whatever ends it in your host (shutdown signal, timeout, abandoned request, user cancel). Thread a token through the call chain and honour it at each await and loop; where a method genuinely cannot be interrupted, omitting it is a deliberate choice \u2014 judge against your hosting model."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bf623a92fb752b336427856888a9b386c434e686662a2cdc1bba21832c0a048c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: HandleMessage: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Abstractions/IFSharpGrainInterfaces.cs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a519ac0bf3d9a0db823d243da99aec731d8c7cc200d920cbc23d242d334904"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: HandleMessageOneWay: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Abstractions/IFSharpGrainInterfaces.cs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c49549f6d61521bf43057f255f657ca3e2a077f8959848b52557de71b1331cb"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: HandleMessage: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Abstractions/IFSharpGrainInterfaces.cs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a33cfd15e54ac124137f4ba5e5a3b7db2269cc02042940c419faf7655e1d16"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: HandleMessageOneWay: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Abstractions/IFSharpGrainInterfaces.cs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41b4cbf8a4a287208ff1ecad5c095e4d2340e9f8ceda17d21fee3eb113b6a86"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ClearLog: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Abstractions/IFSharpGrainInterfaces.cs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"790ec4c66603939a059b7a35bd6965a533454c242f79c35ad8dca462ee3a1255"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: HandleMessage: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Abstractions/IFSharpGrainInterfaces.cs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"53413e49a4fa521398e2fe59495356ada0c050bf3951d09aa506773b7461c008"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: HandleMessageOneWay: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Abstractions/IFSharpGrainInterfaces.cs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7bac589364d2bb7aebb6534ba9ba77e158f2bf43c9b2e326e51d16a5f11f98"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: HandleMessage: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.CodeGen/SampleGrainImpls.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ada0eeb370bf124ca86d4fb7f1d3abd766068ebfcfff0dc30d0d764a56135a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: HandleMessage: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.CodeGen/SampleGrainImpls.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c18aa2a148de7acd976831ae18593f1f0f80acaea148dc6e1bd31312fab103"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: HandleMessage: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.CodeGen/SampleGrainImpls.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"892f8a7a110e91d533ce3257c7353509a89a5f76f46e66dec4fc9cff6a4f7359"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: HandleMessage: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.CodeGen/SampleGrainImpls.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"f800e4d2a6dd23c025978aa133983dc65bd2a9fd0c7fda22117e1a1783fe0a78"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: HandleMessage: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.CodeGen/SampleGrainImpls.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"7769c00a85eaaef074064143ab06b1a30adafd7c2d9ea75780de8c0f4f6eeab7"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: HandleMessage: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.CodeGen/SampleGrainImpls.cs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f14c7e16299ed9e5f89b33a862f6933887613999c4efce4d5db5bf1777201b1"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: HandleMessage: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.CodeGen/SampleGrainImpls.cs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53af14acca5f7e364204aa3dd85038c614550d697c24ec88ff5230b60f2d16e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: HandleMessage: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.CodeGen/SampleGrainImpls.cs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"72737f518624cdef541aad7dbffdc3704a21192b34a80cf8712c633f67d94ef0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: HandleMessage: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.CodeGen/SampleGrainImpls.cs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8dc7209f6ea7651f4acac42182ff05186c33ebccfdebc99aa9c737b07a4d6a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Broadcast: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.CodeGen/SampleGrainImpls.cs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c70e4abba899deafbbd61da89029a5deba408c0f76114043b6c447069b9313"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.CodeGen/SampleGrainImpls.cs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cc3db2d8354d60621de050c12205d0c3ca10c0aaa9123b8d8e8115ddb2b995"}},{"ruleId":"X5","level":"note","message":{"text":"Nullable reference types not enabled everywhere: 4/5 NRT-eligible project(s) enable \u003CNullable\u003Eenable\u003C/Nullable\u003E (projects targeting a pre-C#-8 framework are excluded \u2014 NRTs aren\u0027t available there). NRTs catch a whole class of null-deref bugs at compile time."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"80b24de9378624a0ce4846d60457395befcaec8e109ea81d289a370c9f7bfd5d"}},{"ruleId":"X5","level":"note","message":{"text":"Null-forgiving operator (\u0060!\u0060) suppressions reduce the NRT score: ~2.9 \u0060!\u0060 suppressions per 1k syntax nodes \u2014 29 suppression(s) across the 10046 syntax node(s) in code where nullable warnings are ENABLED, which is the only code a \u0060!\u0060 can suppress anything in (a \u0060!\u0060 under \u0060#nullable disable\u0060 is inert and is not counted, and its file\u0027s nodes are not in the denominator). Each one tells the compiler to trust you about null, suppressing the very safety NRTs provide."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"93cfe05d4ad8c8c171267603b23dfe289b74842e38edd1b7bfed59cc32bda337"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TryCancel\u0060 swallows \u0060ObjectDisposedException\u0060 into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.FSharp.Abstractions/FunctionalRequestBody.cs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b62f47e5189317a3a1b6b8a553102950016b777b9e1755afc887335177d129e"}}],"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-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-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":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":13,"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."]}]}