Update Source-Build SDK Diff Tests Baselines and Exclusions - #7754
Conversation
…ld/results?buildId=3023089 (internal Microsoft link)
|
Azure Pipelines: Successfully started running 1 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
ellahathaway
left a comment
There was a problem hiding this comment.
The diff exists because the Microsoft-built SDK's dotnet-user-jwts now ships a newer Microsoft.IdentityModel.Tokens and a new Microsoft.Bcl.Cryptography.dll dependency, which the source-built SDK doesn't yet have.
I think this will get fixed by a backflow of #7736 to SBA release/10.0, which will then forward flow to VMR's release/10.0.4xx branch. @mthalman - does the flow logic sound right?
…ld/results?buildId=3024958 (internal Microsoft link)
@mthalman - looks like this flow never happened?? See https://github.com/dotnet/source-build-assets/tree/release/10.0/src |
There hasn't been a passing 10.0 build until this morning. I triggered the subscription flow and PR is ready: dotnet/source-build-assets#1751 |
|
Is the correct thing to do here to rerun - done at https://dev.azure.com/dnceng/internal/_build/results?buildId=3033550&view=results - the pipeline for baseline diff tests and close this PR? Is it ok to merge the 10.0.3xx version? #7905 (I approved it before I saw this conversation.) I think that one might not get updates but 10.0.3xx is dead in the water post August so maybe it's not a big deal. |
That pipeline failed for the same reason as this one, so I think I need to re build the unified build, which I did here: https://dev.azure.com/dnceng/internal/_build/results?buildId=3033574 I think the next step is to rerun the other pipeline https://dev.azure.com/dnceng/internal/_build/results?buildId=3033550&view=results. Does that sound right @ellahathaway? |
Since UB builds are large, we usually just wait until they get queued on their own. |
|
https://dev.azure.com/dnceng/internal/_build/results?buildId=3033700&view=results if this succeeds, I think we can then close this PR |
|
|
|
I see that #7989 merged at 9 am so I think the next step is to update and rerun? |
|
Actually I think this PR should be closed now and then I should run |
|
I instead trigerred a new run of |
|
It looks like the baseline diff still shows the source-built |
|
The Microsoft-built SDK and source-built SDK intentionally build different variants of the IdentityModel package used by The Microsoft-built SDK uses IdentityModel 8.19.2 with its ML-DSA implementation enabled. This introduces:
Source-build also starts from IdentityModel 8.19.2, but applies the So the diff is expected. I've logged dotnet/source-build#5626 to resolve this diff and remove the patch. In the meantime, an exclusion should be added for the Microsoft.Bcl.Cryptography path instead of including it in the baseline. That way we can include a comment that references dotnet/source-build#5626. |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3b28f72c-3298-4006-af40-023262c1cace
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3b28f72c-3298-4006-af40-023262c1cace
Thanks @mthalman for helping, I'm happy to approve this to move forward but I don't really understand source build enough to understand whether this is the right change or not. Broad Questions: Specific Questions: |
The patch removes the reference and source dependencies that the code had on Microsoft.Bcl.Cryptography.
It is built from source. But as IdentityModel repo was defined when updating our submodule, it was causing prebuilts to occur by having a dependency on a version of Microsoft.Bcl.Cryptography that hadn't been built yet (source-build-assets repo is built before runtime repo, where Microsoft.Bcl.Cryptography is defined).
The understanding of things earlier in the thread was incorrect. We had though the updates from SBA would fix things but they actually don't because the patch removes the dependency on Crypto.
The patch is only being applied to source-build, not the Microsoft build. So the version of the IdentityModel package that the Microsoft build uses has the dependency while source-build does not.
See my explanation above. |
|
Thank you for that explanation and for taking the time to answer my questions. I have new broader questions about source-build, but I think I understand what is happening now with these changes and why we want them. |
This PR was created by the
CreateBaselineUpdatePRtool for build 3024958.The updated test results can be found at https://dev.azure.com/dnceng/internal/_build/results?buildId=3024958 (internal Microsoft link)