Skip to content

dev(rspack): Add SENTRY_DEVSERVER_NGROK to dev server "allowed hosts"#107801

Open
billyvg wants to merge 1 commit intomasterfrom
billy/dev-add-ngrok-env-var-rspack
Open

dev(rspack): Add SENTRY_DEVSERVER_NGROK to dev server "allowed hosts"#107801
billyvg wants to merge 1 commit intomasterfrom
billy/dev-add-ngrok-env-var-rspack

Conversation

@billyvg
Copy link
Member

@billyvg billyvg commented Feb 6, 2026

The backend devserver uses SENTRY_DEVSERVER_NGROK to its ALLOWED_HOSTS, rspack needs to do the same so we can avoid manual changes

The backend devserver uses `SENTRY_DEVSERVER_NGROK` to its ALLOWED_HOSTS, rspack needs to do the same so we can avoid manual changes
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Feb 6, 2026
@billyvg billyvg marked this pull request as ready for review February 6, 2026 19:47
@billyvg billyvg requested a review from a team February 6, 2026 19:48
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prob should throw this in CODEOWNERS if we want to keep the owners-js-build team

Copy link
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

options: swcReactLoaderConfig,
use: [
{loader: 'builtin:swc-loader', options: swcReactLoaderConfig},
// {loader: 'babel-loader'},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commented out babel-loader appears accidentally committed

Low Severity

The PR description states this change is only about adding SENTRY_DEVSERVER_NGROK to allowed hosts, but it also includes an unrelated change to the JS/TS loader configuration. The loader syntax was converted from direct loader/options properties to a use array, and a commented-out // {loader: 'babel-loader'} line was left behind. This appears to be leftover testing code that was accidentally included in the commit.

Fix in Cursor Fix in Web

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

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant