Open rodolfoBee opened 1 month ago
Thanks for reporting. It would be interesting to see in what way the files' contents are different. Generally, the hashes are content-addressable so there must be something different. We need to figure out what exactly is different so that we can make that part of the output deterministic.
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/nextjs
SDK Version
8.33.0
Framework Version
Next.js: ^14.0.4
Link to Sentry event
No response
Reproduction Example/SDK Setup
Next.config.js example:
Steps to Reproduce
When building the application for different platforms without the
withSentryConfig
, the resulting files' hash reflects thegenerateBuildID
set in the next config options.However, when adding Sentry and
withSentryConfig
, the hashes are no longer the same on different builds.Expected Result
Different builds to have the same hash determined by the generateBuildID option:
Actual Result
Different hashes: