Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MM-60556] Update Golang, server model, and lambda runtime #457

Merged
merged 2 commits into from
Sep 17, 2024

Conversation

streamer45
Copy link
Contributor

Summary

The first commit is just applying previously reviewed changes found in #453

The second commit is migrating from the deprecated go1.x lambda runtime to a supported one (using provided.al2023). I have been following https://aws.amazon.com/blogs/compute/migrating-aws-lambda-functions-from-the-go1-x-runtime-to-the-custom-runtime-on-amazon-linux-2/ plus some Golang specific changes, most notably the need for the binary to be called bootstrap hence some packaging modifications.

This should also allow us to run the function on arm64 and likely reduce overall costs. I am not including this change in here, but it should be trivial to do later on.

So far I tested on a real lambda deployment using make deploy-lambda, which has been working okay. The idea is, once approved, to merge to master, make sure everything looks good in staging, and then port to production. After that, I'll try once more to add #455 on top.

Ticket Link

https://mattermost.atlassian.net/browse/MM-60556

@streamer45 streamer45 added the 2: Dev Review Requires review by a core committer label Sep 16, 2024
@streamer45 streamer45 self-assigned this Sep 16, 2024
@streamer45 streamer45 added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core committer labels Sep 17, 2024
@streamer45
Copy link
Contributor Author

Thanks guys, merging 🙏

@streamer45 streamer45 merged commit 828c752 into master Sep 17, 2024
4 checks passed
@streamer45 streamer45 deleted the MM-60556 branch September 17, 2024 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4: Reviews Complete All reviewers have approved the pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants