Sync eng/common/{cross,native} with arcade#5892
Conversation
|
cc @hoyosjs, @akoeplinger it includes dotnet/arcade#17027. |
|
@am11 - have you noticed this in other repos? And is it just these dirs? |
Yup, in SDK and aspnetcore. Up until last month, only runtime and diagnostics were using native infra from eng/common. Now that aspnetcore and SDK tools are AOT published for few weeks, we should sync the entire eng/common without any filtering across arcade-powered repos. IMO, it's much simpler (and it seems like the original intent when eng/common/README.md file was first written..).
Just copied the entire dir, pushed a commit. Seems like there was more out of sync, so something is filtering the contents. :/ |
|
@hoyosjs, turned out additional changes in new eng/common required new |
|
We can't use .NET 11 SDK in this repo - we use the release branch of arcade |
|
10.0.3xx also has the feature - but I believe it might not be available in source build |
39253f3 to
3233398
Compare
|
@hoyosjs, the |
|
We need to build with a shipping/supported SDK that has a production cleared CSC. It's not so much about arcade as much as it is the SDK. The right way to fix this would be to backport the eng/common changes needed to arcade release/10.0. |
3233398 to
c6b6e54
Compare
|
I've removed the commit which was anyway out of scope, was trying to help.
The chance that it can break diagnostics related nuget package after successfully building .NET assembly and clearing the CI is highly unlikely, if not absolutely zero. I suggest switch eng/common to new plan until the day we actually have a bug report due to the speculative compat issue. |
|
It's not speculative - it's a requirement for us from a security and compliance perspective. We used to be on that plan and things were easier. But diagnostics ships out of band and arcade bumping the SDK to any nightly version is not something we can do |
|
For what it's worth - I really appreciate all the help you give us in this repo and runtime. The rules are a little bit different between the two as they don't ship at the same time and in the same set of products. I do like eng/common being shared - but if we have the .NET 10 one and we'd miss something, that's the harder part. We've had build breaks before with a preview SDK on a point where we needed to ship. What's the main thing you need from the eng folder in diagnostics with this PR? Or is it just about having things being in lockstep and you wanted to make them be aligned? |
|
@hoyosjs, I have reverted rest of the eng/common. This PR only has native and cross dirs where we add new platforms for native parts and there is no C# code.
When the RTM version is released, SDK in runtime repo points to release candidate rather than the final version https://github.com/dotnet/runtime/blob/v10.0.0/global.json. That does not make runtime and framework libraries, the main product, non-compliant and neither would it make diagnostic package non-compliant. |
It stopped syncing automatically few months ago for some reason, so new platforms' configs aren't showing up. See #5858 (comment).