Skip to content

Document lookup function debug logging#2107

Open
promptless-for-oss wants to merge 1 commit into
helm:mainfrom
Promptless:promptless/document-lookup-debug-logging
Open

Document lookup function debug logging#2107
promptless-for-oss wants to merge 1 commit into
helm:mainfrom
Promptless:promptless/document-lookup-debug-logging

Conversation

@promptless-for-oss
Copy link
Copy Markdown
Contributor

Open this suggestion in Promptless to view citations and reasoning process

Adds a new section to the debugging templates guide explaining how to use debug mode to diagnose why the lookup function returns empty results. Documents the three debug log messages and common causes.

Trigger Events


Tip: Whenever you leave a comment tagged @Promptless on a Promptless PR, Promptless will remember it for future suggestions 🧠

Document debug logging messages that help users diagnose why the
lookup function returns empty results. Covers messages for not found
objects, empty list queries, and missing Kubernetes client connection.

Signed-off-by: promptless[bot] <promptless[bot]@users.noreply.github.com>
errors blocking.

## Debugging the `lookup` function

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added this section based on PR #32124, which adds debug-level logging to the lookup function in pkg/engine/lookup_func.go and pkg/engine/funcs.go. The exact log messages documented come from the PR diff.

Source: helm/helm#32124

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant