crossplane-contrib / crossplane-contrib/function-kcl

Print function is not printing in stdout of function KCL pod.

Closed
#453 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
87
Forks
44
Avg merge
10h 43m
Merged PRs (30d)
18

Description

### What happened?

`print(...)` no longer print into function KCL pod logs.

### How can we reproduce it?

using `v0.12.3` function KCL, while `v0.12.1` was able to print composition pipeline logs into the function KCL pod.

Tried `--debug` debug mode was turn on through `DeploymentRuntimeConfig`, still not working.

### What environment did it happen in?
Function version: v0.12.3
Crossplane version: v2.3.4

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the missing print output with function KCL v0.12.3 and Crossplane v2.3.4, then compare it with v0.12.1 and the DeploymentRuntimeConfig debug setting. Inspect the function's logging path and pod logs; done means print(...) output appears in the KCL function pod logs as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
backend, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.