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

test(phaseA): require combined 14 native financial cases and real WebView2 60k heap evidence

On combined main candidate after A01 refund caps, A05 cheque reconciliation and A08 heap metrics, actual installed NSIS/Tauri/WebView2 Windows lab now fails if JS heap evidence is absent or invalid. All 14 finance UI cases, ten offline routes, RTL multipage PDF, 10k/50k native benchmark, encrypted restore, upgrade and process-kill rollback remain mandatory. PR Quality #38969463814 and Windows Native #38969463728 passed on exact PR SHA. No public release, customer data change, or external QA acceptance.

davoodmehraban89 committed Oct 17, 2026 at 01:02 UTC 0be5840609293ee8221a75f1c7dcfa4b35749d3f
1 file changed +12
scripts/windows-vm-native-lab.ps1
+12
@@ -207,12 +207,24 @@ try {
207 'killed-real-installed-Windows-WebView2-during-importAll-no-partial-rows-on-restart') {
208 throw 'A04 actual process-crash restore rollback evidence is missing'
209 }
210 + # New A08 criterion: this is *renderer JavaScript heap*, never total Windows
211 + # RAM/RSS. Require the real installed candidate's CDP memory measurements.
212 + $heap = $nativePerformance.nativePerformance.jsHeapBytes
213 + if (!$heap -or $nativePerformance.nativePerformance.jsHeapScope -ne
214 + 'renderer-js-heap-not-total-Windows-process-memory' -or
215 + [long]$heap.beforeUsed -le 0 -or
216 + [long]$heap.afterUsed -le 0 -or
217 + [long]$heap.afterAllocated -lt [long]$heap.afterUsed) {
218 + throw 'Installed native WebView2 60k workload has no valid JS heap evidence'
219 + }
220 $summary.integratedCoverage = [ordered]@{
221 installedFinancialScenarios = $mandatory.Count
222 offlineRoutes = 10
223 printPdfPages = [int]$freshResult.nativePrint.pages
224 benchmarkProducts = 10000
225 benchmarkInvoices = 50000
226 + nativeJsHeapAfterUsedBytes = [long]$heap.afterUsed
227 + nativeJsHeapScope = 'renderer-only'
228 crashRestoreRowsRemaining = 0
229 independentHumanQA = 'not-covered'
230 customerBackup = 'not-covered'