-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Update Microsoft.TestPlatform.ObjectModel for dependabot #257
Update Microsoft.TestPlatform.ObjectModel for dependabot #257
Conversation
WalkthroughThe changes involve updating dependency versions and adding a cautionary note. The README now warns against updating Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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.
Actionable comments posted: 2
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (1)
source/TestAdapter/nanoFramework.TestAdapter.csproj
is excluded by none and included by none
Files selected for processing (2)
- source/TestAdapter/README-BEFORE-UPATING-REFS.txt (1 hunks)
- source/TestAdapter/packages.lock.json (5 hunks)
Additional Context Used
LanguageTool (2)
source/TestAdapter/README-BEFORE-UPATING-REFS.txt (2)
Near line 8: Possible missing article found.
Context: ...pens because of a nested dependency on System.Runtime.CompilerServices.Unsafe. Movin...
Near line 12: Possible missing comma found.
Context: ...nd this version requires testing this. Reported and it's a know issue with vstest. See:...
Additional comments not posted (4)
source/TestAdapter/packages.lock.json (4)
7-9
: Update toCliWrap
version 3.6.6 looks correct and aligns with the PR objectives.Also applies to: 11-11
30-32
: Update toMicrosoft.TestPlatform.ObjectModel
version 17.10.0 is correctly reflected.
50-52
: Update toNerdbank.GitVersioning
version 3.6.133 is accurately updated.
67-68
: Update toMicrosoft.Bcl.AsyncInterfaces
version 8.0.0 is correctly reflected.
@josesimoes you made the original report regarding |
@CoryCharlton I'm pretty sure that the assembly causing issues is System.Runtime.CompilerServices.Unsafe, which is referenced by CliWrap. See here: If you get past v3.6.1 it won't be able to load the test adpater and the VS Test explorer will fail to load tests and run them. Also there is an issue when running this on AZDO pipeline, which is using the CLI version of the VS framework. Feel free to double check, but this has been reported a number of times elsewhere, e.g.: |
On the dependabot update: yes, that's a know (and old issue) it fails to properly update projects that are using package.lock.json files. That has been reported to their team a long time ago and still hasn't been addressed... 🤷🏻♂️ so all updates like that one require a manual run to properly update it. |
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.
Actionable comments posted: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (1)
source/TestAdapter/nanoFramework.TestAdapter.csproj
is excluded by none and included by none
Files selected for processing (1)
- source/TestAdapter/packages.lock.json (3 hunks)
Files skipped from review as they are similar to previous changes (1)
- source/TestAdapter/packages.lock.json
At first glance it seemed like the issue was that ICSharpCode.Decompiler also pulls in System.Runtime.CompilerServices.Unsafe in the latest version and that's what causes the issue. Either way I didn't have time to dig deeper and there doesn't seem to be a need to update CliWrap currently so I reverted that update. |
Description
Motivation and Context
dependabot tried to update Microsoft.TestPlatform.ObjectModel to 17.10.0 but the build failed so this resolves that.
There is a warning that says not to update CliWrap but the issue is actually related to ICSharpCode.Decompiler so I updated the warning.
How Has This Been Tested?
Manually. Unit tests.
Screenshots
Types of changes
Checklist:
Summary by CodeRabbit
Documentation
ICSharpCode.Decompiler
beyond version 7.2.1.6856 due to potential issues with VS Test Explorer.Chores