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

Hash AWS Lambda test functions based on current revision #2557

Merged
merged 1 commit into from Dec 1, 2023

Conversation

sentrivana
Copy link
Contributor

@sentrivana sentrivana commented Dec 1, 2023

We were using the current SDK version for determining whether an AWS Lambda function should be reused, so e.g. on PRs, this would reuse the existing functions instead of creating new ones with any changes from the PR. Changing this to use the current commit instead.

Also, use a 6 character hash instead of 5 characters, just to lower the chance for collisions a bit.

@sentrivana sentrivana self-assigned this Dec 1, 2023
@sentrivana sentrivana enabled auto-merge (squash) December 1, 2023 12:00
Copy link
Member

@antonpirker antonpirker left a comment

Choose a reason for hiding this comment

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

🚢

@sentrivana sentrivana merged commit f9ffe96 into master Dec 1, 2023
468 of 469 checks passed
@sentrivana sentrivana deleted the ivana/aws-lambda-function-hashing branch December 1, 2023 12:05
@HansAarneLiblik
Copy link

@antonpirker I'm guessing regarding this, we now get these errors in Sentry UI, if we're deploying our staging code for testing / demo purposes (At least - Have not tested with real production code with a bit different conf). These deploy's send errors to sentry, but do not have

image

@sentrivana
Copy link
Contributor Author

sentrivana commented Dec 13, 2023

Hey @HansAarneLiblik, fixing that in: #2591

@sentrivana
Copy link
Contributor Author

@HansAarneLiblik SDK version 1.39.1 that should fix this is now available -- thanks for reporting!

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.

None yet

3 participants