Skip to content

{App Service} Skip scenarios using end-of-life runtimes - #34391

Merged
Naga Nandyala (naga-nandyala) merged 2 commits into
Azure:devfrom
naga-nandyala:skip/appservice-eol-recordings
Nov 10, 2026
Merged

Naga Nandyala (naga-nandyala) merged 2 commits into
Azure:devfrom
naga-nandyala:skip/appservice-eol-recordings

Conversation

@naga-nandyala

@naga-nandyala Naga Nandyala (naga-nandyala) commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

🤖 PR Validation — ⚠️ Review suggested

Breaking Changes Tests Suppressions
️✔️ None ️✔️ 130/130 ⚠️ 50 added

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.

50 added suppressions
File Line Kind Code
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_access_restriction_commands.py 27 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_access_restriction_commands.py 53 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_access_restriction_commands.py 85 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_access_restriction_commands.py 106 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_access_restriction_commands.py 128 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_access_restriction_commands.py 184 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_access_restriction_commands.py 211 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_access_restriction_commands.py 232 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py 192 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py 215 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py 270 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py 347 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py 373 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py 399 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py 412 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py 427 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py 495 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py 524 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py 662 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py 685 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py 705 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py 2067 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py 2093 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py 2154 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py 2181 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py 2202 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py 2223 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py 2272 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py 2299 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')
src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_functionapp_commands.py 2339 skipped test @unittest.skip('Recorded runtime reached end-of-life on 2026-11-10; update runtime and re-record.')

20 more not shown.

Related commands

az functionapp and az webapp

Description

Temporarily skip exactly the 51 recorded App Service scenarios failing after the runtime metadata in their recordings reached its end-of-life date on November 10, 2026 (.NET 8 and PowerShell 7.4).

The identical failures occur in dev build 20261110.6 and both Python 3.12 and 3.14 jobs in build 20261110.10. This PR is separate from the credential-scanner suppression in #34389.

Following maintainer feedback relayed by the requester, use the existing method-level @unittest.skip pattern already present in these test files, with the skip placed outside resource-preparer decorators. Each reason identifies the EOL date and states that runtimes must be updated and scenarios re-recorded before re-enabling.

Scope:

  • 8 Function App access-restriction scenarios
  • 40 Function App scenarios
  • 3 Web App/CORS scenarios

Only these 51 methods are skipped; no entire classes or modules are disabled. Production EOL checks, test bodies, existing decorators, recordings, dedicated EOL-validation tests, and all other tests remain unchanged. No clock mocking is introduced.

Testing Guide

  • Matched the exact set of 51 failed test IDs from the dev build against both Python jobs in build 20261110.10.
  • AST comparison verified that removing the newly added skip decorators reproduces the original AST of all three files exactly.
  • Isolated unittest verification on Python 3.12 and Python 3.14: 51 tests collected, all 51 skipped with the expected reason. These checks compile the actual methods with the skip decorators; they do not execute the full Azure CLI scenario harness or service calls.
  • git diff --check passed.
  • Full scenario-suite validation remains for CI; local Azure CLI test dependencies are not installed.

Follow-up

Update the affected scenarios to supported runtimes, re-record them, and remove these skips.

History Notes

Test-only change; no customer-facing behavior change.

Skip the 51 recorded scenarios failing after .NET 8 and PowerShell 7.4 reached their recorded end-of-life date on 2026-11-10. Use existing method-level unittest.skip decorators and document that runtimes and recordings need updating before re-enabling the tests. Leave production EOL validation and all other tests unchanged.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

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

No active review issues remain for the temporary skips of App Service scenarios using end-of-life runtimes.

No open issues 🎉

What changed in this PR

Temporarily skips 51 Azure CLI App Service scenarios whose recorded runtimes reached end-of-life on November 10, 2026, pending runtime updates and re-recording.

Changes:

  • Adds method-level @unittest.skip decorators outside resource-preparer decorators.
  • Includes the EOL date and re-enablement steps in each skip reason.
  • Leaves production checks, test bodies, recordings, and other tests unchanged.
File Description
src/​azure-cli/​azure/​cli/​command_modules/​appservice/​tests/​latest/​test_webapp_commands.py Skips 3 Web App/CORS scenarios.
src/​azure-cli/​azure/​cli/​command_modules/​appservice/​tests/​latest/​test_functionapp_commands.py Skips 40 Function App scenarios.
src/​azure-cli/​azure/​cli/​command_modules/​appservice/​tests/​latest/​test_functionapp_access_restriction_commands.py Skips 8 Function App access-restriction scenarios.

Review effort: Balanced

@yonzhan

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

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

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants