Skip to content

fix(lambda): bump @middy/core from 6.4.5 to 7.1.2 in /lambdas#4999

Open
dependabot[bot] wants to merge 7 commits into
mainfrom
dependabot/npm_and_yarn/lambdas/middy/core-7.0.2
Open

fix(lambda): bump @middy/core from 6.4.5 to 7.1.2 in /lambdas#4999
dependabot[bot] wants to merge 7 commits into
mainfrom
dependabot/npm_and_yarn/lambdas/middy/core-7.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jan 16, 2026

Copy link
Copy Markdown
Contributor

Description

Bumps @middy/core from 6.4.5 to 7.1.2 in /lambdas.

This PR also updates the affected Lambda handlers to keep the AWS Powertools middleware wiring compatible with Middy v7, and adjusts the webhook config-loader test expectation to match the current combined matcher-config error output.

Test Plan

  • Ran yarn nx run @aws-github-runner/webhook:test
  • Ran yarn nx run-many --target=test --projects=@aws-github-runner/control-plane,@aws-github-runner/gh-agent-syncer,@aws-github-runner/termination-watcher,@aws-github-runner/webhook
  • Ran yarn nx run-many --target=build --projects=@aws-github-runner/control-plane,@aws-github-runner/gh-agent-syncer,@aws-github-runner/termination-watcher,@aws-github-runner/webhook

Related Issues

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 16, 2026
@dependabot dependabot Bot requested a review from a team as a code owner January 16, 2026 19:48
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 16, 2026
@github-actions

github-actions Bot commented Jan 16, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 4 package(s) with unknown licenses.
See the Details below.

License Issues

lambdas/functions/control-plane/package.json

PackageVersionLicenseIssue Type
@middy/core^7.1.2NullUnknown License

lambdas/functions/gh-agent-syncer/package.json

PackageVersionLicenseIssue Type
@middy/core^7.1.2NullUnknown License

lambdas/functions/termination-watcher/package.json

PackageVersionLicenseIssue Type
@middy/core^7.1.2NullUnknown License

lambdas/functions/webhook/package.json

PackageVersionLicenseIssue Type
@middy/core^7.1.2NullUnknown License

OpenSSF Scorecard

PackageVersionScoreDetails
npm/@middy/core ^7.1.2 UnknownUnknown
npm/@middy/core ^7.1.2 UnknownUnknown
npm/@middy/core ^7.1.2 UnknownUnknown
npm/@middy/core ^7.1.2 UnknownUnknown
npm/@middy/core 7.1.3 🟢 10
Details
CheckScoreReason
Dependency-Update-Tool🟢 10update tool detected
Security-Policy🟢 10security policy file detected
Code-Review🟢 10all changesets reviewed
Maintained🟢 1030 commit(s) and 15 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies🟢 10all dependencies are pinned
License🟢 10license file detected
CII-Best-Practices🟢 10badge detected: Gold
Packaging🟢 10packaging workflow detected
Vulnerabilities🟢 100 existing vulnerabilities detected
Fuzzing🟢 10project is fuzzed
Signed-Releases⚠️ -1no releases found
Branch-Protection🟢 10branch protection is fully enabled on development and all release branches
SAST🟢 10SAST tool is run on all commits
CI-Tests🟢 107 out of 7 merged PRs checked by a CI test -- score normalized to 10
Contributors🟢 10project has 29 contributing companies or organizations
npm/@middy/util 7.1.3 🟢 10
Details
CheckScoreReason
Dependency-Update-Tool🟢 10update tool detected
Security-Policy🟢 10security policy file detected
Code-Review🟢 10all changesets reviewed
Maintained🟢 1030 commit(s) and 15 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies🟢 10all dependencies are pinned
License🟢 10license file detected
CII-Best-Practices🟢 10badge detected: Gold
Packaging🟢 10packaging workflow detected
Vulnerabilities🟢 100 existing vulnerabilities detected
Fuzzing🟢 10project is fuzzed
Signed-Releases⚠️ -1no releases found
Branch-Protection🟢 10branch protection is fully enabled on development and all release branches
SAST🟢 10SAST tool is run on all commits
CI-Tests🟢 107 out of 7 merged PRs checked by a CI test -- score normalized to 10
Contributors🟢 10project has 29 contributing companies or organizations

Scanned Files

  • lambdas/functions/control-plane/package.json
  • lambdas/functions/gh-agent-syncer/package.json
  • lambdas/functions/termination-watcher/package.json
  • lambdas/functions/webhook/package.json
  • lambdas/yarn.lock

@npalm

npalm commented Jan 30, 2026

Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/lambdas/middy/core-7.0.2 branch from f66d804 to f209721 Compare January 30, 2026 20:11
@npalm

npalm commented Jan 30, 2026

Copy link
Copy Markdown
Member

Would be better to test this pr on a deployment due to major bump.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/lambdas/middy/core-7.0.2 branch 4 times, most recently from abdba02 to 826f39b Compare February 13, 2026 21:03
@npalm

npalm commented Mar 9, 2026

Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/lambdas/middy/core-7.0.2 branch from 826f39b to 62154c0 Compare March 9, 2026 21:10
Bumps [@middy/core](https://github.com/middyjs/middy/tree/HEAD/packages/core) from 6.4.5 to 7.0.2.
- [Release notes](https://github.com/middyjs/middy/releases)
- [Changelog](https://github.com/middyjs/middy/blob/main/docs/RELEASE.md)
- [Commits](https://github.com/middyjs/middy/commits/7.0.2/packages/core)

---
updated-dependencies:
- dependency-name: "@middy/core"
  dependency-version: 7.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/lambdas/middy/core-7.0.2 branch from 62154c0 to ede1c40 Compare March 9, 2026 21:12
@npalm npalm marked this pull request as draft March 10, 2026 18:04
@npalm

npalm commented Mar 10, 2026

Copy link
Copy Markdown
Member

@Brend-Smits @edersonbrilhante I have upgraded manual to Middy 7 with thanks to copilot. Tested (multi-runner) the changes including X-Ray. It looks working smooth. But the middy layer is crucial in Lambda. So would great if one of you can run a double check.

@npalm npalm marked this pull request as ready for review March 10, 2026 18:22
@dependabot @github

dependabot Bot commented on behalf of github Mar 13, 2026

Copy link
Copy Markdown
Contributor Author

A newer version of @​middy/core exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@npalm

npalm commented Jun 10, 2026

Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@npalm

npalm commented Jun 10, 2026

Copy link
Copy Markdown
Member

@copilot can you fix this pr?

Copilot AI commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

@copilot can you fix this pr?

Fixed in 8b38581. I updated the webhook test to match the current combined matcher-config error output and re-ran the affected lambda tests.

Copilot AI changed the title fix(lambda): bump @middy/core from 6.4.5 to 7.0.2 in /lambdas fix(lambda): bump @middy/core from 6.4.5 to 7.1.2 in /lambdas Jun 10, 2026
Copilot finished work on behalf of npalm June 10, 2026 06:33
Copilot AI requested a review from npalm June 10, 2026 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants