Skip to content

feat(template-input): inject Go struct doc comments into generated YAML templates - #1128

Draft
graham-chainlink wants to merge 2 commits into
mainfrom
ggoh/template-input-doc-comments
Draft

feat(template-input): inject Go struct doc comments into generated YAML templates#1128
graham-chainlink wants to merge 2 commits into
mainfrom
ggoh/template-input-doc-comments

fix(template-input): emit struct-level doc comments in payload output

9808448
Select commit
Loading
Failed to load commit list.
CL-sonarqube-production / SonarQube Code Analysis succeeded Jul 15, 2026 in 40s

Annotations

Check warning on line 143 in engine/cld/pipeline/template/template.go

See this annotation in the file changed.

@cl-sonarqube-production cl-sonarqube-production / SonarQube Code Analysis

Refactor this method to reduce its Cognitive Complexity from 43 to the 30 allowed.

[S3776] Cognitive Complexity of functions should not be too high
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_chainlink_deployments_framework&pullRequest=1128&issues=f3321bdc-beff-4899-9f90-78714dc3d043&open=f3321bdc-beff-4899-9f90-78714dc3d043

Check warning on line 90 in engine/cld/pipeline/template/template.go

See this annotation in the file changed.

@cl-sonarqube-production cl-sonarqube-production / SonarQube Code Analysis

Define a constant instead of duplicating this literal "%s# %s\n" 4 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_chainlink_deployments_framework&pullRequest=1128&issues=638861b5-8a54-4766-8942-fbc37b8716ac&open=638861b5-8a54-4766-8942-fbc37b8716ac

Check warning on line 192 in engine/cld/pipeline/template/comments.go

See this annotation in the file changed.

@cl-sonarqube-production cl-sonarqube-production / SonarQube Code Analysis

Refactor this method to reduce its Cognitive Complexity from 44 to the 30 allowed.

[S3776] Cognitive Complexity of functions should not be too high
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_chainlink_deployments_framework&pullRequest=1128&issues=b360b334-645b-4cf1-9613-bddf8c9a606f&open=b360b334-645b-4cf1-9613-bddf8c9a606f