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

[release/5.0] Fix strict-mode break #7563

Merged
merged 1 commit into from
Jun 26, 2021
Merged

Conversation

dougbu
Copy link
Member

@dougbu dougbu commented Jun 25, 2021

  • use Get-Member instead of assuming $null property value
  • fixes build break I caused in 0214a32

To double check:

Tested fix locally in the dotnet/aspnetcore repo

- use `Get-Member` instead of assuming `$null` property value
- fixes build break I caused in 0214a32
@dougbu
Copy link
Member Author

dougbu commented Jun 25, 2021

/fyi @rainersigwald @ryalanms

@dougbu dougbu merged commit 5266aa9 into release/5.0 Jun 26, 2021
@dougbu dougbu deleted the dougbu/fix.prefer64bit/5.0 branch June 26, 2021 00:35
@dougbu
Copy link
Member Author

dougbu commented Jun 26, 2021

Oh "neat" (😃). I could merge here even though I can't merge into release/3.x (or wasn't able to the other day). Is that a hole in your security @MattGal @mmitche @ilyas1974 @riarenas

@rainersigwald
Copy link
Member

This doesn't appear to have triggered a build

darc get-latest-build --channel ".NET 5 Eng" --repo dotnet/arcade
Repository:    https://github.com/dotnet/arcade
Branch:        release/5.0
Commit:        0214a32e5fceaedc18042969a524f48a37c22be8
Build Number:  20210624.1
Date Produced: 6/24/2021 10:30 AM
Build Link:    https://dev.azure.com/dnceng/internal/_build/results?buildId=1204098
BAR Build Id:  95397
Released:      False
Channels:
- .NET 5 Eng
- .NET 5 Eng - Validation

Repository:    https://github.com/dotnet/arcade
Branch:        release/5.0
Commit:        0214a32e5fceaedc18042969a524f48a37c22be8
Build Number:  20210624.1
Date Produced: 6/24/2021 10:30 AM
Build Link:    https://dev.azure.com/dnceng/internal/_build/results?buildId=1204098
BAR Build Id:  95397
Released:      False
Channels:
- .NET 5 Eng
- .NET 5 Eng - Validation

Any idea what's up with that?

(Not urgent, was just looking at dotnet/msbuild#6625 with @AR-May and noticed that we got the break but not the fix.)

@riarenas
Copy link
Member

I'm still catching up from being away, but I believe it's related with mirroring being broken late last week. This commit is not present in the internal mirror, so it never triggered a build.

@riarenas
Copy link
Member

@riarenas
Copy link
Member

https://dev.azure.com/dnceng/internal/_build/results?buildId=1209415&view=results is the official build for this. I'll make sure to trigger all 5.0 arcade subs once this change goes through validation and is available in the channels.

@dougbu
Copy link
Member Author

dougbu commented Jun 28, 2021

@riarenas could you do the same for the 'main' branch please❔ dotnet/sdk#18542 for example picked up 20210624.3 and https://maestro-prod.westus2.cloudapp.azure.com/2/https:%2F%2Fdev.azure.com%2Fdnceng%2Finternal%2F_git%2Fdotnet-arcade/latest/graph says there isn't a newer build, despite a number of additional commits in the branch (including my #7564 fix).

@dougbu
Copy link
Member Author

dougbu commented Jun 28, 2021

darc get-latest-build --channel '.NET Eng - Latest' --repo arcade also shows the 20210624.3 build as the latest.

@riarenas
Copy link
Member

@dougbu, the main branch seems to be up to date as of today. https://dev.azure.com/dnceng/internal/_build/results?buildId=1209256&view=results is the latest build that is a candidate for promotion.

@dougbu
Copy link
Member Author

dougbu commented Jun 28, 2021

a candidate for promotion

What's the promotion schedule❔ I ask because the #7564 fix is needed to ingest the current build in the channel (v20210624.3). That contains the build break but not the fix,

@riarenas
Copy link
Member

We promote every build automatically as long as the 3 bellwether repos are green in their official build. The last few builds have been stalled because of aspnetcore's main build being broken due to the msbuild issues in newer .net sdks.

@dougbu
Copy link
Member Author

dougbu commented Jun 28, 2021

aspnetcore's main build being broken due to the msbuild issues in newer .net sdks

Fix is in PR. See dotnet/aspnetcore#33922

@riarenas
Copy link
Member

riarenas commented Jun 28, 2021

@dougbu, I created #7567 so we can plug the hole.

@dougbu
Copy link
Member Author

dougbu commented Jun 28, 2021

dotnet/aspnetcore#33922 fix for our 'main' branch is in though an official build (https://dev.azure.com/dnceng/internal/_build/results?buildId=1210262&view=results) only just started. Could we optimistically trigger the promotion validation❔

@riarenas
Copy link
Member

The check will take about a minute, we just need to retry the final stage of this build: https://dev.azure.com/dnceng/internal/_build/results?buildId=1209416&view=results

So we can just trigger that as soon as there's a successful official build.

@riarenas
Copy link
Member

@dougbu the build is in the channel and repos can expect the fix to update the existing failing PRs tomorrow morning

@dougbu
Copy link
Member Author

dougbu commented Jun 29, 2021

@dougbu the build is in the channel

Yeah, darc get-latest-build --channel '.NET Eng - Latest' --repo arcade looks happier 😀

repos can expect the fix to update the existing failing PRs tomorrow morning

Is that true for repos w/ weekly subscriptions to '.NET Eng - Latest'❔ I seem to recall dependency update PRs aren't updated more frequently than the relevant subscription unless someone runs darc trigger-subscriptions. While dotnet/sdk#18542 will look better tomorrow (/fyi @lewing), I triggered the subscription into dotnet/aspnetcore to get dotnet/aspnetcore#33879 going before next Sunday (/fyi @halter73). (Think our subscription from Arcade usually triggers on Sunday.)

The subset of repos that darc get-subscriptions --source-repo arcade$ --regex --channel '.NET Eng - Latest' --frequencies everyWeek lists which use msbuild from VS may have open (busted) PRs that'll wait for up to a week for the fix.


Apologies to all for having most of the conversation about the fix in 'main' in this 'release/5.0'-targeting PR. Rather confuzzzed…

@riarenas
Copy link
Member

@dougbu to be more specific, the change would make it through as your subscriptions have it configured. Most repos use a daily cadence to get arcade changes. Repos can always trigger their subscriptions manually if they wish to get the change earlier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants