Skip to content

Conversation

@MarekSuchanek
Copy link
Member

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR optimizes Lambda package sizes by adding cleanup steps to remove unnecessary files and implementing size validation in the CI/CD workflow.

Changes:

  • Added --no-cache-dir flag to pip install commands to reduce package size
  • Implemented cleanup of test directories, cache files, bytecode, and metadata directories
  • Added CI workflow steps to validate both compressed and uncompressed Lambda package sizes against the 250 MB AWS limit

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 7 comments.

File Description
packages/dsw-mailer/Makefile Added --no-cache-dir flag and cleanup steps to remove tests, cache, bytecode, and metadata files from Lambda package
packages/dsw-data-seeder/Makefile Applied same optimization changes as dsw-mailer for consistency
.github/workflows/lambda.yml Added size validation checks for both compressed and uncompressed Lambda packages

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@MarekSuchanek MarekSuchanek merged commit bd56c2d into develop Jan 10, 2026
35 checks passed
@MarekSuchanek MarekSuchanek deleted the optimize/lambda-packages branch January 10, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants