Skip to content

[SPA] Fix whitespace issues with the SpaProxy bash script - #38293

Closed
javiercn wants to merge 1 commit into
release/6.0from
javiercn/stop-spa-proxy-60
Closed

javiercn wants to merge 1 commit into
release/6.0from
javiercn/stop-spa-proxy-60

Conversation

@javiercn

@javiercn javiercn commented Nov 11, 2021 •

Copy link
Copy Markdown
Member

Description

Fixes the script error described in https://github.com/aspnet/AspNetCore-ManualTests/issues/951#issuecomment-939722894

image

Fixes a whitespace issue with the bash script that we create to stop the SPA proxy when the .NET process is terminated abruptly.

Adds a couple of debug messages to make troubleshooting issues easier.

Customer Impact

When the .NET process is terminated abruptly, the NPM processes are kept running, which happens for example when you stop debugging or running the app from Visual Studio.
This fix addresses that issue so that the npm processes are also killed.

Regression?

  • Yes
  • No

This scenario regressed in 6.0, previous versions, as far as we know don't leave the npm processes running.

Risk

  • High
  • Medium
  • Low

The issue was a whitespace issue with the bash script we created that was introduced as a CR feedback item. I've manually tested the fix to the script and we have error handling logic as part of launching the script so the worst thing that can happen is that the script continues to fail.

Verification

  • Manual (required)
  • Automated

image

Packaging changes reviewed?

  • Yes
  • No
  • N/A

…statements to make troubleshooting things easier.
@ghost ghost added the area-runtime label Nov 11, 2021
@ghost ghost added this to the 6.0.x milestone Nov 11, 2021
@ghost

ghost commented Nov 11, 2021

Copy link
Copy Markdown

Hi @javiercn. 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.

@javiercn
javiercn marked this pull request as ready for review November 11, 2021 16:00
@javiercn
javiercn requested a review from a team November 11, 2021 16:00
@javiercn javiercn added the Servicing-consider Shiproom approval is required for the issue label Nov 11, 2021
@ghost

ghost commented Nov 11, 2021

Copy link
Copy Markdown

Hi @javiercn. Please make sure you've updated the PR description to use the Shiproom Template. Also, make sure this PR is not marked as a draft and is ready-to-merge.

To learn more about how to prepare a servicing PR click here.

@mkArtakMSFT mkArtakMSFT removed the Servicing-consider Shiproom approval is required for the issue label Nov 11, 2021
@mkArtakMSFT

Copy link
Copy Markdown
Contributor

We've decided not to take this fix yet given that this is VS4Mac specific and VS4Mac didn't ship with VS17. We will reevaluate this at a future time when there will be customer reported issues in this area.

@dougbu dougbu removed this from the 6.0.x milestone Dec 15, 2021
@pranavkm
pranavkm deleted the javiercn/stop-spa-proxy-60 branch January 2, 2022 14:35
@amcasey amcasey added area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares and removed area-runtime labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants