Skip to content

introduce DisplayName option in renderOptions#4476

Open
dgyorgy-nokia wants to merge 3 commits intokptdev:mainfrom
nokia:async-pipeline
Open

introduce DisplayName option in renderOptions#4476
dgyorgy-nokia wants to merge 3 commits intokptdev:mainfrom
nokia:async-pipeline

Conversation

@dgyorgy-nokia
Copy link
Copy Markdown

@dgyorgy-nokia dgyorgy-nokia commented Apr 13, 2026

Description

Sync changes from porch (nokia-fork)

This logging related change is still missing from the kpt, which is modified back in the porch repository. This is used by the async render pipeline implementation.
Mainly is just about having an optional DisplayName field for the Renderer for logging purposes.

Related porch issue: nephio-project/nephio#922

Copilot AI review requested due to automatic review settings April 13, 2026 12:38
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 13, 2026

Deploy Preview for kptdocs ready!

Name Link
🔨 Latest commit 2d5160d
🔍 Latest deploy log https://app.netlify.com/projects/kptdocs/deploys/69dd13828e1556000742da97
😎 Deploy Preview https://deploy-preview-4476--kptdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. area/porch labels Apr 13, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Syncs a missing change from the porch fork by extending renderer configuration to support a human-friendly renderer “DisplayName” (primarily for logging in the async render pipeline).

Changes:

  • Add DisplayName to RenderOptions for renderer identification/logging.
  • Reformat RenderOptions field alignment for readability.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pkg/fn/render.go
Comment thread pkg/fn/render.go Outdated
@dgyorgy-nokia dgyorgy-nokia marked this pull request as draft April 13, 2026 12:50
@dgyorgy-nokia dgyorgy-nokia marked this pull request as ready for review April 13, 2026 15:14
Copilot AI review requested due to automatic review settings April 13, 2026 15:14
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. go Pull requests that update Go code and removed size:XS This PR changes 0-9 lines, ignoring generated files. labels Apr 13, 2026
@dgyorgy-nokia dgyorgy-nokia changed the title add DisplayName to renderOptions introduce DisplayName option in renderOptions Apr 13, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread internal/util/render/executor.go
Comment thread pkg/printer/printer.go
Comment thread pkg/lib/kptops/render.go
Comment thread pkg/printer/printer.go
Comment thread internal/util/render/executor.go
Signed-off-by: Daniel Gyorgy <daniel.gyorgy@nokia.com>
Signed-off-by: Daniel Gyorgy <daniel.gyorgy@nokia.com>
Signed-off-by: Daniel Gyorgy <daniel.gyorgy@nokia.com>
@dosubot dosubot bot added the lgtm label Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/porch go Pull requests that update Go code lgtm size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants