Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Remove __non_webpack_require__ workaround and split Node dependencies correctly (#48154)" #55229

Draft
wants to merge 1 commit into
base: release/8.0
Choose a base branch
from

Conversation

BrennanConroy
Copy link
Member

@BrennanConroy BrennanConroy commented Apr 19, 2024

This reverts commit 93520b6.
It caused more issues than it solved see #52082

We'll need to reopen #47674 and probably completely redo how we bundle the signalr package so it works better.

Revert "Remove non_webpack_require workaround and split Node dependencies correctly

Description

We made a change to fix some esbuild issues with the signalr npm package. Unfortunately, these changes had unintended side-effects to Angular apps.

Customer Impact

People using Angular 17 have build errors when using the @microsoft/signalr package.
Workarounds are given in #52082 (comment)

Regression?

  • Yes
  • No

Change in 8.0 to how we referenced external dependencies for node apps. Broke people using Angular 17 (which released after the change).

Risk

  • High
  • Medium
  • Low

Completely reverting a change to how it was for multiple releases so there isn't any real risk. However, it is technically a breaking change when using esbuild. It's sad, but far more people are being affected by the current issue than were fixed by the change. A full fix would likely also be a breaking change as it likely requires reworking how we bundle the package which changes what files are available in the bundled package.

Verification

  • Manual

Packaging changes reviewed?

  • Yes
  • No
  • N/A

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-signalr Includes: SignalR clients and servers label Apr 19, 2024
@dotnet-policy-service dotnet-policy-service bot added this to the 8.0.x milestone Apr 19, 2024
Copy link
Contributor

Hi @BrennanConroy. If this is not a tell-mode PR, please make sure to follow the instructions laid out in the servicing process document.
Otherwise, please add tell-mode label.

@BrennanConroy
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-signalr Includes: SignalR clients and servers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant