Skip to content

armgit / Orkas

Public Imported from GitHub
0

Orkas is an open-source (MIT), local-first AI team for your desktop: a Commander turns your goal into to-dos and coordinates 16 built-in specialist agents plus Claude Code, Codex, OpenCode, OpenClaw and Hermes, with projects, scheduled automations and connectors. Free app for macOS & Windows; built-in models or your own keys.

Provide a window manager for Linux desktop canaries

BlueSkyID666d7348b8f0cd6
diff --git a/.github/workflows/linux-source-smoke.yml b/.github/workflows/linux-source-smoke.yml
index 5fde20af..afe76ea4 100644
--- a/.github/workflows/linux-source-smoke.yml
+++ b/.github/workflows/linux-source-smoke.yml
@@ -49,11 +49,11 @@ jobs:
- name: Install JavaScript dependencies
run: npm ci
- - name: Install Xvfb when the runner image does not provide it
+ - name: Install the Linux test desktop when the runner image does not provide it
run: |
- if ! command -v xvfb-run >/dev/null 2>&1; then
+ if ! command -v xvfb-run >/dev/null 2>&1 || ! command -v openbox >/dev/null 2>&1 || ! command -v xprop >/dev/null 2>&1; then
sudo apt-get update
- sudo apt-get install --yes xvfb
+ sudo apt-get install --yes xvfb openbox x11-utils
fi
- name: Restore standard read-only system font permissions
@@ -66,7 +66,22 @@ jobs:
run: node scripts/ensure-dev-dependencies.cjs
- name: Run Linux platform-native test lane
- run: xvfb-run --auto-servernum npm run test:platform-native
+ run: |
+ xvfb-run --auto-servernum bash -eu -c '
+ openbox --sm-disable &
+ window_manager_pid=$!
+ trap "kill $window_manager_pid 2>/dev/null || true" EXIT
+ # Xvfb supplies a display; minimization requires a ready window manager.
+ for attempt in {1..50}; do
+ kill -0 "$window_manager_pid"
+ if xprop -root _NET_SUPPORTING_WM_CHECK | grep -q "window id # 0x"; then
+ break
+ fi
+ sleep 0.1
+ done
+ xprop -root _NET_SUPPORTING_WM_CHECK | grep -q "window id # 0x"
+ npm run test:platform-native
+ '
- name: Type-check
run: node node_modules/typescript/bin/tsc --noEmit