Skip to content

Add libs/capability: reflection-driven capability runner - #751

Draft
cedric-cordenier wants to merge 1 commit into
mainfrom
cedric_libs-capability
Draft

Add libs/capability: reflection-driven capability runner#751
cedric-cordenier wants to merge 1 commit into
mainfrom
cedric_libs-capability

Add libs/capability: reflection-driven capability runner

70ae59b
Select commit
Loading
Failed to load commit list.
CL-sonarqube-production / SonarQube Code Analysis failed Sep 9, 2026 in 41s

Quality Gate failed

Failed conditions
3 Security Hotspots
0.0% Coverage on New Code (required ≥ 75%)
302 New Critical Issues (required ≤ 0)
D Reliability Rating on New Code (required ≥ A)
17 New Major Issues (required ≤ 5)

See analysis details on SonarQube

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE SonarQube for IDE

Annotations

Check failure on line 275 in libs/standalone/protohelpers/ui/resources/subscriptions.js

See this annotation in the file changed.

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

Unexpected var, use let or const instead.

[S3504] Variables should be declared with "let" or "const"
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=751&issues=ef4ff320-3838-4687-a1be-247f298838a4&open=ef4ff320-3838-4687-a1be-247f298838a4

Check failure on line 329 in libs/standalone/protohelpers/ui/resources/form.js

See this annotation in the file changed.

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

Unexpected var, use let or const instead.

[S3504] Variables should be declared with "let" or "const"
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=751&issues=d1815a32-a668-4af9-8ac4-7c2735eb7fa6&open=d1815a32-a668-4af9-8ac4-7c2735eb7fa6

Check failure on line 23 in libs/standalone/protohelpers/ui/resources/subscriptions.js

See this annotation in the file changed.

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

Unexpected var, use let or const instead.

[S3504] Variables should be declared with "let" or "const"
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=751&issues=af6ecb22-d90c-4302-86da-3f76fd72e043&open=af6ecb22-d90c-4302-86da-3f76fd72e043

Check failure on line 613 in libs/standalone/protohelpers/ui/resources/form.js

See this annotation in the file changed.

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

Unexpected var, use let or const instead.

[S3504] Variables should be declared with "let" or "const"
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=751&issues=7ad83496-1aa3-45dd-b67e-ec1f3804118e&open=7ad83496-1aa3-45dd-b67e-ec1f3804118e

Check failure on line 104 in libs/standalone/protohelpers/ui/resources/form.js

See this annotation in the file changed.

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

Unexpected var, use let or const instead.

[S3504] Variables should be declared with "let" or "const"
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=751&issues=da461b8b-5d8a-4b32-ae47-d453460e1184&open=da461b8b-5d8a-4b32-ae47-d453460e1184

Check warning on line 20 in libs/standalone/protohelpers/ui/subscriptions.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 "Content-Type" 3 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=751&issues=59f1ccfd-83df-47c3-b1d6-a55fde08177a&open=59f1ccfd-83df-47c3-b1d6-a55fde08177a

Check failure on line 130 in libs/standalone/protohelpers/ui/resources/request.js

See this annotation in the file changed.

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

Unexpected var, use let or const instead.

[S3504] Variables should be declared with "let" or "const"
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=751&issues=612c75bf-bea9-444d-8d79-d8f710e9c84a&open=612c75bf-bea9-444d-8d79-d8f710e9c84a

Check failure on line 688 in libs/standalone/protohelpers/ui/resources/form.js

See this annotation in the file changed.

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

Unexpected var, use let or const instead.

[S3504] Variables should be declared with "let" or "const"
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=751&issues=3aa11f27-4420-4414-a4be-a757f5ae9814&open=3aa11f27-4420-4414-a4be-a757f5ae9814

Check failure on line 242 in libs/standalone/protohelpers/ui/resources/request.js

See this annotation in the file changed.

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

Unexpected var, use let or const instead.

[S3504] Variables should be declared with "let" or "const"
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=751&issues=f07f6a9c-649d-48f3-8f57-4548b4c69b1e&open=f07f6a9c-649d-48f3-8f57-4548b4c69b1e

Check failure on line 622 in libs/standalone/protohelpers/ui/resources/request.js

See this annotation in the file changed.

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

Unexpected var, use let or const instead.

[S3504] Variables should be declared with "let" or "const"
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=751&issues=72f5a8d8-58dd-415c-9ec4-8bdd170a884e&open=72f5a8d8-58dd-415c-9ec4-8bdd170a884e

Check failure on line 73 in libs/standalone/protohelpers/ui/resources/form.js

See this annotation in the file changed.

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

Unexpected var, use let or const instead.

[S3504] Variables should be declared with "let" or "const"
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=751&issues=4b2688af-4021-473d-a2a5-ee903f320ab5&open=4b2688af-4021-473d-a2a5-ee903f320ab5

Check failure on line 280 in libs/standalone/protohelpers/ui/resources/form.js

See this annotation in the file changed.

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

Unexpected var, use let or const instead.

[S3504] Variables should be declared with "let" or "const"
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=751&issues=66c1f487-7d27-4621-a3c8-d3b231a53196&open=66c1f487-7d27-4621-a3c8-d3b231a53196

Check failure on line 372 in libs/standalone/protohelpers/ui/resources/form.js

See this annotation in the file changed.

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

Unexpected var, use let or const instead.

[S3504] Variables should be declared with "let" or "const"
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=751&issues=25090233-8cf0-4b07-be57-470387fc171f&open=25090233-8cf0-4b07-be57-470387fc171f

Check failure on line 224 in libs/standalone/protohelpers/ui/resources/subscriptions.js

See this annotation in the file changed.

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

Make sure the regex used here, which is vulnerable to super-linear runtime due to backtracking, cannot lead to denial of service.

[S5852] Using slow regular expressions is security-sensitive
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=751&issues=22c5299f-c07f-46be-b036-728bd9f774b4&open=22c5299f-c07f-46be-b036-728bd9f774b4

Check warning on line 39 in libs/standalone/protohelpers/ui/resources/values.js

See this annotation in the file changed.

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

Handle this exception or don't catch it at all.

[S2486] Exceptions should not be ignored
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=751&issues=ba9a5847-e56a-4c00-9068-17121f255f7b&open=ba9a5847-e56a-4c00-9068-17121f255f7b

Check failure on line 247 in libs/standalone/protohelpers/ui/resources/request.js

See this annotation in the file changed.

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

Unexpected var, use let or const instead.

[S3504] Variables should be declared with "let" or "const"
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=751&issues=3e82592e-a799-4537-b3b3-48cbdc2a90ae&open=3e82592e-a799-4537-b3b3-48cbdc2a90ae

Check failure on line 153 in libs/standalone/protohelpers/ui/resources/form.js

See this annotation in the file changed.

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

Unexpected var, use let or const instead.

[S3504] Variables should be declared with "let" or "const"
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=751&issues=3adb7522-b5a4-48fc-b2c6-50fdd2aca7ac&open=3adb7522-b5a4-48fc-b2c6-50fdd2aca7ac

Check failure on line 153 in libs/standalone/protohelpers/ui/resources/values.js

See this annotation in the file changed.

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

Unexpected var, use let or const instead.

[S3504] Variables should be declared with "let" or "const"
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=751&issues=9aa0abca-d989-42f1-b378-01842abb0bb5&open=9aa0abca-d989-42f1-b378-01842abb0bb5

Check failure on line 18 in libs/standalone/protohelpers/ui/resources/subscriptions.js

See this annotation in the file changed.

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

Unexpected var, use let or const instead.

[S3504] Variables should be declared with "let" or "const"
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=751&issues=d589b699-87a5-46b6-8675-d46a252d0f58&open=d589b699-87a5-46b6-8675-d46a252d0f58

Check failure on line 34 in libs/standalone/protohelpers/ui/resources/request.js

See this annotation in the file changed.

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

Unexpected var, use let or const instead.

[S3504] Variables should be declared with "let" or "const"
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=751&issues=00f03a6b-0400-4502-9f14-afb24426574b&open=00f03a6b-0400-4502-9f14-afb24426574b

Check warning on line 157 in libs/standalone/protohelpers/ui/resources/values.js

See this annotation in the file changed.

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

Use the 'String#endsWith' method instead.

[S6557] Ends of strings should be checked with "startsWith()" and "endsWith()"
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=751&issues=b4d4ffe1-cd59-4170-80c8-8ca066338d6d&open=b4d4ffe1-cd59-4170-80c8-8ca066338d6d

Check warning on line 354 in libs/standalone/protohelpers/ui/resources/form.js

See this annotation in the file changed.

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

Prefer using an optional chain expression instead, as it's more concise and easier to read.

[S6582] Optional chaining should be preferred
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=751&issues=0ac6e648-e494-4bc9-8050-591d4829cf16&open=0ac6e648-e494-4bc9-8050-591d4829cf16

Check failure on line 425 in libs/standalone/protohelpers/ui/resources/subscriptions.js

See this annotation in the file changed.

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

Unexpected var, use let or const instead.

[S3504] Variables should be declared with "let" or "const"
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=751&issues=377953c3-739f-4efe-a99b-54cb3eba8bd0&open=377953c3-739f-4efe-a99b-54cb3eba8bd0

Check failure on line 279 in libs/standalone/protohelpers/ui/resources/form.js

See this annotation in the file changed.

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

Unexpected var, use let or const instead.

[S3504] Variables should be declared with "let" or "const"
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=751&issues=e7b42a8b-c81f-4e17-890c-d9f219276655&open=e7b42a8b-c81f-4e17-890c-d9f219276655

Check warning on line 256 in libs/standalone/protohelpers/ui/resources/values.js

See this annotation in the file changed.

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

Handle this exception or don't catch it at all.

[S2486] Exceptions should not be ignored
 See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_capabilities&pullRequest=751&issues=ff1c8bf0-3e15-43a1-b0c2-da4fd21baf61&open=ff1c8bf0-3e15-43a1-b0c2-da4fd21baf61