Skip to content

Injected debug id causing hash differences in cross-architecture builds #15745

Description

@Redmega

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

^9.5.0

Framework Version

next ^14.2.24

Link to Sentry event

No response

Reproduction Example/SDK Setup

No response

Steps to Reproduce

  1. Use [contenthash] in place of [chunkhash] for consistent cross-architecture builds
  2. Build docker image for multiple architectures
  3. Note that each build has generated a different debugId, which causes the contenthash to change.

Expected Result

Content hashes should be consistent across architectures. I think we can accomplish this by specifying which hash the debugId uses, I suspect it's using the id/chunkhash and not the contenthash?

Actual Result

Content hashes are different across architectures. Similar to the issue described in #13971

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions