Windows Native Deployment Tests¶
Automated (PowerShell, no live SCM)¶
| File | Categories covered |
|---|---|
scripts/windows/common/tests/Install.Tests.ps1 |
Config preserve, ReplaceRuntimeConfig, transactional recovery, TestFailAt stage names, no post-create ImagePath UpdateConfig |
PortOwnership.Tests.ps1 |
Clean install / preserved runtime / ServiceRepair PID ownership, EXIT_PORT=15, step counter |
UpdateDecision.Tests.ps1 |
NO-OP, Update, unknown metadata, ForceRedeploy, git behind/ahead/diverged, SkipGitPull |
UpdateRollback.Tests.ps1 |
Self-copy skip, backup restore, TestFailAt match-only |
Status.Tests.ps1 |
$PID bug, exit mapping, redaction |
GitMetadata.Tests.ps1 |
Tag optional, dev-<sha> fallback |
internal/windowsservice/*_test.go |
ImagePath quoting, parse |
These do not start the Windows Service or reboot the host.
Live categories (from recorded lab pages)¶
Clean install, prerequisites (Admin, AMD64, Go, Git), Mongo Windows service + TCP, build/vet/test/check/migrate, service quoting, LocalService, delayed start, Mongo dependency, recovery 5s/10s/30s, firewall Domain/Private, health live/ready, reboot, idempotent ServiceRepair, config preserve, ForceRedeploy, rollback (TestFailAt=AfterBinarySwap), uninstall/reinstall, PID/port ownership.
Narrative: Windows Service E2E. Commit-scoped operator summary: Live E2E.