Chore: bump kubevela/pkg for CEL null results and cuex call errors
Merged
BR
6d ago+3+3+0123456789-3-3-0123456789
Description of your changes
Bumps github.com/kubevela/pkg to ed78b6ef (kubevela/pkg#155), so its two fixes reach the workflow engine:
- CEL null results. A
$( )expression that answersnullreached a step's properties as protobuf'sNULL_VALUE. A whole-value read became0, and a read inside text became the textNULL_VALUE. It is now a real null, and text refuses to embed one, with a hint to guard the read. - Readable provider-call errors. A failed provider call's error ended with the call's whole CUE value, and that is what a step's message showed. It now names the call and what the provider reported.
Only go.mod and go.sum change; no other module moves.
I have:
- Read and followed KubeVela's contribution process.
- Related Docs updated properly. In a new feature or configuration option, an update to the documentation is necessary.
- Run
make reviewableto ensure this PR is ready for review. - Added
backport release-x.ylabels to auto-backport this PR if necessary.
How has this code been tested
go build ./...andgo testacross every package, with envtest. All pass exceptTestSendEmailin the two email provider packages, which fails identically onmainwhen run on macOS arm64: gomonkey's binary patching is refused there (permission denied). Linux CI is unaffected.make reviewable: golangci-lint and staticcheck are clean. As onmain, it also regenerates three files this change does not touch (the deepcopy header, the WorkflowStepDefinition CRD synced from KubeVela master, and the chart README's table widths), so they are left out.
Special notes for your reviewer
KubeVela then bumps both this module and pkg, in a separate PR.
Summary by cubic
Summary
Bumps github.com/kubevela/pkg to ed78b6ef so its two fixes reach the workflow engine:
- A
$( )expression that answersnullnow reaches a step's properties as null instead of protobuf'sNULL_VALUE. Previously a whole-value read became0and a read inside text became the textNULL_VALUE; text now refuses to embed a null, with a hint to guard the read. - A failed provider call's error no longer contains the call's whole CUE value. A step's message now names the call and what the provider reported.
Only go.mod and go.sum change.