Repository navigation
{App Service} Recover Function App scenarios with supported runtimes - #34401
Ethan Yang (necusjz) merged 2 commits into
Conversation
Re-record 45 scenarios with supported .NET and PowerShell runtimes. Preserve four skips whose original hosting/runtime coverage has no supported successor. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
Thank you for your contribution Jordan Selig (@seligj95)! We will review the pull request and get back to you soon. |
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the Function App scenario coverage restoration.
No open issues 🎉
What changed in this PR
Restores Function App scenario coverage disabled in #34391 after runtime end of life, without changing production commands or the separate Web App fixes in #34400.
Changes:
- Re-enables 45 scenarios using .NET 10 isolated and PowerShell 7.6, retaining four skips with specific compatibility reasons.
- Updates storage, Windows plan selection, Container Apps images, and regions to supported fixtures.
- Adjusts runtime assertions and SCM default-action expectations to match current service behavior.
| File | Description |
|---|---|
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_webapp_commands.py |
Restores Function App CORS coverage with supported runtime and Windows plan fixtures. |
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py |
Restores 36 scenarios, updates runtime and hosting fixtures, and clarifies four remaining skips. |
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_access_restriction_commands.py |
Restores eight access-restriction scenarios and updates the inherited SCM default-action assertion. |
Review effort: Balanced
|
Azure Functions team input requested on the four scenarios still skipped in this PR. I am leaving them skipped rather than changing what they cover without guidance:
Could you confirm the intended coverage for these cases: retain the original inputs and assert rejection, replace the retired combinations with supported hosting/runtime equivalents, or address the underlying default-runtime behavior? In particular, should the omitted-runtime path select a supported runtime, or is rejection now expected? The other 45 scenarios have been recovered and passed live and playback. No additional changes to these four will be made in this PR until we have the Functions team’s guidance. |
Re-record the 45 restored scenarios with repository-pinned dependencies, including azure-mgmt-storage 25.3.0 and Storage API 2026-09-01. Preserve strict cassette matching and the four deferred runtime skips. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
🤖 PR Validation —⚠️ Review suggested
This PR adds warning or check suppressions. Fix the underlying warning where possible and justify each remaining suppression in a code comment or the PR description.
2 added suppressions
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py@unittest.skip('PowerShell 7.4 reached end-of-life; Linux Consumption does not support PowerShell 7.6.')src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py@unittest.skip('Supported .NET versions reached end-of-life; Linux Consumption does not support .NET 10.')Related command
az functionapp,az functionapp config access-restriction, andaz functionapp corsDescription
Recover 45 of the 49 Function App scenarios temporarily skipped by #34391 after recorded .NET 8 and PowerShell 7.4 metadata reached end of life on November 10, 2026.
This is an independent, single-commit PR against
dev. It does not include or modify the two Web App fixes in #34400.StorageV2storage fixtures, explicitly select Windows for generic App Service plans that require it, and reflect SCM's inherited default action when main-site restrictions are enabled.Four scenarios retain method-level skips with specific reasons rather than changing the coverage they represent:
test_functionapp_consumption_linux_powershelltest_functionapp_consumption_linux_dotnet_isolatedtest_functionapp_on_linux_dotnet_consumptiontest_functionapp_windows_without_runtime--runtimestill selects in-process .NET in production; adding an explicit runtime would defeat this test.Hosting-plan limits: https://learn.microsoft.com/azure/azure-functions/supported-languages
Testing Guide
azdev style --repo ./ --src seligj95-function-app-test-recovery --tgt HEAD^— passed (Pylint and Flake8), using process-local CLI/extension paths and workspace source imports.azdev linter --min-severity medium --repo ./ --src seligj95-function-app-test-recovery --tgt HEAD^— blocked during global command-table initialization, before module linting, by the older localazure-mgmt-containerregistrypackage lackingManagedServiceIdentityTypeimported by unchanged ACR code. No repository dependency changes were made to work around that unrelated toolchain mismatch.azdev scanwith its standard high-confidence rules checked all 48 changed files — passed, no secrets detected. Generated host master/default keys are redacted; the sanitized unpublished commit replaced the initial local commit before any push.git diff --check— passed.Exact playback command
Run with workspace CLI/test SDK sources selected via
PYTHONPATHand the worktree's isolated Python 3.13 environment. No live-test environment flag is set.Additional exact targeted commands:
History Notes
Test-only change; no customer-facing behavior change.
This checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.