Enable Linux Electron sandbox override for desktop perf runs
- Set `ELECTRON_DISABLE_SANDBOX=1` in CI desktop perf trace jobs - Auto-enable the same override in Linux `dev-electron` runs when unset - Add sandbox-failure log hint in perf trace diagnostics - Include `ELECTRON_DISABLE_SANDBOX` in Turbo passthrough env
This commit is contained in:
1 parent
0bca5a4215
commit
6721804b64
4 files changed
+12
No files matched your search
@@ -351,6 +351,9 @@ function inferDesktopPerfTimeoutHint(logChunks) {
|
||||
if (lowered.includes("error while loading shared libraries")) {
|
||||
return "Electron failed to start due missing Linux shared libraries.";
|
||||
}
|
||||
if (lowered.includes("setuid_sandbox_host.cc") || lowered.includes("chrome-sandbox")) {
|
||||
return "Electron sandbox setup failed on Linux CI (setuid sandbox helper).";
|
||||
}
|
||||
if (lowered.includes("no usable sandbox")) {
|
||||
return "Electron sandbox failed to initialize in CI.";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user