Skip to content

[RELEASE] 0.27.2#249

Merged
ava-silver merged 1 commit into
mainfrom
ava.silver/release/0.27.2
May 6, 2026
Merged

[RELEASE] 0.27.2#249
ava-silver merged 1 commit into
mainfrom
ava.silver/release/0.27.2

Conversation

@ava-silver
Copy link
Copy Markdown
Contributor

@ava-silver ava-silver commented May 6, 2026

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 with Cannot find module 'loglevel'.

Motivation

v0.27.0 and v0.27.1 both shipped a broken zip (the postbuild install step never ran due to yarn berry not invoking arbitrary pre/post hooks). Customers on those versions hit Runtime.ImportModuleError on every macro invocation. See #242 for the customer report.

Zip diff (proof the fix works)

v0.27.1 release zip 0.27.2 staging zip (commit 4a10002, CI-built)
Size 128 KB 3.68 MB compressed (9.1 MB uncompressed)
File count 148 4274
node_modules/ present? ❌ None ✅ Yes (loglevel, @aws-sdk, @smithy, etc.)
require('./src/index.js') from extracted zip Cannot find module 'loglevel' ✅ Loads cleanly

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

  • The fix and CI guard both shipped in chore: fix missing node_modules in lambda zip v2 #248
  • After this version bump merges and is tagged, follow the usual prod release process: tag serverless-macro-0.27.2 → run release macro in prod job → verify the new zip on GitHub releases has node_modules/ before publishing the draft

Types of changes

  • Bug fix
  • Release

Copy link
Copy Markdown
Contributor Author

ava-silver commented May 6, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ava-silver ava-silver marked this pull request as ready for review May 6, 2026 18:43
@ava-silver ava-silver requested a review from a team as a code owner May 6, 2026 18:43
@ava-silver ava-silver requested a review from avangelillo May 6, 2026 18:43
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.72%. Comparing base (4a10002) to head (d7483b7).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ava-silver ava-silver merged commit 4447d7f into main May 6, 2026
11 checks passed
@ava-silver ava-silver deleted the ava.silver/release/0.27.2 branch May 6, 2026 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants