build(app): allow a slow Electron start in the CLI staging smoke test

This commit is contained in:
iamtoruk 2026-09-03 00:01:34 -07:00
parent 9eafaefbfa
commit f03a3133e2

View file

@ -154,7 +154,8 @@ try {
const modelsHelp = execFileSync(electronPath, [launchPath, 'models', '--help'], {
env: electronEnv,
encoding: 'utf8',
timeout: 5_000,
// An x64 Electron under emulation on an ARM64 machine takes several seconds to start.
timeout: 30_000,
})
if (!/^Usage: codeburn models\b/m.test(modelsHelp)) {
throw new Error('stage-cli: Electron launch shim lost ordinary CLI arguments')