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/6.0-preview6] Unpin Microsoft.Extensions.Logging #25155

Merged
merged 1 commit into from
Jun 25, 2021

Conversation

bricelam
Copy link
Contributor

Part of #25148

@bricelam bricelam requested review from Pilchie, mmitche and a team June 25, 2021 16:02
@bricelam bricelam requested a review from dougbu as a code owner June 25, 2021 16:02
@ghost
Copy link

ghost commented Jun 25, 2021

Hello @bricelam!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost
Copy link

ghost commented Jun 25, 2021

Apologies, while this PR appears ready to be merged, I've been configured to only merge when all checks have explicitly passed. The following integrations have not reported any progress on their checks and are blocking auto-merge:

  1. Azure Pipelines

These integrations are possibly never going to report a check, and unblocking auto-merge likely requires a human being to update my configuration to exempt these integrations from requiring a passing check.

Give feedback on this
From the bot dev team

We've tried to tune the bot such that it posts a comment like this only when auto-merge is blocked for exceptional, non-intuitive reasons. When the bot's auto-merge capability is properly configured, auto-merge should operate as you would intuitively expect and you should not see any spurious comments.

Please reach out to us at fabricbotservices@microsoft.com to provide feedback if you believe you're seeing this comment appear spuriously. Please note that we usually are unable to update your bot configuration on your team's behalf, but we're happy to help you identify your bot admin.

@ghost
Copy link

ghost commented Jun 25, 2021

Apologies, while this PR appears ready to be merged, it looks like release/6.0-preview6 is a protected branch and I have not been granted permission to perform the merge.

@bricelam
Copy link
Contributor Author

bricelam commented Jun 25, 2021

I've tried a few different things, but I keep getting this error:

C:\Projects\efcore\All.sln(2,1): error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 2, position 1.

What I've tried:

  • Updating the SDK to Preview 6
  • Staying on the Preview 4 SDK and updating Microfot.NETCore.App to Preview 6

Staying on Preview 4 gives us the same error we pinned for in the first place:

System.MethodAccessException : Attempt by method 'System.Text.ValueStringBuilder.AppendSlow(System.String)' to access method 'System.String.CopyTo(System.Span`1`<Char>)' failed.

@dougbu
Copy link
Member

dougbu commented Jun 25, 2021

Strange failures with the All.sln file and that hasn't changed since mid December. The newer SDK doesn't seem to like that file for some reason. Perhaps try the 6.0.100-preview.6.21313.2 SDK❔ That's where we're at in dotnet/aspnetcore but, then again, we don't use the solution file in CI builds.

@bricelam
Copy link
Contributor Author

Any ideas @rainersigwald?

@bricelam
Copy link
Contributor Author

try the 6.0.100-preview.6.21313.2 SDK

Weird. That seems to work 🤷‍♂️

@rainersigwald
Copy link
Member

rainersigwald commented Jun 25, 2021

Thanks for reporting! This is a regression in preview6 builds that will be fixed by dotnet/sdk#18526. cc @rokonec for another test case after the dotnet/installer one.

You can work around the issue by setting the environment variable DOTNET_CLI_DO_NOT_USE_MSBUILDNOINPROCNODE=1, or (as you discovered) use a preview6 build from before the regression went into SDK (and the final preview6 build should also be fine).

@mmitche
Copy link
Member

mmitche commented Jun 25, 2021

@bricelam Do you need p6? Could the shipping p5 work instead?

@ghost
Copy link

ghost commented Jun 25, 2021

Apologies, while this PR appears ready to be merged, I've been configured to only merge when all checks have explicitly passed. The following integrations have not reported any progress on their checks and are blocking auto-merge:

  1. Azure Pipelines

These integrations are possibly never going to report a check, and unblocking auto-merge likely requires a human being to update my configuration to exempt these integrations from requiring a passing check.

Give feedback on this
From the bot dev team

We've tried to tune the bot such that it posts a comment like this only when auto-merge is blocked for exceptional, non-intuitive reasons. When the bot's auto-merge capability is properly configured, auto-merge should operate as you would intuitively expect and you should not see any spurious comments.

Please reach out to us at fabricbotservices@microsoft.com to provide feedback if you believe you're seeing this comment appear spuriously. Please note that we usually are unable to update your bot configuration on your team's behalf, but we're happy to help you identify your bot admin.

@bricelam
Copy link
Contributor Author

Do you need p6?

We need the p6 runtime for the tests to pass.

I think I found a combination that'll work. 🤞

@mmitche
Copy link
Member

mmitche commented Jun 25, 2021

Do you need p6?

We need the p6 runtime for the tests to pass.

I think I found a combination that'll work. 🤞

sounds good.

Usually most repos are using the following pattern to install the runtime that just flowed to the repo: https://github.com/dotnet/sdk/blob/main/global.json#L6

Then then flow that via this dependency: https://github.com/dotnet/sdk/blob/main/eng/Version.Details.xml#L33-L36

I think efcore doesn't strictly need to flow the runtime on every commit, just needs to have one such that the tests will pass. So if this pattern was used, we would remove it after RTM.

@ghost
Copy link

ghost commented Jun 25, 2021

Apologies, while this PR appears ready to be merged, I've been configured to only merge when all checks have explicitly passed. The following integrations have not reported any progress on their checks and are blocking auto-merge:

  1. Azure Pipelines

These integrations are possibly never going to report a check, and unblocking auto-merge likely requires a human being to update my configuration to exempt these integrations from requiring a passing check.

Give feedback on this
From the bot dev team

We've tried to tune the bot such that it posts a comment like this only when auto-merge is blocked for exceptional, non-intuitive reasons. When the bot's auto-merge capability is properly configured, auto-merge should operate as you would intuitively expect and you should not see any spurious comments.

Please reach out to us at fabricbotservices@microsoft.com to provide feedback if you believe you're seeing this comment appear spuriously. Please note that we usually are unable to update your bot configuration on your team's behalf, but we're happy to help you identify your bot admin.

@bricelam bricelam merged commit 2e5f8ab into dotnet:release/6.0-preview6 Jun 25, 2021
@bricelam bricelam deleted the unpin branch June 25, 2021 22:32
@bricelam
Copy link
Contributor Author

Oops, hope I didn't step on your toes, @mmitche. Look like we both effectively just rebased...

@mmitche
Copy link
Member

mmitche commented Jun 25, 2021

No problem. There's another flow from runtime I think, so it will align itself.

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

Successfully merging this pull request may close these issues.

None yet

5 participants