installation-upgrade-testing
Installation
SKILL.md
Installation, Upgrade & Uninstall Testing
First and last impressions of your product happen in the installer. Use clean VMs/containers with snapshots for every run.
Matrix
Fresh install · upgrade N-1→N (and N-2, LTS→latest) · skip-version upgrade · downgrade/rollback · repair/reinstall · uninstall/purge · side-by-side versions · per-user vs system-wide · air-gapped/offline · silent/unattended · interrupted install (kill, power loss) · re-run same installer (idempotent).
Checklist
| Area | Verify |
|---|---|
| Prereqs | Missing/old runtime (JRE/.NET/glibc/OpenSSL) → clear error; disk space check; OS/arch support (x64/arm64) |
| Permissions | Non-admin/non-root behavior, UAC/sudo prompts, SELinux/AppArmor, file ownership & modes (no world-writable) |
| Paths | Spaces/unicode/long paths, custom install dir, network drive, read-only FS |
| Integrity | Checksums/signatures verified (sha256sum -c, gpg --verify, cosign verify), SBOM shipped, no debug symbols/secrets |
| Config & data | Existing config preserved (three-way merge), migrations run once & atomically, backup created before upgrade, user data untouched |
| Services | Daemon/service registered, starts on boot, ports free/conflict handling, health check passes |
| Upgrade | In-flight jobs/connections drained; DB schema forward + backward compatible during rolling update; cache/session invalidation; rollback path tested |
| Uninstall | Removes binaries, services, PATH/registry, shortcuts; keeps or prompts on user data; no orphan processes |
| Docs & UX | Install guide commands actually work copy-paste; progress, errors and logs actionable; exit codes (cli-testing) |