-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Fixing the sourcelink failure for embeded files #33521
Conversation
Please port to preview 2 branch also. You can consider it approved if risk is acceptable to you and @ericstj |
cc: @dotnet/runtime-infrastructure |
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.
Could you also run an official build with this changes and enabling the source link validation?
I think we should enable the source link validation as part of this change to catch these errors earlier.
yeah i will do that. |
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.
That one nit. Also, as long as Mono's SPC build also uses arcade defaults sourcelink should work.
sourcelink validation succeeded https://dev.azure.com/dnceng/internal/_build/results?buildId=558701 |
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.
The prev2 branch wouldn't pass with this change as-is as the arcade version on the branch doesn't contain dotnet/arcade@527179a |
I talked with @ericstj offline. we dont need to port this preview2 as the embedded files dont contain any actual code, these are just typeforwards or attributes. we can wait till preview 3 |
@ericstj @safern @ViktorHofer any insight about the failure. This doesnt seem to be related to this pr but i didnt have much info about the error to create an issue for this. |
@Anipik you might have to try to repro locally? 😕 |
I fixed this here: #33580 you just have to rerun the whole pipeline, or you can ignore and merge. |
Generating files before sourcelink calculates the embedded files
Fixes #33097