name: mike-upgrade-walkthrough description: Generate a human-facing, screenshot-oriented walkthrough document for upgrading a deployed MikeOssAzure install from one version to the next (Azure portal clicks, no CLI), plus guide the operator through performing it live on a reference environment to capture the screenshots. Use when the user says "upgrade walkthrough", "customer upgrade guide", "screenshot the upgrade", or after a new marketplace release ships.
Mike upgrade walkthrough generator
Produces the document the customer's human follows (portal clicks +
screenshots), in the style of
C:\Data\Projects\Mike\MikeOSSAzure\docs\MikeOsssAzure Upgrade to 1.0.10.docx:
short imperative steps grouped in numbered phases, one screenshot after
each step, minimal prose. The agent-facing CLI equivalent lives at
docs/upgrade-<from>-to-<to>-agent-guide.md — keep the two consistent.
Step 1 — verify the facts first (never write from memory)
For the version pair being documented, check in git:
- New migrations between the two release tags? (
git diff marketplace/<from>..marketplace/<to> --stat -- backend/migrations) — if yes, Phase 1 (db-migrate) is mandatory and goes FIRST. - New KV secrets the template seeds that image-only upgrades won't get —
each needs either a self-seed in the backend (check
initDownloadSigningSecret-style warm-ups) or a manual step in the doc. - Resource names from the customer's deployed template generation (job
db-migratewith containermigrate, appbackend, vaultkv-mike-<env>) — confirm against the OLD version's Bicep, not HEAD. - Behaviour changes worth a "what to expect" note (e.g. old signed download links dying, features that error until a secret is added).
Step 2 — draft the document (three phases + caveats)
Structure (match the 1.0.10 doc):
- Phase 1 – Upgrade the database: locate resource group → open
db-migrateContainer App Job (separate portal list from Container Apps!) → Containers → Edit → image source "Docker Hub or other registries" / Public /acrmikeoss.azurecr.io/backend:<ver>(customers can't see our ACR in the Azure Container Registry picker) → Save/Apply → Overview → Run now → Execution history shows Succeeded. - Phase 2 – Upgrade the backend: resource group →
backendContainer App → Application → Containers → Edit and deploy → edit the container, same public-registry image entry → Create → Revision management shows new revision Running at 100%. - Phase 3 – Validation: Monitoring → Log stream (warn: minReplicas 0 means open the app URL first to wake a replica; the self-seed line only prints on the revision's FIRST boot — Key Vault secret timestamp is the durable evidence) → open the app, hard-refresh (Ctrl+F5), sign in, open a project, Download a document, open the file.
- What to expect after upgrading: the caveat list from Step 1.
Write steps as single imperative lines ("Click Save", "Select Containers –
migrate – Edit") and put [screenshot] markers where a capture belongs —
the operator replaces them with images.
Step 3 — capture screenshots live
Offer to pilot the operator through the real upgrade on the reference
environment (rg-mike-dev / mike.altien.com) step by step, pausing at
every [screenshot] marker. Verify server-side outcomes for them as they
go (revision state, job execution status, KV secret timestamp, boot logs
via az) so every screenshot shows a true success state.
Step 4 — deliver
Save the draft as markdown in docs/ (the operator converts to docx and
inserts images). Commit. Offer the matching agent-guide update if the
version pair has none.