authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-06-03 22:57:42-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-06-03 22:57:42-07:00
log4c262c4b4e4b63977872454f33bd49a7e40e745a
tree6daa856bdf5b101d5d16b4301575614be05ea8d2
parent4f3d00f0637ca6950740c1ff286fb1ccb8625ed0
signature Signed by PGP key B5690EEEBB952194

[codex] split ci workflow jobs (#2940)

Co-authored-by: Julius Marminge <julius@mac.lan>

3 files changed, 57 insertions(+), 20 deletions(-)

.github/workflows/ci.yml+52-19
...@@ -7,8 +7,8 @@ on:...@@ -7,8 +7,8 @@ on:
7 - main7 - main
88
9jobs:9jobs:
10 quality:10 check:
11 name: Format, Lint, Typecheck, Test, Browser Test, Build11 name: Check
12 runs-on: blacksmith-8vcpu-ubuntu-240412 runs-on: blacksmith-8vcpu-ubuntu-2404
13 timeout-minutes: 1013 timeout-minutes: 10
14 steps:14 steps:
...@@ -22,14 +22,6 @@ jobs:...@@ -22,14 +22,6 @@ jobs:
22 cache: true22 cache: true
23 run-install: true23 run-install: true
2424
25 - name: Cache Playwright browsers
26 uses: actions/cache@v5
27 with:
28 path: ~/.cache/ms-playwright
29 key: ${{ runner.os }}-playwright-${{ hashFiles('pnpm-lock.yaml') }}
30 restore-keys: |
31 ${{ runner.os }}-playwright-
32
33 - name: Ensure Electron runtime is installed25 - name: Ensure Electron runtime is installed
34 run: vp run --filter @t3tools/desktop ensure:electron26 run: vp run --filter @t3tools/desktop ensure:electron
3527
...@@ -37,11 +29,60 @@ jobs:...@@ -37,11 +29,60 @@ jobs:
37 run: vp check29 run: vp check
3830
39 - name: Typecheck31 - name: Typecheck
40 run: vp run typecheck32 run: vpr typecheck
33
34 - name: Build desktop pipeline
35 run: vp run build:desktop
36
37 - name: Verify preload bundle output
38 run: |
39 test -f apps/desktop/dist-electron/preload.cjs
40 grep -nE "desktopBridge|getLocalEnvironmentBootstrap|PICK_FOLDER_CHANNEL|wsUrl" apps/desktop/dist-electron/preload.cjs
41
42 test:
43 name: Test
44 runs-on: blacksmith-8vcpu-ubuntu-2404
45 timeout-minutes: 10
46 steps:
47 - name: Checkout
48 uses: actions/checkout@v6
49
50 - name: Setup Vite+
51 uses: voidzero-dev/setup-vp@v1
52 with:
53 node-version-file: package.json
54 cache: true
55 run-install: true
56
57 - name: Ensure Electron runtime is installed
58 run: vp run --filter @t3tools/desktop ensure:electron
4159
42 - name: Test60 - name: Test
43 run: vp run test61 run: vp run test
4462
63 test_browser:
64 name: Test Browser
65 runs-on: blacksmith-8vcpu-ubuntu-2404
66 timeout-minutes: 10
67 steps:
68 - name: Checkout
69 uses: actions/checkout@v6
70
71 - name: Setup Vite+
72 uses: voidzero-dev/setup-vp@v1
73 with:
74 node-version-file: package.json
75 cache: true
76 run-install: true
77
78 - name: Cache Playwright browsers
79 uses: actions/cache@v5
80 with:
81 path: ~/.cache/ms-playwright
82 key: ${{ runner.os }}-playwright-${{ hashFiles('pnpm-lock.yaml') }}
83 restore-keys: |
84 ${{ runner.os }}-playwright-
85
45 - name: Install browser test runtime86 - name: Install browser test runtime
46 run: vp run --filter @t3tools/web test:browser:install87 run: vp run --filter @t3tools/web test:browser:install
4788
...@@ -65,14 +106,6 @@ jobs:...@@ -65,14 +106,6 @@ jobs:
65 src/components/chat/CompactComposerControlsMenu.browser.tsx \106 src/components/chat/CompactComposerControlsMenu.browser.tsx \
66 src/components/settings/SettingsPanels.browser.tsx107 src/components/settings/SettingsPanels.browser.tsx
67108
68 - name: Build desktop pipeline
69 run: vp run build:desktop
70
71 - name: Verify preload bundle output
72 run: |
73 test -f apps/desktop/dist-electron/preload.cjs
74 grep -nE "desktopBridge|getLocalEnvironmentBootstrap|PICK_FOLDER_CHANNEL|wsUrl" apps/desktop/dist-electron/preload.cjs
75
76 mobile_native_static_analysis:109 mobile_native_static_analysis:
77 name: Mobile Native Static Analysis110 name: Mobile Native Static Analysis
78 runs-on: blacksmith-12vcpu-macos-26111 runs-on: blacksmith-12vcpu-macos-26
pnpm-lock.yaml+3
...@@ -752,6 +752,9 @@ importers:...@@ -752,6 +752,9 @@ importers:
752 effect:752 effect:
753 specifier: 4.0.0-beta.73753 specifier: 4.0.0-beta.73
754 version: 4.0.0-beta.73(patch_hash=a28d840fa97ffebabe628e5562837c537d83c40cfdad8049de73c38086f2fb01)754 version: 4.0.0-beta.73(patch_hash=a28d840fa97ffebabe628e5562837c537d83c40cfdad8049de73c38086f2fb01)
755 yaml:
756 specifier: ^2.9.0
757 version: 2.9.0
755 devDependencies:758 devDependencies:
756 '@effect/vitest':759 '@effect/vitest':
757 specifier: 4.0.0-beta.73760 specifier: 4.0.0-beta.73
scripts/package.json+2-1
...@@ -11,7 +11,8 @@...@@ -11,7 +11,8 @@
11 "@effect/platform-node": "catalog:",11 "@effect/platform-node": "catalog:",
12 "@t3tools/contracts": "workspace:*",12 "@t3tools/contracts": "workspace:*",
13 "@t3tools/shared": "workspace:*",13 "@t3tools/shared": "workspace:*",
14 "effect": "catalog:"14 "effect": "catalog:",
15 "yaml": "catalog:"
15 },16 },
16 "devDependencies": {17 "devDependencies": {
17 "@effect/vitest": "catalog:",18 "@effect/vitest": "catalog:",