Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

[codex] split ci workflow jobs (#2940)

Julius Marminge4c262c4b4e4b
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index fb1a0d75c..b4f0eef0c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -7,8 +7,8 @@ on:
- main
jobs:
- quality:
- name: Format, Lint, Typecheck, Test, Browser Test, Build
+ check:
+ name: Check
runs-on: blacksmith-8vcpu-ubuntu-2404
timeout-minutes: 10
steps:
@@ -22,14 +22,6 @@ jobs:
cache: true
run-install: true
- - name: Cache Playwright browsers
- uses: actions/cache@v5
- with:
- path: ~/.cache/ms-playwright
- key: ${{ runner.os }}-playwright-${{ hashFiles('pnpm-lock.yaml') }}
- restore-keys: |
- ${{ runner.os }}-playwright-
-
- name: Ensure Electron runtime is installed
run: vp run --filter @t3tools/desktop ensure:electron
@@ -37,11 +29,60 @@ jobs:
run: vp check
- name: Typecheck
- run: vp run typecheck
+ run: vpr typecheck
+
+ - name: Build desktop pipeline
+ run: vp run build:desktop
+
+ - name: Verify preload bundle output
+ run: |
+ test -f apps/desktop/dist-electron/preload.cjs
+ grep -nE "desktopBridge|getLocalEnvironmentBootstrap|PICK_FOLDER_CHANNEL|wsUrl" apps/desktop/dist-electron/preload.cjs
+
+ test:
+ name: Test
+ runs-on: blacksmith-8vcpu-ubuntu-2404
+ timeout-minutes: 10
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v6
+
+ - name: Setup Vite+
+ uses: voidzero-dev/setup-vp@v1
+ with:
+ node-version-file: package.json
+ cache: true
+ run-install: true
+
+ - name: Ensure Electron runtime is installed
+ run: vp run --filter @t3tools/desktop ensure:electron
- name: Test
run: vp run test
+ test_browser:
+ name: Test Browser
+ runs-on: blacksmith-8vcpu-ubuntu-2404
+ timeout-minutes: 10
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v6
+
+ - name: Setup Vite+
+ uses: voidzero-dev/setup-vp@v1
+ with:
+ node-version-file: package.json
+ cache: true
+ run-install: true
+
+ - name: Cache Playwright browsers
+ uses: actions/cache@v5
+ with:
+ path: ~/.cache/ms-playwright
+ key: ${{ runner.os }}-playwright-${{ hashFiles('pnpm-lock.yaml') }}
+ restore-keys: |
+ ${{ runner.os }}-playwright-
+
- name: Install browser test runtime
run: vp run --filter @t3tools/web test:browser:install
@@ -65,14 +106,6 @@ jobs:
src/components/chat/CompactComposerControlsMenu.browser.tsx \
src/components/settings/SettingsPanels.browser.tsx
- - name: Build desktop pipeline
- run: vp run build:desktop
-
- - name: Verify preload bundle output
- run: |
- test -f apps/desktop/dist-electron/preload.cjs
- grep -nE "desktopBridge|getLocalEnvironmentBootstrap|PICK_FOLDER_CHANNEL|wsUrl" apps/desktop/dist-electron/preload.cjs
-
mobile_native_static_analysis:
name: Mobile Native Static Analysis
runs-on: blacksmith-12vcpu-macos-26
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index f2078ec83..ad8b33707 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -752,6 +752,9 @@ importers:
effect:
specifier: 4.0.0-beta.73
version: 4.0.0-beta.73(patch_hash=a28d840fa97ffebabe628e5562837c537d83c40cfdad8049de73c38086f2fb01)
+ yaml:
+ specifier: ^2.9.0
+ version: 2.9.0
devDependencies:
'@effect/vitest':
specifier: 4.0.0-beta.73
diff --git a/scripts/package.json b/scripts/package.json
index cc7dc04a8..e4420bd80 100644
--- a/scripts/package.json
+++ b/scripts/package.json
@@ -11,7 +11,8 @@
"@effect/platform-node": "catalog:",
"@t3tools/contracts": "workspace:*",
"@t3tools/shared": "workspace:*",
- "effect": "catalog:"
+ "effect": "catalog:",
+ "yaml": "catalog:"
},
"devDependencies": {
"@effect/vitest": "catalog:",