| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Automerge non-major gomod bumps (minor/patch), Go-toolchain bumps, and non-major GitHub Actions updates so Go-dep/stdlib CVE fixes land without manual review. Security updates get their own ungrouped, automerged path via vulnerabilityAlerts so a CVE fix is never blocked behind the grouped batch. Majors stay manual (automerge explicitly set to false). Automerge still waits for green CI before merging.
There was a problem hiding this comment.
Thanks for pushing this forward Carole 🙌
The automerge settings for non-major changes look reasonable 👍
I updated the following settings. Can you double-check before merging?
The default branch is localstack:

I enabled build and the RIE smoke test as mandatory checks. We also require PRs to be merged with a squash commit (following the LS standard):

❓ Two questions:
Sorry, something went wrong.
|
Security: Shall we consider enabling some standard security scan (e.g., upstream uses CodeQL https://github.com/aws/aws-lambda-runtime-interface-emulator/actions/workflows/github-code-scanning/codeql) as a quality gate to avoid shipping a dependency update with a known issue? |
Sorry, something went wrong.
|
I approved, but I agree - we should have a cooldown defined, and the lifecycle of the lambda images is also a thing to take into account! |
Sorry, something went wrong.
|
Re:cooldown @dfangl @joe4dev
I share the concern, however do you think it's blocking this PR?
@joe4dev what about removing the rule that enforces squash only? I've added "automergeStrategy": "squash" to the renovate config to make sure we always squash those: 6a6a2e7
Added a trivy scan e520701. I think it makes sense to use the same tool we use in https://github.com/localstack/secops wdyt? @joe4dev can you add this to the required checks for a PR merge? |
Sorry, something went wrong.
I don't think we should block this great progress, but let's take some precautions to mitigate the risk of breaking Lambda without prior warning for our enterprise customers using K8. Some ideas for at least better awareness (before we can harden the process): Add a warning to the lambda-images README and/or PR template to wait for 🟢 LocalStack tests before shipping a new RIE in Lambda images.
I don't think that changes anything because the current process requires force-pushing and branch protection disables that (which I think is a good think in general). Security: I added the new security check. Thanks for adding 👍 Adopting what we use by default sounds reasonable (I'm not up-to-date). |
Sorry, something went wrong.
Thanks @joe4dev, I understand better your concern now.
How does this look @joe4dev @dfangl? I would take care of this as part of my ticket since my goal is to fully automate the RIE CVEs remediation.
We could add the aws team to the bypass list, or create a new smaller dedicated team e.g. lambda-upstream-sync? |
Sorry, something went wrong.
|
Thank you @carole-lavillonniere for pushing the RIE CVE remediation 🙏 Using a pre-release might be a temporary option for now. I wanted to share some broader considerations/concerns; good to be aware of but not all in scope here:
Do I understand correctly that Docker would use a separate release (v0.2.1) than K8 (validated-v0.2.1)? We might want to (re-)consider the e2e release process:
Yeah, we can try that (both work as long as we're careful with force-pushing and don't give RenovateBot force-push permissions) |
Sorry, something went wrong.
|
Would it perhaps be easier not to use dependabot/renovatebot for this, but trigger an init update automatically after the PRO PR is merged, without a new release? I agree that the double release is not optimal. |
Sorry, something went wrong.
I did not mean for it to be a "separate release", but one single image that gets a new tag once validated, but @joe4dev your idea with making use of prereleases seems more sensible. What about this:
I know we have a call tomorrow so I am not expecting an answer now, just wanted to write this down as a base for discussion. @joe4dev I did not catch where you see a chicken-egg problem (that did not already exist), but looking forward to hearing your thoughts tomorrow. Note that this does not solve testing a new RIE with k8s, but as @joe4dev mentioned, this is out-of-scope and a bigger project. |
Sorry, something went wrong.
There was a problem hiding this comment.
What about this:
- lambda-runtime-init: renovate automerges non-major dep bumps. A weekly workflow patch-bumps and publishes one release, eg v0.2.1, marked prerelease: true. The binary is built once, here.
- localstack-pro: a weekly workflow opens a PR bumping LAMBDA_RUNTIME_DEFAULT_VERSION prerelease, with a team as assignee/reviewers. On merge (when CI is green): flip that RIE release to prerelease: false via the API (No second tag, no rebuild)
- lambda-images: Renovate picks up the now-stable RIE version and opens a PR.
That sounds good 👍 Thanks for the refinement adopting pre-releases.
@joe4dev I did not catch where you see a chicken-egg problem (that did not already exist), but looking forward to hearing your thoughts tomorrow.
The chicken-egg problem is that lambda-images are now released at the end of the workflow (potentially with a time delay), but would need to be available for testing K8 before merging version pins of lambda-images in localstack-pro.
As discussed in today's sync, let's move ahead with this CVE automation and tackle the RIE version management (DEVX-327) and K8 testing in a follow-up. We should prioritize RIE version management if we want a way to get rid of the chicken-and-egg problem in the future. In the meantime, we should stay alert and jump on potential incidents ASAP.
Sorry, something went wrong.
There was a problem hiding this comment.
Let's follow up with proper version pinning for k8s, as discussed, but for now I agree this is a better approach, LGTM!
Sorry, something went wrong.
@joe4dev are you able to add the aws team to the bypass list? |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Towards COSY-807
Related to #108
Automerge renovate PR for non major bumps
The goal is to have vulnerabilities auto-resolve weekly without human intervention.
⚠️ Can a repo admin add branch protection and make the CI checks required before merging?