Skip to content

Self-improving AI Employees for everyone

fix(ci): restore the android skill icon and the dock test; parse the bun URL

trohitg7984b1d5be9d
diff --git a/cli/tests/test_release_pipeline_config.py b/cli/tests/test_release_pipeline_config.py
index 2a1693e1..0b329404 100644
--- a/cli/tests/test_release_pipeline_config.py
+++ b/cli/tests/test_release_pipeline_config.py
@@ -28,6 +28,7 @@ from __future__ import annotations
import json
import re
from pathlib import Path
+from urllib.parse import urlparse
import pytest
import yaml
@@ -654,7 +655,10 @@ def test_launcher_never_falls_back_to_npm(root: Path):
launcher = (root / "bin" / "cli.js").read_text(encoding="utf-8")
for needle in ("npm.cmd", "'npm'", "npx", "--npmPackages"):
assert needle not in launcher, f"bin/cli.js still contains {needle!r}"
- assert "https://bun.sh" in launcher
+ # Compare parsed hosts, not a substring: "https://bun.sh.example" would
+ # pass a substring check (CodeQL py/incomplete-url-substring-sanitization).
+ hosts = [urlparse(url).hostname for url in re.findall(r"https?://[^\s'\"`)]+", launcher)]
+ assert any(host == "bun.sh" for host in hosts), "bin/cli.js no longer points at bun.sh"
def test_bunfig_pins_the_isolated_linker(root: Path):
diff --git a/client/src/components/ui/__tests__/WorkspaceDock.test.tsx b/client/src/components/ui/__tests__/WorkspaceDock.test.tsx
index 8af7f924..726ae601 100644
--- a/client/src/components/ui/__tests__/WorkspaceDock.test.tsx
+++ b/client/src/components/ui/__tests__/WorkspaceDock.test.tsx
@@ -17,6 +17,7 @@ vi.mock('../../parameterPanel/canvas/CanvasContent', () => ({ default: () => <di
vi.mock('../../browser/BrowserWorkspace', () => ({ default: ({ workflowId, nodes }: { workflowId: string; nodes: { node_id: string; label: string }[] }) => (
<div data-testid="browser-view" data-workflow={workflowId}>{nodes.map((node) => <span key={node.node_id}>{node.label}</span>)}</div>
) }));
+vi.mock('../../../contexts/WebSocketContext', () => ({ useWebSocketActions: () => ({ addEventListener: () => () => {} }) }));
import CanvasDock from '../CanvasDock';
import { useCanvasDockStore } from '../../../stores/canvasDockStore';
diff --git a/server/nodes/visuals.json b/server/nodes/visuals.json
index d45753d6..a836e0b3 100644
--- a/server/nodes/visuals.json
+++ b/server/nodes/visuals.json
@@ -12,6 +12,10 @@
"airplaneModeControl": {
"icon": "✈️"
},
+ "android": {
+ "icon": "lucide:Smartphone",
+ "color": "#22c55e"
+ },
"android_agent": {
"icon": "📱"
},