Fix/update lambda logger dependency to be compatible with Node.js 24#1238
Conversation
📝 WalkthroughWalkthroughA dependency version bump for Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
Pre-merge checks and finishing touches❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (6)📓 Common learnings📚 Learning: 2025-08-22T21:20:35.260ZApplied to files:
📚 Learning: 2025-07-21T20:40:56.491ZApplied to files:
📚 Learning: 2025-08-12T19:49:48.235ZApplied to files:
📚 Learning: 2025-08-12T19:49:24.999ZApplied to files:
📚 Learning: 2025-11-21T01:00:00.678ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@jlkravitz This is ready for your review. We wlll want to get this merged into main before we release any future deployments to the prod environment, otherwise the system will not be able to create any new user accounts for both staff and providers. |
While smoke testing a new feature, it was discovered that the lambda responsible for sending out Cognito emails was no longer functioning as a result of the recent update to the Node.js 24 runtime with the following error message:
Although we confirmed that the lambda handler definition was using the proper async/await syntax, further investigation showed that the lambda is wrapped with a powertools logger decorator which was altering the way the function was called which was incompatible with the Node.js runtime upgrade. The solution was to upgrade the lambda powertools logger dependency to the latest version.
Summary by CodeRabbit
Release Notes
✏️ Tip: You can customize this high-level summary in your review settings.