Skip to content

feat(pipeline): add warnings to pipelines that use legacy YAML lib or…

Codecov / codecov/project failed Dec 31, 2024 in 0s

56.66% (target 90.00%)

View this Pull Request on Codecov

56.66% (target 90.00%)

Details

Codecov Report

Attention: Patch coverage is 68.84058% with 43 lines in your changes missing coverage. Please review.

Project coverage is 56.66%. Comparing base (794c666) to head (8d15c21).

Files with missing lines Patch % Lines
compiler/template/starlark/render.go 40.00% 24 Missing ⚠️
internal/yaml.go 64.70% 6 Missing ⚠️
compiler/native/parse.go 82.60% 4 Missing ⚠️
compiler/template/native/render.go 86.36% 3 Missing ⚠️
database/types/pipeline.go 66.66% 2 Missing and 1 partial ⚠️
compiler/native/expand.go 66.66% 2 Missing ⚠️
api/pipeline/template.go 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1232      +/-   ##
==========================================
+ Coverage   56.61%   56.66%   +0.04%     
==========================================
  Files         626      626              
  Lines       35495    35541      +46     
==========================================
+ Hits        20096    20139      +43     
- Misses      14720    14722       +2     
- Partials      679      680       +1     
Files with missing lines Coverage Δ
api/types/pipeline.go 100.00% <100.00%> (ø)
compiler/native/compile.go 69.35% <100.00%> (+0.14%) ⬆️
database/pipeline/table.go 100.00% <ø> (ø)
database/testutils/api_resources.go 94.87% <100.00%> (+0.01%) ⬆️
mock/server/pipeline.go 0.00% <ø> (ø)
api/pipeline/template.go 0.00% <0.00%> (ø)
compiler/native/expand.go 67.68% <66.66%> (ø)
compiler/template/native/render.go 88.00% <86.36%> (+1.43%) ⬆️
database/types/pipeline.go 92.56% <66.66%> (-2.09%) ⬇️
compiler/native/parse.go 85.12% <82.60%> (+0.12%) ⬆️
... and 2 more