Skip to content

Re-enable dotnet sdk check lifecycle tests - #56053

Merged
nagilson merged 1 commit into
mainfrom
marcpopmsft-weekly-test-cleanup-a2e
Sep 15, 2026
Merged

nagilson merged 1 commit into
mainfrom
marcpopmsft-weekly-test-cleanup-a2e

Conversation

@marcpopMSFT

Copy link
Copy Markdown
Member

🤖 This is part of the weekly test issue cleanup effort.

The .NET 3.1 test fixture was updated after its lifecycle date caused these tests to fail in 2022, but the skips remained. Re-enable both dotnet sdk check lifecycle test methods, restoring 14 data-driven cases that cover patch-update and out-of-support reporting.

Fixes #29382

Copilot AI lite review requested due to automatic review settings August 31, 2026 20:32
@marcpopMSFT
marcpopMSFT requested a review from a team as a code owner August 31, 2026 20:32
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
2 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

Pull request overview

This PR re-enables the previously skipped dotnet sdk check lifecycle-related tests in dotnet.Tests, restoring coverage for patch-update messaging and out-of-support reporting scenarios that were disabled due to prior fixture/lifecycle-date failures.

Changes:

  • Re-enabled WhenANewPatchIsAvailableItIsAdvertised by removing its [Ignore] attribute.
  • Re-enabled WhenABundleIsOutOfSupportItPrintsWarning by removing its [Ignore] attribute.
File summaries
File Description
test/dotnet.Tests/CommandTests/Sdk/Check/GivenDotnetSdkCheck.cs Removes two [Ignore] attributes to re-enable dotnet sdk check lifecycle test coverage (patch-available + out-of-support cases).
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

@marcpopMSFT
marcpopMSFT enabled auto-merge (squash) September 1, 2026 22:38
@marcpopMSFT
marcpopMSFT requested a review from nagilson September 8, 2026 20:28
@nagilson
nagilson disabled auto-merge September 15, 2026 20:19
@nagilson
nagilson merged commit 85577ba into main Sep 15, 2026
23 checks passed
@nagilson
nagilson deleted the marcpopmsft-weekly-test-cleanup-a2e branch September 15, 2026 20:19
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Sep 16, 2026

This branch had an error being deployed

1 failed deployment
copilot-pat-pool — e73f2a8a Deployed Sep 15, 2026 by nagilson via pre_activation #5050
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.

CI test failure: Microsoft.DotNet.Cli.SdkCheck.Tests.GivenDotnetSdkCheck.WhenABundleIsOutOfSupportItPrintsWarning

3 participants