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

Instrumentation makes builds non-deterministic #701

Open
jonmast opened this issue Jan 10, 2023 · 1 comment
Open

Instrumentation makes builds non-deterministic #701

jonmast opened this issue Jan 10, 2023 · 1 comment

Comments

@jonmast
Copy link

jonmast commented Jan 10, 2023

From what I've read the serverless framework is designed to produce deterministic builds, but this is not happening on my project with the dashboard plugin enabled. Each deploy ends up releasing a new Lambda version even if there were no code changes.

From diffing the build zips, it appears the only change is the "deploymentUid" parameter in the generated entrypoint file, this is regenerated on every build.

I'm wondering if this could perhaps be moved to an environment variable rather than hardcoded so the builds can be deterministic and we can avoid unnecessary updates.

@medikoo
Copy link
Contributor

medikoo commented Jan 10, 2023

@jonmast thanks for reporting. Yes this is a known issue.

In future we plan to replace Serverless Dashbaord with the Serverless Console where instrumentation approach is way less intrusive. Be sure to check it out, and please report to the support features you miss the most at this point

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

No branches or pull requests

2 participants