-
Notifications
You must be signed in to change notification settings - Fork 10.4k
[release/8.0] Update SDK #51059
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/8.0] Update SDK #51059
Conversation
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.
LGTM, but can you look at the conflicts in the .js files?
bbc0ba3
to
831de57
Compare
@wtgodbe I've fixed the merge conflicts, but the builds are even less healthy than before. I've had many attempts to make this build but am just getting so many garbage errors from all over (which have nothing to do with our code as far as I can see). Is this something that you, the current build-ops person, and First Responders could take over with? Either our |
@marcpopMSFT @dsplaisted @nagilson @joeloff we're seeing a lot of restore errors on Linux after updating to the RC1 SDK - is this a known issue? I've never seen this exact failure case before:
|
This sounds like the known issue described here: dotnet/core#8799 We are working on a fix for GA. |
@dsplaisted do you have a recommendation on how we can work around this in aspnetcore? The known issue mentions creating |
Is the list of tools to restore owned by Arcade or is that part of this repo? If it's entirely owned by Arcade, then the fix may need to be in Arcade :-(. If it's owned by this repo, then maybe you can disable the Arcade tools restore and add your own. |
We own the list of tools, and can move them into subfolders. @dotnet/dnceng can someone point me to where/how |
@dsplaisted Arcade handles the .config/dotnet-tools.json file by running oh, and if the file exists, the command runs just before the |
@wtgodbe look near the bottom of src\Microsoft.DotNet.Arcade.Sdk\tools\Tools.proj in dotnet/arcade |
Alright, we could probably get away with moving our |
Sounds good. Let us know how it works. It's not a pretty workaround but was the only thing I could come up with. |
Seems to be working |
@wtgodbe Still not quite working unfortunately:
|
Going to try one more thing |
@SteveSandersonMS just pushed a new commit, can you resolve the conflict? |
7ede147
to
015c48a
Compare
Done |
Sadly the |
@dotnet/dnceng @dsplaisted we're running
But they aren't winding up in the package cache:
In my local build I saw the same behavior. The package that was actually restored for me was 7.0.11. The binlog didn't have any extra info, it just showed the log message. Are we doing something wrong? |
Whoops, got versions crossed. Fixing |
@SteveSandersonMS I took the |
8408cd9
to
def1a7d
Compare
Does this mean you figured out the issue where tools didn't seem to be restored correctly? |
Latest build will confirm. I did see the wrong dotnet-ef package getting restored when I built locally, though, but hopefully that was user error. |
Ok @dsplaisted, error is still present:
I'm gonna set the verbosity to |
Yeah, something weird's going on with
@dotnet/dnceng @dsplaisted the tool claims it's restoring the 8.0 version we want, but silently restores 7.0.11 (Note the bottom 3 lines). Is it a feed issue? |
Same thing for dotnet-serve
|
A fix in the SDK is incoming to unblock this |
@wtgodbe @mkArtakMSFT Do you think at this point we should consider merging anyway? It's not more correct in any sense to hold off from merging this. Even though we are getting "green" builds in If the SDK fix is going to land today for definite then holding off would be reasonable. If that's not known for sure, I suggest we need to find another way forwards in the short term. |
The SDK fix (dotnet/sdk#35884) should land today, I reached out to confirm it's ready to merge. I don't think we should merge this on red, as currently Helix tests are blocked from running entirely, so we'd have basically no test coverage on the repo. We could disable the tests that use these tools, but that's all Server tests and all EF tests, plus we wouldn't get dumps from failed tests. The other option, if the SDK fix gets blocked for some reason, is to specify exactly the versions that the tools choose to download anyways (the bug is that |
We've got several weeks behind ingesting SDK changes to
release/8.0
. The main challenge has been several changes in the Razor compiler. This PR contains a fix for a regression that was due to one such change.I'll hopefully later update this PR further to remove the temporary APIs we used for
@formname
and@rendermode
since the native APIs are now present in the Razor compiler.