Skip to content

Validation of deprecated io.buildpacks.stack.id is too aggressive - #51390

Open
scottfrederick wants to merge 1 commit into
spring-projects:4.0.xfrom
scottfrederick:gh-51166-buildpack-stack-id
Open

Validation of deprecated io.buildpacks.stack.id is too aggressive#51390
scottfrederick wants to merge 1 commit into
spring-projects:4.0.xfrom
scottfrederick:gh-51166-buildpack-stack-id

Conversation

@scottfrederick

Copy link
Copy Markdown
Contributor

Spring Boot's Buildpacks integration inspects the stack IDs contained
in labels on the builder image and run image. Prior to this change, it
was a failure condition when the stack IDs did not match. Stack IDs
have been deprecated in the CNB spec, and it is no longer required
that the builder and run images match. The validation of stack IDs
was changed from an error to a warning to match the `pack` reference
implementation.

Signed-off-by: Scott Frederick <scottyfred@gmail.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Aug 17, 2026
@wilkinsona wilkinsona changed the title Warn when builder and run image stack IDs do not match Validation of deprecated io.buildpacks.stack.id is too aggressive Aug 18, 2026
@wilkinsona wilkinsona added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Aug 18, 2026
@wilkinsona wilkinsona added this to the 4.0.x milestone Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug A general bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants