Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement RFC0052: Graceful Stack Upgrades #572

Closed
Tracked by #237
ryanmoran opened this issue Aug 16, 2022 · 3 comments
Closed
Tracked by #237

Implement RFC0052: Graceful Stack Upgrades #572

ryanmoran opened this issue Aug 16, 2022 · 3 comments
Assignees

Comments

@ryanmoran
Copy link
Member

RFC

Summary

All Paketo Buildpacks should support graceful stack upgrades between the current Bionic and Jammy stacks. For most buildpacks, this should not require any changes, but for some buildpacks, layers created in previous builds that would normally be reused should be recreated if the stack ID changes.

Action Item

Consider what types of buildpacks would be impacted by a stack upgrade and make any relevant changes that would help to mitigate issues caused by that upgrade. If there is no work to be done, please comment on this issue explaining the context that helped to arrive at that conclusion.

@ryanmoran ryanmoran moved this to ❓Not scoped in Paketo Workstreams Aug 16, 2022
@fg-j fg-j added the status/blocked This issue has been triaged and resolving it is blocked on some other issue label Oct 10, 2022
@fg-j
Copy link

fg-j commented Oct 10, 2022

Blocked by #558

@sophiewigmore sophiewigmore moved this from ❓Not scoped to 🚧 In Progress in Paketo Workstreams Dec 6, 2022
@sophiewigmore sophiewigmore self-assigned this Dec 6, 2022
@sophiewigmore
Copy link
Member

In investigating this issue, I didn't encounter any issues with stack upgrades for any of the PHP sample apps (except the vendored app, but that's a separate issue). I also built a laravel app with the steps outlined here. That app fails to build due to issues with Jammy, unrelated to upgrading the stack.

Even though I have not seen any failures, I think it would be prudent to clear the composer-install buildpack composer packages cache on stack upgrades. Some packages rely on dependencies like openssl and I think there is a chance that reusing the packages could cause issues with extensions.

@sophiewigmore sophiewigmore removed the status/blocked This issue has been triaged and resolving it is blocked on some other issue label Dec 7, 2022
@sophiewigmore sophiewigmore moved this from 🚧 In Progress to ✅ Done in Paketo Workstreams Dec 7, 2022
@sophiewigmore
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants