Skip to content

C3: Assess the source

  • Day 1
  • Member challenge
  • 60 min

Assessment tools produce long lists. A migration only goes well if a person reads each finding and decides what it means. C3 is where you turn raw output from the Upgrade agent and from Azure Arc into a reviewed list: blocker, accepted risk, or fix.

Business context. Priya, the head of IT operations, has patched this VM by hand for years and has never had a list of what a move would break. C3 gives her that list before anyone changes code.

Business outcome. Safe, repeatable change. Risks are known before work starts. Every finding is triaged, and the one the kit set on purpose (the trace flags) has a removal decision.

Objective. Be able to triage migration assessment findings and tell an expected, self-inflicted finding from a real blocker.

Time and scope. Day 1, 10:30, 60 min (pacing), Member. If the Upgrade agent runs are slow, do the Arc review (requirement 2) while they run. Your VM is already set up (set up vm-dev01), so none of the 60 minutes goes on setup.

Starting point. The first Arc migration assessment from Step 3: Datacenter and workstation, and your single clone (C:\src\<your-repo> on main) on vm-dev01. Both datacenter VMs must be running (az vm list -g rg-datacenter -d -o table).

Fixed by the kit. Your subscription was vended at T-1, so vm-dev01 already uses the hub’s DNS. The kit set the trace flags 1800 and 9567 on the source on purpose.

You decide. How you triage each finding, and what the trace-flag finding means for the target state.

Terms. The harness is where the Upgrade agent runs (Local means on vm-dev01). A scenario is the agent’s workflow (dotnet-version-upgrade). A gate is a point where the agent stops so you can review before it continues (the playbook’s Step 1 shows each one). The dashboard is an optional visual view of the Upgrade session, not a required embedded VS Code tab. Learn’s dashboard reference describes a side panel in the Copilot app and browser access in other clients. If it is unavailable in your VS Code session, review the files named below.

  1. Assess and plan (about 25 min). vm-dev01 · C:\src\<your-repo> (VS Code) Run the GitHub Copilot Upgrade agent against app/ContosoUniversity (harness Local, agent Upgrade, scenario dotnet-version-upgrade), by sending the whole of .github/modernization/plan-prompt.txt as the playbook’s Step 1 says. Review the assessment at the assessment gate first. Then approve planning and check the plan gate (plan.md with seven tasks). Don’t start task execution: that’s C6. Done when .github/upgrades/scenarios/dotnet-version-upgrade/assessment.md and plan.md exist and git status --short -- app prints nothing.

  2. Review the Arc assessment. Azure portal In Azure Arc > SQL Server instances, open the instance on vm-app01, then Migration > Assessments. Select Run assessment if needed, open its readiness details and select Azure SQL Managed Instance as the target to review. This is the current documented path; older portal versions use Database migration > Assess source instance > View report. Done when both reports are open side by side and you have listed every finding.

  3. Triage the findings in factory/evidence/c03/triage.md vm-dev01 · C:\src\<your-repo> from both assessments: classify each finding (must-fix / defer / ignore or blocker / accepted risk / fix) and state its impact on the target state.

  4. Verify the trace-flag finding. vm-dev01 · C:\src\<your-repo> The Arc assessment reports “Trace flags not supported in Azure SQL Managed Instance” (warning) for flags 1800 and 9567. Check why the kit set them in Enable startup trace flags of the MI link preparation article under References, and confirm your triage.md row explains why they are needed during MI link seeding and when they are removed (after C7 cutover, with Prepare-MiLinkSource.ps1 -RemoveTraceFlags).

  5. Commit in place on main. vm-dev01 · C:\src\<your-repo> (pwsh) Commit .github/upgrades/ and factory/evidence/c03/triage.md directly on main in C:\src\<your-repo> (no file copying between folders needed):

    vm-dev01 — C:\src<your-repo> (pwsh)
    cd C:\src\<your-repo>
    git pull --rebase
    git add .github/upgrades factory/evidence/c03/triage.md
    git commit -m "docs: C3 assessment, plan and triage"
    git push

To complete this challenge, check your work in C:\src\<your-repo> on main:

  • .github/upgrades/scenarios/dotnet-version-upgrade/assessment.md, assessment.json, and plan.md committed in place on main, with no task started yet and nothing in app/ changed.
  • factory/evidence/c03/triage.md committed on main, covering the DB and app findings and calling out why trace flags 1800 and 9567 stay until C7 cutover completes.
  • Outcome check: your triage table lets Priya see in one place which findings are handled in C6/C7 and which are deferred.

For technical blockers, check Troubleshooting before asking your coach.

How do I tell a self-inflicted finding from a real blocker?

Ask: does this finding describe something the kit deliberately set up on the source (like the trace flags), or does it describe application behavior that SQL MI genuinely can’t support? The first kind has a known cause and a known removal step. The second kind needs a target-state decision in C4.

The Upgrade agent won't produce an assessment

Check the harness is Local (not the Copilot harness) and the agent picker shows Upgrade. If the tools report unavailable, reload the VS Code window and start a new chat. If GitHub Copilot modernization is enabled for the workspace, or the Upgrade server has no model access, follow step 8 of Step 3.3.

The Upgrade dashboard doesn't open

The validated baseline is GitHub Copilot upgrade extension 1.1.612 on VS Code 1.139.0, as recorded in versions.md. Documentation reviewed 2026-10-31, not a new runtime test; the owner retests current versions before the dry run. If no dashboard opens, ask Copilot to show plan.md and tasks.md; review assessment.md and assessment.json for the assessment.

If you need to start over

Re-run either assessment: they only read the source, so there is no state to reset. To redo the Upgrade agent’s assess and plan from scratch, remove its leftovers first with git clean -fdx -- app .github/upgrades, then start a new chat. Correct triage.md in place rather than starting a new file.

Next: C4: Choose target states.