Harden Electron startup waits in dev and CI
- add configurable `T3CODE_ELECTRON_STARTUP_TIMEOUT_MS` to desktop startup and CI perf jobs - replace simple TCP wait with explicit renderer host probes and clearer timeout errors - include Electron startup timeout env in Turborepo global env passthrough
This commit is contained in:
1 parent
4622dbd5f9
commit
a293a010cd
3 files changed
+82
-8
No files matched your search
@@ -79,6 +79,7 @@ jobs:
|
||||
env:
|
||||
T3CODE_PERF_TIMEOUT_MS: "420000"
|
||||
T3CODE_PERF_MAX_LONG_DISPATCH_COUNT: "5"
|
||||
T3CODE_ELECTRON_STARTUP_TIMEOUT_MS: "180000"
|
||||
run: xvfb-run -a bun run test:desktop-perf
|
||||
|
||||
- name: Desktop perf trace test (fork PR)
|
||||
@@ -86,6 +87,7 @@ jobs:
|
||||
env:
|
||||
T3CODE_PERF_TIMEOUT_MS: "420000"
|
||||
T3CODE_PERF_MAX_LONG_DISPATCH_COUNT: "5"
|
||||
T3CODE_ELECTRON_STARTUP_TIMEOUT_MS: "180000"
|
||||
run: xvfb-run -a bun run test:desktop-perf
|
||||
|
||||
- name: Desktop perf trace test and PR summary
|
||||
@@ -94,6 +96,7 @@ jobs:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
T3CODE_PERF_TIMEOUT_MS: "420000"
|
||||
T3CODE_PERF_MAX_LONG_DISPATCH_COUNT: "5"
|
||||
T3CODE_ELECTRON_STARTUP_TIMEOUT_MS: "180000"
|
||||
run: xvfb-run -a bun run test:desktop-perf:post
|
||||
|
||||
- name: Upload desktop perf artifacts
|
||||
|
||||
Reference in new issue
Block a user