Automatic release of patches for buildpacks #28
Replies: 3 comments 9 replies
-
|
@loewenstein - yes that's consistent with my understanding, too. However there are more steps than you highlight. The full process is as follows:
So we see there are two types of manual steps - labeling the PR and creating a release. This is true for both the language-family buildpack (e.g. We potentially could automate the semver labeling - even just on a per-dependency basis if we wanted to be conservative. I'm a little more hesitant to automate release creation because we would have to account for the fact that dependency bumps might get merged in the middle of an active track of work, and we currently do not use branches or feature flags for active tracks of work. Taking a step back from a potential solution, what is the underlying issue you are trying to solve? Are you feeling pain around the release frequency of upstream dependencies in the buildpack ecosystem? |
Beta Was this translation helpful? Give feedback.
-
|
Something I've been thinking about: We could set up component (e.g. go-dist) and language family (e.g. go) buildpacks to auto-release when the release would be a patch version; this would avoid automatically releasing features/breaking changes, but would take some manual work out of patching CVEs in buildpacks. In my opinion, this is a lower lift than implementing semver autolabeling for dependency bumps because it avoids having to parse I think more semver auto-labeling would certainly make my life as a maintainer easier, but it's not the lowest hanging fruit right now. |
Beta Was this translation helpful? Give feedback.
-
|
Sorry, all. I've been OOO so just getting to this conversation now. On the Java side we...
If there is a critical security issue, we'll cut an immediate release of the affected component buildpack & likely also the composite buildpack, depending on how things are impacted. I have no interest in automating the release cycle more than it is presently at this time. The manual inspection of dependency PRs and manually determining when we are ready to release allows us to catch issues that could be problematic for the community. As I've said in other discussions, I would much rather get dependencies out of the buildpacks. Then we can fully automate the availability of dependencies for buildpack users and get into a saner release cycle for buildpacks that is largely feature driven. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I just had a brief conversation with @fg-j about the degree of patch and release automation for stacks and I was wondering where we are with regards to this for buildpacks.
My understanding is that dependencies get tracked for updates automatically, but this has multiple manual interaction points with maintainers.
Once to merge a dependency bump PR and once more to cut a release. Is that understanding correct?
I can see this as required and even valuable for bumps that provide larger changes, i.e. major or minor bumps or depending on the dependencies and their history of breaking changes even patch bumps of specific dependencies.
However, for “usually well behaving” dependencies, users would greatly benefit from fast and fully automated delivery of fixes, in particular security patches.
What do you all think?
Beta Was this translation helpful? Give feedback.
All reactions