Skip to content

[release/6.0] Suppress downgrade error in hosting bundle #46844

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

Merged
merged 4 commits into from
Feb 24, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Feb 23, 2023

Backport of #46842 to release/6.0

/cc @wtgodbe

Suppress downgrade error in hosting bundle

Allows the hosting bundle installer to run on a machine w/ a newer hosting bundle installed, without exiting with an error.

Description

Allows the hosting bundle installer to run on a machine w/ a newer hosting bundle installed, without exiting with an error.

Fixes #42857

Customer Impact

Fulfills an internal request by the office team

Regression?

  • Yes
  • No

[If yes, specify the version the behavior has regressed from]

Risk

  • High
  • Medium
  • Low

This could break a customer who relies on the installer exiting with an error in this scenario, but I think that's unlikely.

Verification

  • Manual (required) (in progress)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

When servicing release/2.1

  • Make necessary changes in eng/PatchConfig.props

@ghost ghost added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Feb 23, 2023
@ghost ghost added this to the 6.0.x milestone Feb 23, 2023
@ghost
Copy link

ghost commented Feb 23, 2023

Hi @github-actions[bot]. 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.

@wtgodbe wtgodbe requested review from joeloff and a team February 23, 2023 18:25
@wtgodbe wtgodbe added the Servicing-consider Shiproom approval is required for the issue label Feb 23, 2023
@ghost
Copy link

ghost commented Feb 23, 2023

Hi @github-actions[bot]. 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.

@wtgodbe
Copy link
Member

wtgodbe commented Feb 23, 2023

Approved over email

@wtgodbe wtgodbe added Servicing-approved Shiproom has approved the issue and removed Servicing-consider Shiproom approval is required for the issue labels Feb 23, 2023
@ghost
Copy link

ghost commented Feb 23, 2023

Hi @github-actions[bot]. This PR was just approved to be included in the upcoming servicing release. Somebody from the @dotnet/aspnet-build team will get it merged when the branches are open. Until then, please make sure all the CI checks pass and the PR is reviewed.

@wtgodbe
Copy link
Member

wtgodbe commented Feb 23, 2023

The interop test failure is known

@wtgodbe
Copy link
Member

wtgodbe commented Feb 24, 2023

@BrennanConroy can you take a look at the signalR npm failure on windows arm64?

D:\a_work\1\s\src\SignalR\clients\ts\common\node_modules\loader-runner\lib\LoaderRunner.js:146
if(isError) throw e;
^

Error: error:0308010C:digital envelope routines::unsupported

@BrennanConroy
Copy link
Member

This is due to an issue with older webpack versions and newer node versions. Can be resolved by updating webpack to >= 5.61.0 or passing --openssl-legacy-provider to node when building.

@dougbu
Copy link
Contributor

dougbu commented Feb 24, 2023

This is due to an issue with older webpack versions and newer node versions. Can be resolved by updating webpack to >= 5.61.0 or passing --openssl-legacy-provider to node when building.

If this is the issue showing up in the Windows ARM64 build, have a look at the first commit in https://dev.azure.com/dnceng/internal/_git/dotnet-aspnetcore/pullrequest/29739?_a=commits and duplicate that here.

@@ -76,7 +76,7 @@
DependsOnTargets="GetBuildInputCacheFile"
Inputs="@(TSFiles);$(BaseIntermediateOutputPath)tsfiles.cache"
Outputs="@(BuildOutputFiles)">
<Yarn Command="$(NpmBuildArgs)" StandardOutputImportance="High" StandardErrorImportance="High" IgnoreStandardErrorWarningFormat="$(IgnoreYarnWarnings)" />
<Yarn Command="$(NpmBuildArgs) --openssl-legacy-provider" StandardOutputImportance="High" StandardErrorImportance="High" IgnoreStandardErrorWarningFormat="$(IgnoreYarnWarnings)" />
Copy link
Contributor

Choose a reason for hiding this comment

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

Use my approach instead unless this is necessary for some job other than the Windows ARM64 one. Just wasteful to build Node JS projects there. Only got into this state because the images were updated.

wtgodbe and others added 2 commits February 23, 2023 17:27
- at one point, `1es-windows-2019` images lacked Node JS
- between `Image Version: 49.0.0` and `Image Version: 50.0.0`, Node JS was upgraded to 18.14.0
  - this version is not compatible w/ some of our WebPack build processes
- stop the Node JS builds in this job; not necessary for the shared Fx
@wtgodbe wtgodbe merged commit e99b767 into release/6.0 Feb 24, 2023
@wtgodbe wtgodbe deleted the backport/pr-46842-to-release/6.0 branch February 24, 2023 17:20
@ghost ghost modified the milestones: 6.0.x, 6.0.15 Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework Servicing-approved Shiproom has approved the issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants