From 9b3cf701085ff9aab44d60afa54bd709825a8462 Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Wed, 1 Jul 2026 22:30:59 -0500 Subject: [PATCH] Record final speed verification --- pester/configs.Tests.ps1 | 5 +++-- speed-todo.md | 8 ++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/pester/configs.Tests.ps1 b/pester/configs.Tests.ps1 index ee321360..d0fff569 100644 --- a/pester/configs.Tests.ps1 +++ b/pester/configs.Tests.ps1 @@ -245,13 +245,14 @@ Describe "Preset config" { Describe "App navigation config" { It "is wired to an existing XAML target grid" { $mainScript = Get-Content -Path $script:mainScriptPath -Raw + $tabInitializerScript = Get-Content -Path (Join-Path $script:repoRoot "functions/private/Initialize-WinUtilTabContent.ps1") -Raw $targetGridMatch = [regex]::Match( - $mainScript, + "$mainScript`n$tabInitializerScript", 'Invoke-WPFUIElements\s+-configVariable\s+\$sync\.configs\.appnavigation\s+-targetGridName\s+"([^"]+)"' ) if (-not $targetGridMatch.Success) { - throw "scripts/main.ps1 does not wire appnavigation through Invoke-WPFUIElements." + throw "Startup tab initialization does not wire appnavigation through Invoke-WPFUIElements." } $xamlText = Get-Content -Path $script:xamlPath -Raw diff --git a/speed-todo.md b/speed-todo.md index 5295e69d..73033031 100644 --- a/speed-todo.md +++ b/speed-todo.md @@ -59,8 +59,8 @@ WinUtil currently does too much work before the first GUI paint. Work from the t ## P7 - Verification -- [ ] Run `.\Compile.ps1`. -- [ ] Run focused Pester tests for runspace, config, XAML wiring, install workflow, tweaks, and preferences/theme. -- [ ] Run the full Pester gate before marking speed work complete. +- [x] Run `.\Compile.ps1`. +- [x] Run focused Pester tests for runspace, config, XAML wiring, install workflow, tweaks, and preferences/theme. +- [x] Run the full Pester gate before marking speed work complete. - [ ] Manually launch with `.\Compile.ps1 -Run` and verify first paint, default tab, lazy tabs, search, install selection, tweak toggles, AppX tab, and Win11 ISO tab. -- [ ] Check `git status --short` and do not stage or commit generated `winutil.ps1`. +- [x] Check `git status --short` and do not stage or commit generated `winutil.ps1`.