Skip to content

Improve logging of render pipeline execution (part 1) - #4678

Merged
liamfallon merged 12 commits into
kptdev:mainfrom
nokia:pkg-display-name
Aug 7, 2026
Merged

Improve logging of render pipeline execution (part 1)#4678
liamfallon merged 12 commits into
kptdev:mainfrom
nokia:pkg-display-name

Conversation

@mozesl-nokia

@mozesl-nokia mozesl-nokia commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

The main visible change in this PR is that now for every log line in render that starts with [RUNNING] we also log the package name after it. Also, the ":" in OptPrintf was moved to after the package name. These were supposed to be part of the "port additional changes from Porch" but got lost somewhere in the merges.

The bulk of the changes are actually under the hood, preparing for a more in-depth change of the whole printer interface. This is mainly some new custom printer formatting options which can accomodate Porch's naming scheme for subpackages.

Auxiliary changes:

  • added linker flags to all the test make targets

*Update: Looking into the docs revealed that when we merged things from Porch we actually lost a lot of the formatting (newlines, indentation, etc.). I mostly reverted those changes so the formatting now matches what was in the docs. Also updated the docs to contain the "on package..." on the appropriate lines.

AI attribution:

  • Cursor's Grok 4.5 was used to update the E2E test configs the second time around.

@mozesl-nokia
mozesl-nokia requested review from a team August 3, 2026 15:26
@mozesl-nokia mozesl-nokia added area/hydrate area/fn-runtime KRM function runtime go Pull requests that update Go code labels Aug 3, 2026
@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Aug 3, 2026
@netlify

netlify Bot commented Aug 3, 2026

Copy link
Copy Markdown

Deploy Preview for kptdocs ready!

Name Link
🔨 Latest commit 2b32161
🔍 Latest deploy log https://app.netlify.com/projects/kptdocs/deploys/6a74a2f5b0651c00088a82f3
😎 Deploy Preview https://deploy-preview-4678--kptdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@dosubot

dosubot Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

📄 Knowledge review

✏️ Suggested updates

2 page suggestions need review.

Page Library Status
_index /kpt/blob/main/documentation/content/en/book/07-effective-customizations/_index.md kpt ⬆️ Pushed to this PR
_index /kpt/blob/main/documentation/content/en/book/04-using-functions/_index.md kpt ⬆️ Pushed to this PR

Leave Feedback Ask Dosu about kpt Add Dosu to your team

@dosubot dosubot Bot added the lgtm label Aug 6, 2026
@efiacor

efiacor commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

I guess this, and subsequent changes will require doc and test updates.

@mozesl-nokia

Copy link
Copy Markdown
Contributor Author

@efiacor it looks like Dosu did catch at least some of the needed changes (and some that are not), but I don't see a way to accept it's changes...

Signed-off-by: Mózes László Máté <laszlo.mozes@nokia.com>
Signed-off-by: Mózes László Máté <laszlo.mozes@nokia.com>
Signed-off-by: Mózes László Máté <laszlo.mozes@nokia.com>
Signed-off-by: Mózes László Máté <laszlo.mozes@nokia.com>
Signed-off-by: Mózes László Máté <laszlo.mozes@nokia.com>
Signed-off-by: Mózes László Máté <laszlo.mozes@nokia.com>
…in log message

Signed-off-by: Mózes László Máté <laszlo.mozes@nokia.com>
Signed-off-by: Mózes László Máté <laszlo.mozes@nokia.com>
Signed-off-by: Mózes László Máté <laszlo.mozes@nokia.com>
Signed-off-by: Mózes László Máté <laszlo.mozes@nokia.com>
…ter formatting back to docs

Signed-off-by: Mózes László Máté <laszlo.mozes@nokia.com>
Signed-off-by: Mózes László Máté <laszlo.mozes@nokia.com>
Assisted-by: Cursor:grok-4.5
@sonarqubecloud

sonarqubecloud Bot commented Aug 6, 2026

Copy link
Copy Markdown

@mozesl-nokia

Copy link
Copy Markdown
Contributor Author

Looking through the docs, the current formatting of the logs looked way off compared to the docs, so I matched them back to the docs.

@liamfallon
liamfallon merged commit 3aa209b into kptdev:main Aug 7, 2026
30 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/fn-runtime KRM function runtime area/hydrate go Pull requests that update Go code lgtm size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants