Skip to content

E2E_BOOT_PREFS_DISABLED makes it hard to develop or test Sentry locally #170

@linear-code

Description

@linear-code

@farhankhalaf I don't think this approach is right:

const E2E_BOOT_PREFS_DISABLED = import.meta.env.VITE_NIXMAC_SKIP_PERMISSIONS === "true";

Because it seems to be confusing two different things into one environment variable, and basically if you look at how E2E_BOOT_PREFS_DISABLED ends up getting used, the net effect is that it's impossible to develop or test Sentry in the "normal" local-dev configuration with the permissions checks skipped.

But I'm not sure the right way to fix this, because I'm confused by what the real usage of E2E_BOOT_PREFS_DISABLEDshould be. Can you please look, thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions