-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[release/9.0] Stable branding for GA #108899
[release/9.0] Stable branding for GA #108899
Conversation
Tagging subscribers to this area: @dotnet/runtime-infrastructure |
The emsdk stable branding deps flow PR is #108898 |
@carlossanlop @akoeplinger Test is failing on check a stable branding string. emsdk is merged but I don't see any failrues here that are a result of not flowing emsdk bits yet. Test failure is here:
|
The test is expecting to not see the
I suspect the test will pass in rolling builds where Fixing the test by making it more specific. |
…fic in its checks when stable.
Hmm, the shipping assets maybe should not have -ci. At least, when i build winforms stable with -ci, shipping packages are 9.0.0. Maybe this is just specific to the framework description? We def need to verify on an official build. |
We didn't see any |
// A stabilized version looks like 9.0.0 | ||
// In local builds, the version looks like 9.0.0-dev, and in PRs CI, the version looks like 9.0.0-ci. | ||
// Both are acceptable. | ||
if (!version.Contains("-dev") && !version.Contains("-ci")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not correct. The FrameworkDescription should always contain the stabilized version irrespective of the build environment.
This is a regression caused by #102164. Before it was reading the AssemblyInformationalVersion from System.Private.CoreLib.dll which is 9.0.0
*, now it's reading it from the generators assembly and that contains 9.0.0-dev
(basically what Stephen noticed in #102164 (comment))
* this is because we override it here:
<!-- Override InformationalVersion during servicing as it's returned via public api. --> | |
<InformationalVersion Condition="'$(PreReleaseVersionLabel)' == 'servicing'">$(ProductVersion)</InformationalVersion> | |
<InformationalVersion Condition="'$(StabilizePackageVersion)' == 'true'">$(ProductVersion)</InformationalVersion> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I pushed a fix. There is potential to clean up overriding the version in SPC.dll now I think but that can be done separately.
…re specific in its checks when stable." This reverts commit 2dd6cd4.
Should these lines now get removed (at least in main when we forward port this change)?
|
Yeah I mentioned it above. |
Looks like some additional test failures that may be test issues rather than product issues |
Build Analysis says most failures are known. There is one in Installer Host Activation that I have not seen before. @NikolaMilosavljevic does this look familiar? https://dev.azure.com/dnceng-public/public/_build/results?buildId=844459&view=logs&j=34fcf1e9-20e8-52c9-c21d-1ed3608ac124&t=3f5386ba-6526-5d7f-4342-42281a824185&l=489 Edit: I re-ran Build Analysis and the failure was captured byhttps://github.com//issues/108921 but I am worried it might be overreacting and capturing too much. |
The failure is coming from the build output argument passed to this method: runtime/src/mono/wasi/Wasi.Build.Tests/BuildTestBase.cs Lines 345 to 355 in 9305d7f
|
We generate the build out of this portion of the code, which we then pass to AssertRuntimePackPath. I wonder if we need to pass an environment variable to indicate that we are using a stabilizing build. runtime/src/mono/wasi/Wasi.Build.Tests/BuildTestBase.cs Lines 243 to 253 in 9305d7f
Edit: I just realized the problem is not in the actual but in the expected string, which is coming from: runtime/src/mono/wasm/Wasm.Build.Tests/Common/BuildEnvironment.cs Lines 170 to 175 in def5e32
It seems we are getting the value of the suffix from an environment variable called |
Opened two issues to get the failures fixed separately:
I'll merge this to unblock stable branding. |
Good news: The release/9.0 rolling build that included this change did not hit the failures reported above: https://dev.azure.com/dnceng/internal/_build/results?buildId=2562281&view=results So they indeed are only happening in PRs. |
No description provided.