Add azure-upgrade skill for Azure Functions Consumption to Flex Consumption migration#1211
Merged
kvenkatrajan merged 10 commits intomicrosoft:mainfrom Mar 12, 2026
Merged
Conversation
Contributor
Author
- Add unit, trigger, and integration tests for azure-upgrade skill - Add create-function-app-consumption.sh setup script - Condense SKILL.md description to meet 60-word limit - Register azure-upgrade in tests/skills.json
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new azure-upgrade skill under plugin/skills/ to guide Azure-to-Azure “upgrade” workflows, starting with Azure Functions Linux Consumption → Flex Consumption, and wires it into the test suite and integration schedule.
Changes:
- Added new
azure-upgradeskill content (SKILL.md + reference docs for workflow, rules, assessment template, and automation scripts). - Added unit, trigger (with snapshots), and integration tests for
azure-upgrade, plus a helper shell script for integration setup. - Registered
azure-upgradeintests/skills.jsonand added it to the integration test schedule.
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/skills.json | Adds azure-upgrade to the skills list and scheduled integration runs. |
| tests/azure-upgrade/unit.test.ts | Validates the new skill’s metadata and required content sections. |
| tests/azure-upgrade/triggers.test.ts | Adds trigger coverage + snapshots for keyword extraction behavior. |
| tests/azure-upgrade/integration.test.ts | Runs an end-to-end agent session for Consumption → Flex migration flow. |
| tests/azure-upgrade/create-function-app-consumption.sh | Script used by the integration test to create a source Consumption app. |
| tests/azure-upgrade/snapshots/triggers.test.ts.snap | Snapshot baseline for trigger keywords/metadata. |
| plugin/skills/azure-upgrade/SKILL.md | Defines the new skill’s triggers, rules, scenarios, and workflow outline. |
| plugin/skills/azure-upgrade/references/global-rules.md | Global safety and confirmation rules for upgrade operations. |
| plugin/skills/azure-upgrade/references/workflow-details.md | Workflow phase details and upgrade-status.md tracking template. |
| plugin/skills/azure-upgrade/references/services/functions/assessment.md | Standardized assessment report template + required headings. |
| plugin/skills/azure-upgrade/references/services/functions/consumption-to-flex.md | Scenario playbook for Consumption → Flex migration. |
| plugin/skills/azure-upgrade/references/services/functions/automation.md | CLI-driven step-by-step automation scripts for the scenario. |
You can also share your feedback on Copilot code review. Take the survey.
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 12 out of 12 changed files in this pull request and generated 3 comments.
Comments suppressed due to low confidence (1)
plugin/skills/azure-upgrade/references/services/functions/automation.md:369
- The “Verify Plan” step only prints
serverFarmId, which identifies the plan but doesn’t actually validate that the plan is Flex Consumption (FC1/FlexConsumption). To make this a real verification step, follow up by querying the referenced App Service plan and asserting its SKU/tier matches Flex Consumption.
### Verify Plan
```bash
az functionapp show --name <NEW_APP_NAME> --resource-group <RESOURCE_GROUP> --query "serverFarmId"
</details>
---
You can also share your feedback on Copilot code review. [Take the survey](https://www.surveymonkey.com/r/XP6L3XJ).
plugin/skills/azure-upgrade/references/services/functions/consumption-to-flex.md
Show resolved
Hide resolved
…ove azure-diagnostics frontmatter
saikoumudi
approved these changes
Mar 12, 2026
kvenkatrajan
approved these changes
Mar 12, 2026
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.






Add
azure-upgradeskill for Azure Functions Consumption to Flex Consumption migrationSummary
Introduces a new skill to guide assessment and automated upgrades of Azure Functions apps from Consumption Plan to Flex Consumption Plan. This is the first "Azure-to-Azure" upgrade scenario — the skill framework supports adding more upgrade paths in the future.
What's included
SKILL.mdreferences/global-rules.mdask_userrequirements, identity-first authreferences/workflow-details.mdreferences/services/functions/assessment.mdreferences/services/functions/consumption-to-flex.mdreferences/services/functions/automation.mdKey features
az functionapp flex-migration listaz functionapp flex-migration start(config only — code deployed separately)Scope
Related docs
Testing
flex-migration listreturns eligible/ineligible apps