fix(ci): ISO-assert discards stale WIM mount (was blocking ISO persist) #18
Reference in New Issue
Block a user
Delete Branch "fix/iso-assert-stale-mount"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The app-recipes build (run #101) built the ISO successfully (catalog + scripts baked, branding applied, 7 Pester + 36 unit tests green, SHA
B570AAE9…) but the "Validate baked payload" step failed atAssert-IsoStructure.ps1:32:The validator reused a fixed mount dir (
$env:TEMP\sm-assert-wim); a prior aborted run left a WIM mounted there. Because that step failed (and the persist step isn'talways()), "Persist build output to stable path" was skipped — so no ISO reachedC:\silvermetal\out\and the build couldn't be deployed.Fix
Dismount-WindowsImage -Discardany stale mounts +Clear-WindowsCorruptMountPoint(mirrorsbuild.ps1Stage 0).sm-assert-wim-<guid>) and remove it infinally.apps/catalog.jsonbaked into the WIM, so CI now guards the new app-recipes payload too.No payload/build logic changed — the resulting ISO is the same content, this just unblocks validation + persist.
Test Plan
Assert-IsoStructure.ps1parses clean🤖 Generated with Claude Code