فینورا پرو - سامانه جامع حسابداری و صدور فاکتور

test(A08): run isolated 60k record native benchmark after installer checks

davoodmehraban89 committed Oct 16, 2026 at 22:21 UTC 093e8e1887a34d60979fc03220b6896d6f845bf3
1 file changed +8
scripts/windows-vm-native-lab.ps1
+8
@@ -143,6 +143,14 @@ try {
143 $freshExe = Install-NSIS $CandidateInstaller $freshDir
144 $freshResult = Run-Native $freshExe $freshData 'fresh' $CandidateVersion
145 $summary.freshInstall = $freshResult.indexedDb
146 +
147 + # A08: after all functional checks, measure the real installed candidate
148 + # using a separate disposable WebView2/IndexedDB profile. Never mix with
149 + # data-preservation or first-run validation profiles.
150 + $performanceData = Join-Path $lab 'webview2-native-performance-profile'
151 + $nativePerformance = Run-Native $freshExe $performanceData 'benchmark' $CandidateVersion
152 + $summary.nativePerformance = $nativePerformance.nativePerformance
153 +
154 $summary.status = 'PASSED'
155 Write-Output 'Verified fresh installation, NSIS in-place upgrade, retained v6 records, native login and Windows DPAPI'
156 Cleanup-Installed $freshDir