Skip to content

Ability to unblock CI builds if Sentry is experiencing outage/downtime #16195

Open
@zackdotcomputer

Description

@zackdotcomputer

Problem Statement

At the time of writing, Sentry is experiencing a "major outage". This is, in turn, blocking my company from being able to build or deploy locally, to staging, or to production. Whenever we attempt to build our NextJS application, the build fails at the end with:

Sentry CLI Plugin: Command failed: /Users/zack/code/addition/lewis/web/node_modules/@sentry/cli/sentry-cli releases new nit4tTNbwVGr2JmDchPc6
error: API request failed
  caused by: sentry reported an error: bad gateway (http status: 502)

Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output.
Please attach the full debug log to all bug reports.

There does not appear to be a documented workaround to allow us to disable Sentry temporarily or allow the Sentry "create new release" step to fail gracefully. As such, while Sentry is down, we are unable to work.

Solution Brainstorm

We would like a env variable or other configurable value that would allow us to either:

  1. Disable Sentry's build post-processing
  2. Allow Sentry's build post-processing to fail without killing the webpack build.

Metadata

Metadata

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions