Skip to content

v0 Wave A: constructs + Definition Graph - #38

Merged
ThePlenkov merged 5 commits into
mainfrom
v0-a-constructs
Aug 13, 2026
Merged

ThePlenkov merged 5 commits into
mainfrom
v0-a-constructs

refactor(core): extract synthesizeStep into smaller helpers

c956507
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 13, 2026 in 1m 15s

Annotations

Check warning on line 84 in packages/constructs/src/__tests__/constructs.test.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer "expect(pipeline.node.children.filter((c) => c instanceof ShellStep)).toHaveLength(2)" over this generic assertion for better reporting; it works on any object with a numeric length property.

See more on https://sonarcloud.io/project/issues?id=sverka-dev_sverka&issues=AZ_9Dcl2IeMYNSpD2j6n&open=AZ_9Dcl2IeMYNSpD2j6n&pullRequest=38

Check warning on line 17 in packages/core/src/__tests__/synthesize.test.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer "expect(graph.project.pipelines).toHaveLength(1)" over this generic assertion for better reporting; it works on any object with a numeric length property.

See more on https://sonarcloud.io/project/issues?id=sverka-dev_sverka&issues=AZ_9DcltIeMYNSpD2j6k&open=AZ_9DcltIeMYNSpD2j6k&pullRequest=38

Check warning on line 151 in packages/core/src/__tests__/graph.test.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer "expect(pipeline.outputs).toHaveLength(1)" over this generic assertion for better reporting; it works on any object with a numeric length property.

See more on https://sonarcloud.io/project/issues?id=sverka-dev_sverka&issues=AZ_9DckfIeMYNSpD2j6j&open=AZ_9DckfIeMYNSpD2j6j&pullRequest=38

Check warning on line 83 in packages/constructs/src/__tests__/constructs.test.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer "expect(pipeline.node.children).toHaveLength(3)" over this generic assertion for better reporting; it works on any object with a numeric length property.

See more on https://sonarcloud.io/project/issues?id=sverka-dev_sverka&issues=AZ_9Dcl2IeMYNSpD2j6m&open=AZ_9Dcl2IeMYNSpD2j6m&pullRequest=38

Check warning on line 85 in packages/constructs/src/__tests__/constructs.test.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer "expect(pipeline.node.children.filter((c) => c instanceof Entry)).toHaveLength(1)" over this generic assertion for better reporting; it works on any object with a numeric length property.

See more on https://sonarcloud.io/project/issues?id=sverka-dev_sverka&issues=AZ_9Dcl2IeMYNSpD2j6o&open=AZ_9Dcl2IeMYNSpD2j6o&pullRequest=38

Check warning on line 49 in packages/core/src/__tests__/graph.test.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer "expect(step.dependencies).toHaveLength(0)" over this generic assertion for better reporting; it works on any object with a numeric length property.

See more on https://sonarcloud.io/project/issues?id=sverka-dev_sverka&issues=AZ_9DckfIeMYNSpD2j6h&open=AZ_9DckfIeMYNSpD2j6h&pullRequest=38

Check warning on line 150 in packages/core/src/__tests__/graph.test.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer "expect(pipeline.inputs).toHaveLength(1)" over this generic assertion for better reporting; it works on any object with a numeric length property.

See more on https://sonarcloud.io/project/issues?id=sverka-dev_sverka&issues=AZ_9DckfIeMYNSpD2j6i&open=AZ_9DckfIeMYNSpD2j6i&pullRequest=38

Check warning on line 30 in packages/core/src/__tests__/graph.test.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer "expect(graph.project.pipelines).toHaveLength(1)" over this generic assertion for better reporting; it works on any object with a numeric length property.

See more on https://sonarcloud.io/project/issues?id=sverka-dev_sverka&issues=AZ_9DckfIeMYNSpD2j6g&open=AZ_9DckfIeMYNSpD2j6g&pullRequest=38

Check warning on line 80 in packages/constructs/src/__tests__/constructs.test.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer "expect(proj.node.children).toHaveLength(1)" over this generic assertion for better reporting; it works on any object with a numeric length property.

See more on https://sonarcloud.io/project/issues?id=sverka-dev_sverka&issues=AZ_9Dcl2IeMYNSpD2j6l&open=AZ_9Dcl2IeMYNSpD2j6l&pullRequest=38