Skip to content

Fix builder inspect showing known builders as untrusted#2571

Open
runesoerensen wants to merge 2 commits intobuildpacks:mainfrom
runesoerensen:runesoerensen/fix-builder-inspect-trusted
Open

Fix builder inspect showing known builders as untrusted#2571
runesoerensen wants to merge 2 commits intobuildpacks:mainfrom
runesoerensen:runesoerensen/fix-builder-inspect-trusted

Conversation

@runesoerensen
Copy link
Copy Markdown

Summary

builder_inspect.go was missing the IsKnownTrustedBuilder check that other commands already include, causing known trusted builders to always show as untrusted.

  • Add IsKnownTrustedBuilder check in builder_inspect.go, matching the pattern in build.go and config_trusted_builder.go

Output

Before

$ pack builder inspect heroku/builder:24
...
Trusted: No

After

$ pack builder inspect heroku/builder:24
...
Trusted: Yes

Documentation

  • Should this change be documented?
    • No

Related

Resolves #2570

Signed-off-by: Rune Soerensen <rsoerensen@salesforce.com>
Signed-off-by: Rune Soerensen <rsoerensen@salesforce.com>
@github-actions github-actions bot added the type/enhancement Issue that requests a new feature or improvement. label Apr 15, 2026
@github-actions github-actions bot added this to the 0.41.0 milestone Apr 15, 2026
@runesoerensen runesoerensen marked this pull request as ready for review April 15, 2026 04:47
@runesoerensen runesoerensen requested review from a team as code owners April 15, 2026 04:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/enhancement Issue that requests a new feature or improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pack builder inspect shows "Trusted: No" for known trusted builders

1 participant