Skip to content
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

Fixes for MAUI, logging, failed step repetitions, etc. #1403

Merged
merged 6 commits into from
Jan 30, 2023

Conversation

mgoertz-msft
Copy link
Contributor

For PRs which target a specific extension within UA, changes won't be approved by a member of the dotnet-upgrade-assistant-admin group until a member of the code owners of the extension has approved, when required.

Description

  • Allow any version of .NetStandard to be migrated to MAUI
  • Avoid unnecessary TFM merges for MAUI TFM SelectorFilter
  • Always show 'dotnet --info' in case of workload install failure
  • Added more information to log messages, such as project names
  • Added MAUI step results to SARIF output
  • Prevent endless failed step repetitions by adding Failed to IsDone
  • Added failure level info to SARIF output using Note as default
  • Added additional optional failure details to SARIF output
  • Removed about:blank default which caused empty browser windows on click
  • Fixed a few grammar and spelling issues

Addresses #1359
Addresses #988

* Avoid unnecessary TFM merges for MAUI TFM SelectorFilter
* Always show 'dotnet --info' in case of workload install failure
* Added more information to log messages, such as project names
* Added MAUI step results to SARIF output
* Prevent endless failed step repetitions by adding Failded to IsDone
* Added failure level info to SARIF output using Note as default
* Added additional optional failure details to SARIF output
* Removed about:blank default which caused empty browser windows on click
* Fixed a few grammar and spelling issues
@mgoertz-msft mgoertz-msft requested review from a team as code owners January 11, 2023 22:38
@mgoertz-msft
Copy link
Contributor Author

Looking at test failures...

lutzroeder
lutzroeder previously approved these changes Jan 12, 2023
@mgoertz-msft
Copy link
Contributor Author

@twsouthwick Looks like you may have authored the FailedStepsAreEnumerated test, which is failing for me now with this change (same problem in ConfigUpdaterSubStepTests.ApplyTests). Could you please explain the reasoning behind this test and behavior?

In my experience a failed step gets repeated endlessly in non-interactive mode, so I needed to change this behavior to fix that. Unless the step status gets reset, due to a CurrentProject change in the context for example, there's really no point to reselect a failed step in GetNextStep, is there?

@mgoertz-msft
Copy link
Contributor Author

We discussed the failed step behavior this morning and it looks like this can be useful for interactive scenarios, so we decided to keep it as is for interactive and change it for non-interactive scenarios. I will see how/where we can best make that distinction and update the PR.

* Don't return failed steps in non-interactive mode instead
* Updated tests to reflect new SARIF output
* Re-enabled Maui E2E tests
* Introduced TestOptions to skip the `MauiWorkloadUpgradeStep` during E2E tests
… SARIF output

* Temporarily re-enable the Maui workload install step to diagnose Maui E2E failures
…led (and the install step fails on the machine)

* Skip the Apply part of the `MauiWorkloadUpgradeStep` but keep the rest for diagnostic output in the test
@mgoertz-msft
Copy link
Contributor Author

@dotnet/dotnet-upgrade-assistant-admin and @dotnet/dotnet-upgrade-assistant-uwp Please review your areas of this PR. Thank you!

Copy link
Contributor

@abpiskunov abpiskunov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@mgoertz-msft mgoertz-msft merged commit 5d07f3b into main Jan 30, 2023
@jstedfast jstedfast deleted the dev/mgoertz/NetStandard branch January 31, 2023 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants