[RELEASE] 0.27.2#249
Merged
Merged
Conversation
avangelillo
approved these changes
May 6, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #249 +/- ##
=======================================
Coverage 82.72% 82.72%
=======================================
Files 19 19
Lines 938 938
Branches 231 231
=======================================
Hits 776 776
Misses 91 91
Partials 71 71 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What does this PR do?
Bumps the macro version to 0.27.2. Picks up the fix from #248: the macro Lambda zip now actually contains
node_modules/, so cold starts no longer crash withCannot find module 'loglevel'.Motivation
v0.27.0 and v0.27.1 both shipped a broken zip (the
postbuildinstall step never ran due to yarn berry not invoking arbitrarypre/posthooks). Customers on those versions hitRuntime.ImportModuleErroron every macro invocation. See #242 for the customer report.Zip diff (proof the fix works)
node_modules/present?require('./src/index.js')from extracted zipCannot find module 'loglevel'The staging zip from the GitLab pipeline run on #248 was confirmed at
s3://datadog-cloudformation-template-sandbox-staging/aws/serverless-macro-staging-zip/serverless-macro-4a10002d0c25010c04916588563fa99ff0902490.zip.Testing Guidelines
serverless-macro-0.27.2→ runrelease macro in prodjob → verify the new zip on GitHub releases hasnode_modules/before publishing the draftTypes of changes