Skip to content

{App Service} Restore skipped Web App scenarios with .NET 10 - #34400

Merged
Ethan Yang (necusjz) merged 1 commit into
Azure:devfrom
seligj95:seligj95-webapp-test-recovery
Nov 12, 2026
Merged

Ethan Yang (necusjz) merged 1 commit into
Azure:devfrom
seligj95:seligj95-webapp-test-recovery

Conversation

@seligj95

@seligj95 Jordan Selig (seligj95) commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

🤖 PR Validation — ️✔️ All clear

Breaking Changes Tests Suppressions
️✔️ None ️✔️ 130/130 ️✔️ None

Related command

az webapp create, az webapp config set, az appservice plan create

Description

Restore test_win_webapp_quick_create_runtime and test_webapp_config, skipped in #34391 after recorded .NET 8 runtimes reached end of life on November 10, 2026.

Use supported .NET 10 runtimes and update the Windows/Linux assertions. Explicitly create Windows plans with --is-linux false because plan creation now defaults to Linux; keep the quick-create plan on B1. Refresh both live recordings and remove their temporary skips.

All 49 Function App skips remain unchanged, including test_functionapp_cors in the same file. No production command behavior changes.

Testing Guide

Both scenarios passed live and in offline playback using workspace CLI/core/test SDK sources and dependencies from the installed Homebrew CLI. All temporary test resource groups were confirmed deleted.

Exact live recording command — passed: 2 tests:

AZURE_TEST_RUN_LIVE=true PYTHONPATH=src/azure-cli:src/azure-cli-core:src/azure-cli-telemetry:src/azure-cli-testsdk:/opt/homebrew/Cellar/azure-cli/2.87.0/libexec/lib/python3.13/site-packages .venv/bin/python -m pytest -q --tb=short src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_webapp_commands.py::WebappQuickCreateTest::test_win_webapp_quick_create_runtime src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_webapp_commands.py::WebappConfigureTest::test_webapp_config

Exact playback command — passed: 2 tests:

PYTHONPATH=src/azure-cli:src/azure-cli-core:src/azure-cli-telemetry:src/azure-cli-testsdk:/opt/homebrew/Cellar/azure-cli/2.87.0/libexec/lib/python3.13/site-packages .venv/bin/python -m pytest -q --tb=short --disable-warnings src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_webapp_commands.py::WebappQuickCreateTest::test_win_webapp_quick_create_runtime src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_webapp_commands.py::WebappConfigureTest::test_webapp_config

git diff --check — passed. Broader App Service suite and azdev style/linter were not run.

History Notes

N/A — test-only change; no customer-facing history note.


This checklist is used to make sure that common guidelines for a pull request are followed.

Update the two skipped Web App scenarios to .NET 10, explicitly create Windows plans, and refresh their live recordings. Leave Function App skips unchanged.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 11, 2026 16:39
@microsoft-github-policy-service microsoft-github-policy-service Bot added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Nov 11, 2026
@microsoft-github-policy-service

Copy link
Copy Markdown
Contributor

Thank you for your contribution Jordan Selig (@seligj95)! We will review the pull request and get back to you soon.

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.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

1 open issue
What changed in this PR

Restores two previously skipped App Service webapp tests by updating recorded runtimes from .NET 8 to supported .NET 10 and adjusting plan creation to explicitly target Windows (since plan creation now defaults to Linux).

Changes:

  • Remove temporary unittest.skip decorators for the affected webapp tests.
  • Update Windows and Linux runtime assertions from .NET 8 to .NET 10.
  • Make App Service plan creation explicitly Windows via --is-linux false and set quick-create plan SKU to B1.
File Description
src/​azure-cli/​azure/​cli/​command_modules/​appservice/​tests/​latest/​test_webapp_commands.py Unskips and re-records webapp tests by switching to .NET 10 runtimes and explicitly creating Windows plans.

Review effort: Lite

@yonzhan

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

@necusjz
Ethan Yang (necusjz) merged commit aecd03d into Azure:dev Nov 12, 2026
62 checks passed
@seligj95
Jordan Selig (seligj95) deleted the seligj95-webapp-test-recovery branch November 13, 2026 04:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

act-observability-squad customer-reported Issues that are reported by GitHub users external to the Azure organization. Web Apps az webapp

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants