Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(preview): run the browser on the environment server #15328

Mergedmaria-rcksmerged 68 commits intomain fromrefs/pull/15328/headmerged by juliusmarminge View on GitHub

Showing 163 changed files with 7 additions and 0 deletions (loading 159).

x
0 of 163 viewed, 163 left
3 additions and 0 deletions.github/workflows/ci.ymlModified
View file
@@ -255,6 +255,9 @@
# No Electron setup here: `t3` (apps/server) has no Electron dependency
# and none of its tests touch the runtime. Only the non-server `test`
# job, which covers @t3tools/desktop, needs the download.
+ - name: Install Chromium for server browser integration tests
+ run: node apps/server/node_modules/playwright-core/cli.js install --with-deps --only-shell chromium
+​
- name: Test
env:
T3CODE_TRANSFER_BUDGET_REPORT_PATH: ${{ runner.temp }}/t3code-transfer-budget.md
2 additions and 0 deletionsapps/desktop/src/backend/DesktopBackendConfiguration.tsModified
View file
@@ -568,6 +568,8 @@
tailscaleServePort: backendExposure.tailscaleServePort,
desktopTelemetryFd: 4,
desktopTelemetryControlFd: 5,
+ desktopBrowserFd: 6,
+ desktopBrowserControlFd: 7,
...Option.match(input.resourceMonitorPath, {
onNone: () => ({}),
onSome: (resourceMonitorPath) => ({ resourceMonitorPath }),
2 additions and 0 deletionsapps/desktop/src/backend/DesktopBackendManager.test.tsModified
View file
@@ -27,6 +27,7 @@
import * as DesktopBackendPool from "./DesktopBackendPool.ts";
import * as DesktopObservability from "../app/DesktopObservability.ts";