-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Move to .NET 10 P5 SDK and Arcade 10 SDK #78925
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
Conversation
|
It looks like there are some package version issues in the correctness leg |
|
What's going on with the Build_Unix_Debug leg? |
|
Correctness_Bootstrap_Build_Default is also deeply broken, there are almost 150k lines of "System.Object not defined" type of errors, despite the restore seemingly not reporting any complaints. |
| - script: ./eng/build.sh --ci --restore --prepareMachine --binaryLog --configuration ${{ parameters.configuration }} | ||
| displayName: Restore | ||
|
|
||
| - script: ./eng/build.sh --ci --build --publish --pack --prepareMachine --binaryLog --skipDocumentation --configuration ${{ parameters.configuration }} |
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.
If we don't test these steps they will end up bitrotting. I'd prefer to keep them.
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.
Ran into a issue where a package required for publish wasn't being downloaded because we do not restore with the --publish option. Most straight forward fix is to simply not publish but we can also just add the publish option to the restore.
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.
Guess I'll push back a little and say that nothing ensures the publish and pack options do anything here. They could silently do nothing here and there would be no failure. If we want to avoid regressions, I think we would want to add correctness tests to verify these options do what they are told.
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.
Sure, but I would prefer we have a min-bar of making sure the commands can run without failure.
4ac82dc to
541e14c
Compare
| { | ||
| "sdk": { | ||
| "version": "9.0.106", | ||
| "version": "10.0.100-preview.5.25277.114", |
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.
Is this change locking us to preview 5 or is it moving us to Arcade 10 which will update the SDK when it chooses? Right now that is latest (pretty sure). That has a cadence of roughly every two weeks. If that is what we intend to sign up for that's okay (will need some messaging though). Just want to make sure we're on the same page with what this is doing.
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.
Since we cannot opt out of SDK updates from Arcade, what we have done for some servicing branches is to downgrade the SDK in the Arcade update PR. That would be my suggestion here. Add back the policy to automatically block Arcade PRs that modify the SDK, which we used to have with FabricBot.
Lines 199 to 244 in 26a3ec1
| { | |
| "taskType": "trigger", | |
| "capabilityId": "IssueResponder", | |
| "subCapability": "PullRequestResponder", | |
| "version": "1.0", | |
| "config": { | |
| "conditions": { | |
| "operator": "and", | |
| "operands": [ | |
| { | |
| "name": "isActivitySender", | |
| "parameters": { | |
| "user": "dotnet-maestro[bot]" | |
| } | |
| }, | |
| { | |
| "name": "isAction", | |
| "parameters": { | |
| "action": "opened" | |
| } | |
| }, | |
| { | |
| "name": "bodyContains", | |
| "parameters": { | |
| "bodyPattern": "Updates sdk.version" | |
| } | |
| } | |
| ] | |
| }, | |
| "eventType": "pull_request", | |
| "eventNames": [ | |
| "pull_request", | |
| "issues", | |
| "project_card" | |
| ], | |
| "actions": [ | |
| { | |
| "name": "requestChangesPullRequest", | |
| "parameters": { | |
| "comment": "This PR changes the .NET SDK version. Review required from @dotnet/roslyn-infrastructure before merging.\nTasks:\n- [ ] Getting Started Documentation has been updated\n- [ ] NuGet dependency version updated to match version shipping in SDK" | |
| } | |
| } | |
| ], | |
| "taskName": "Require PR approval before merging SDK change" | |
| } | |
| }, |
| internal partial interface IDesignerAttributeDiscoveryService : IWorkspaceService | ||
| { | ||
| public interface ICallback | ||
| interface ICallback |
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.
Why did we remove an accessor here?
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.
because the rule says "no redundant accessibility modifiers in interfaces" and "public" is redundant.
CyrusNajmabadi
left a comment
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.
ide code changes LGTM. i have no idea about anything related to the "eng" directory :)
RikkiGibson
left a comment
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.
holding until InfraSwat is ready to take this.
|
We have some RPS counters in a recent insertion which require more data to decide if there is a real problem or not. I would like to wait to see if our upcoming build inserts cleanly, before taking this. Thanks! https://dev.azure.com/dnceng/internal/_build/results?buildId=2733703&view=results |
|
/azp run roslyn-integration-CI |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@JoeRobich any luck with this? |
|
@JoeRobich are you able to reprooduce this failure locally? There is not really any info to go off of in the test run that I could see. |
This reverts commit 1ab27c2.
cba0b1e to
4fa17b1
Compare
I have not been able to run integration tests locally. Trying to workout what is going on with my DevBox. I have looked at the Screenshots artifacts from the failing run and see that the locale seems to be misconfigured during the CSharpInteractive WorkspaceClearedAfterReset test. It is expecting "Stack overflow." Since the test is checking error strings in this way it should be using the UseCultureAttribute. In BasicRename we have a test failing due to the cursor not moving to the end of the identifier after a rename. In NewDocumentFormatting we have a test failing because the Error List is not clearing when a new project is opened. I had moved the CI image to use the scouting queue meaning 17.14.7. I've reverted that change to see if these issues exist when running on 17.14.5. |
|
OK, so more failures on 17.14.5. Looking at BasicRename and it seems like the cursor location is a known problem that we tried to work around. roslyn/src/VisualStudio/IntegrationTest/New.IntegrationTests/VisualBasic/BasicRename.cs Lines 384 to 403 in 334d4c7
|
|
Still seeing the Interactive test fail as in #78925 (comment) even with the |
|
@JoeRobich Any idea why would the behavior be different now? |
Perhaps these VM images have the system culture set differently. I know for both the LSP and BuildHost we pass along locale so that logging matches the process that launched them. |
|
We do that as well here: roslyn/src/Interactive/Host/Interactive/Core/InteractiveHost.LazyRemoteService.cs Line 64 in aafd6eb
|
@tmat I was sure hoping we did. =) Unfortunately that makes what we are seeing even more bizarre. I don't know what explains this |
|
@dibarbet for visibility |


Restores the previous move to .NET 10 P5 changes and brings in Arcade 10 SDK.
Targets a specific build of Arcade 10 SDK because later builds introduce bootstrap failures.