chore(ci): make the Electron Windows leg advisory with bash stderr capture (first-run failure diagnosis) (#7340)

This commit is contained in:
Diego Rodrigues de Sa e Souza
2026-07-15 21:18:16 -03:00
committed by GitHub
parent 13e312b311
commit d8edefd151
2 changed files with 8 additions and 1 deletions

View File

@@ -670,10 +670,16 @@ jobs:
if: runner.os == 'Linux'
working-directory: electron
run: npm run pack
# ADVISORY while the new Windows leg matures (repo convention, dast-smoke
# precedent): its first-ever real run (2026-07-15, run 29457533565) died in
# 0.7s with the error swallowed by pwsh — bash shell captures stderr and
# continue-on-error keeps the heavy gate green while we harden it (#7336).
- name: Prepare Electron standalone (Windows ABI rebuild + spawn path)
if: runner.os == 'Windows'
working-directory: electron
run: npm run prepare:bundle
continue-on-error: true
shell: bash
run: npm run prepare:bundle 2>&1
- name: Smoke packaged Electron app
if: runner.os == 'Linux'
env: