فینورا پرو - سامانه جامع حسابداری و صدور فاکتور
ci(a08): run isolated stability acceptance on QA pull request
Davood Mehraban committed
Nov 23, 2026 at 22:49 UTC
d076957047e9f9c3eb6344974d80278d277cb49f
1 file changed
+13
-6
.github/workflows/a08-installed-memory-stability.yml
+13
-6
@@ -1,5 +1,11 @@
1
name: A08 installed Windows memory stability (reuse NSIS)
2
on:
3
+ pull_request:
4
+ paths:
5
+ - '.github/workflows/a08-installed-memory-stability.yml'
6
+ - 'tests/windows-vm-native-memory-stability-browser.js'
7
+ - 'tests/windows-vm-installed-tauri-cdp.cjs'
8
+ - 'scripts/windows-vm-targeted-a08.ps1'
9
workflow_dispatch:
10
inputs:
11
artifact_run_id:
@@ -19,6 +25,7 @@ permissions:
25
actions: read
26
jobs:
27
targeted-native-a08:
28
+ if: github.event_name == 'workflow_dispatch' || github.head_ref == 'work/a08-memory-stability-20261123'
29
runs-on: windows-latest
30
timeout-minutes: 35
31
steps:
@@ -26,7 +33,7 @@ jobs:
33
# binary-producing source SHA independently against its successful run.
34
- uses: actions/checkout@v4
35
with:
29
- ref: ${{ github.ref }}
36
+ ref: ${{ github.event.pull_request.head.sha || github.sha }}
37
persist-credentials: false
38
- uses: actions/setup-node@v4
39
with:
@@ -35,9 +42,9 @@ jobs:
42
shell: pwsh
43
env:
44
GH_TOKEN: ${{ github.token }}
38
- SOURCE_RUN: ${{ inputs.artifact_run_id }}
39
- SOURCE_SHA: ${{ inputs.source_sha }}
40
- EXPECTED_VERSION: ${{ inputs.expected_version }}
45
+ SOURCE_RUN: ${{ inputs.artifact_run_id || '45243530762' }}
46
+ SOURCE_SHA: ${{ inputs.source_sha || '25faa1548536572d4a2199fe9c11fea9c1029b6f' }}
47
+ EXPECTED_VERSION: ${{ inputs.expected_version || '2.0.4' }}
48
run: |
49
if ($env:SOURCE_RUN -notmatch '^[0-9]+$') { throw 'Invalid source run ID' }
50
if ($env:SOURCE_SHA -notmatch '^[a-fA-F0-9]{40}$') { throw 'Invalid source commit SHA' }
@@ -53,14 +60,14 @@ jobs:
60
- name: Reuse already-built candidate NSIS
61
uses: actions/download-artifact@v4
62
with:
56
- run-id: ${{ inputs.artifact_run_id }}
63
+ run-id: ${{ inputs.artifact_run_id || '45243530762' }}
64
github-token: ${{ github.token }}
65
name: phase-a-native-candidate-nsis
66
path: test-installer
67
- name: Run ten real installed WebView2 A08 memory cycles
68
shell: pwsh
69
env:
63
- EXPECTED_VERSION: ${{ inputs.expected_version }}
70
+ EXPECTED_VERSION: ${{ inputs.expected_version || '2.0.4' }}
71
run: |
72
$files=@(Get-ChildItem test-installer -Recurse -Filter '*x64-setup.exe')
73
if ($files.Count -ne 1) { throw 'Expected exactly one reused NSIS installer' }