Skip to content

Commit be0b620

Browse files
committed
ci: add GUI build, dev branch trigger, crash restart hard failure
- CI now triggers on gui/** paths and dev branch pushes/PRs - GUI build step added to CI matrix - systemd crash restart failure is now a hard error (was warning)
1 parent 1b626e4 commit be0b620

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,24 @@ name: Cross-platform CI
22

33
on:
44
pull_request:
5-
branches: [main]
5+
branches: [main, dev]
66
paths:
77
- "src/**"
88
- "tests/**"
99
- "scripts/**"
10+
- "gui/**"
1011
- "package.json"
1112
- "bun.lock"
1213
- "tsconfig.json"
1314
- ".github/workflows/ci.yml"
1415
- ".github/workflows/release.yml"
1516
push:
16-
branches: [main]
17+
branches: [main, dev]
1718
paths:
1819
- "src/**"
1920
- "tests/**"
2021
- "scripts/**"
22+
- "gui/**"
2123
- "package.json"
2224
- "bun.lock"
2325
- "tsconfig.json"
@@ -62,5 +64,8 @@ jobs:
6264
- name: Check release helper syntax
6365
run: bun build scripts/release.ts --target=bun --outdir=.tmp/ci-release-script-check
6466

67+
- name: GUI build
68+
run: cd gui && bun run build
69+
6570
- name: CLI help smoke
6671
run: bun run src/cli.ts help

.github/workflows/service-lifecycle.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ jobs:
6565
if systemctl --user is-active opencodex-proxy 2>/dev/null; then
6666
echo "✅ Service restarted after crash"
6767
else
68-
echo "⚠️ Service did not restart (may need lingering)"
68+
echo "❌ Service did not restart after crash"
69+
exit 1
6970
fi
7071
fi
7172

0 commit comments

Comments
 (0)