You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(server): eliminate ~2-min test startup delay on Windows (#122)
* fix(server): eliminate ~2-min test startup delay on Windows
Replace `npx playwright` with a direct `node @playwright/test/cli.js`
spawn in both the /api/playwright/run and /api/run-dynamic-test handlers.
npx + cmd.exe shell resolution was adding 30–90 s of overhead before any
test code ran on Windows. Also fire the Render warmup ping concurrently
with Playwright startup (was sequential) and cap its timeout at 30 s
(was 55 s), removing a second source of blocking delay.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* style: fix prettier formatting in CHANGELOG, README, wiki Home
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,10 @@ All notable changes to this project will be documented in this file.
7
7
### Added
8
8
9
9
-**Smarter pixel agents** — office canvas agents now react to four live signals instead of just test-run state:
10
-
1.*Chat-reactive*: `agentStatuses` ('working'/'waiting') is wired to `setAgentActive` so pixel agents walk to their desk and type whenever they are responding to a chat message, and wander again when idle (`PlaywrightDashboard.tsx`).
11
-
2.*Emotional reactions*: when a test run completes, all agents briefly show a green checkmark bubble (pass) or red ✗ bubble (fail) and celebrate by staying at their desks for 2.5 s (`officeState.ts`, `PlaywrightDashboard.tsx`).
12
-
3.*Handoff bubbles*: in multi-agent chat, the finishing agent gets a waiting bubble on `turn_done` — a visual "passing the baton" moment before the next agent activates (`PlaywrightDashboard.tsx`).
13
-
4.*New bubble types* — `react_pass` (light-green bg, bright checkmark) and `react_fail` (pink bg, red ×) pixel-art speech bubbles with auto-fade timer, matching the existing sprite pipeline (`types.ts`, `spriteData.ts`, `renderer.ts`).
10
+
1._Chat-reactive_: `agentStatuses` ('working'/'waiting') is wired to `setAgentActive` so pixel agents walk to their desk and type whenever they are responding to a chat message, and wander again when idle (`PlaywrightDashboard.tsx`).
11
+
2._Emotional reactions_: when a test run completes, all agents briefly show a green checkmark bubble (pass) or red ✗ bubble (fail) and celebrate by staying at their desks for 2.5 s (`officeState.ts`, `PlaywrightDashboard.tsx`).
12
+
3._Handoff bubbles_: in multi-agent chat, the finishing agent gets a waiting bubble on `turn_done` — a visual "passing the baton" moment before the next agent activates (`PlaywrightDashboard.tsx`).
13
+
4._New bubble types_ — `react_pass` (light-green bg, bright checkmark) and `react_fail` (pink bg, red ×) pixel-art speech bubbles with auto-fade timer, matching the existing sprite pipeline (`types.ts`, `spriteData.ts`, `renderer.ts`).
14
14
-**SQLite run history** — replaces per-run JSON files in `test-results/runs/` with a
15
15
single `better-sqlite3` database (`test-results/runs.db`). `archiveRun()` INSERTs into
16
16
the DB; `/api/playwright/history`, `/api/playwright/results/:runId`, and
@@ -32,6 +32,16 @@ All notable changes to this project will be documented in this file.
32
32
(`RUN_HISTORY_KEY`, seed-on-mount effect, write-on-change effect) to prevent stale
33
33
pre-migration data surfacing on page load (`ui/src/pages/PlaywrightDashboard.tsx`).
34
34
35
+
### Performance
36
+
37
+
-**Fast Playwright startup** — replaced `npx playwright` with a direct
38
+
`node node_modules/@playwright/test/cli.js` spawn in both `/api/playwright/run`
39
+
and `/api/run-dynamic-test`. Eliminates `npx` + shell resolution overhead that
40
+
caused ~2-minute delays before tests began on Windows (`server/index.ts`).
41
+
-**Non-blocking remote warmup** — warmup HTTP ping to Render/remote baseUrl now
42
+
fires concurrently with Playwright startup instead of blocking it; timeout
| 🏢 |**2D Pixel-Art Office**| 7 specialist agents at animated desks — agents walk to their desk and type live while responding to chat, celebrate with checkmark bubbles on passing runs, show red ✗ bubbles on failures, and display handoff bubbles when passing work between agents in multi-turn conversations |
34
+
| 🏢 |**2D Pixel-Art Office**| 7 specialist agents at animated desks — agents walk to their desk and type live while responding to chat, celebrate with checkmark bubbles on passing runs, show red ✗ bubbles on failures, and display handoff bubbles when passing work between agents in multi-turn conversations |
35
35
| 🤖 |**Edi M — Team Manager**| Orchestrator agent that analyses your request and routes it to the right specialist |
36
36
| 🤝 |**Multi-Agent Collaboration**| Tag two or more specialists (or @Edi M) and they iterate: primary drafts → critic reviews → primary refines → manager delivers the polished synthesis. Each turn streams into its own chat bubble with a role pill (primary / critic / synthesis). Chat history and image attachments are forwarded to the initial primary turn so vision prompts and follow-up context are preserved across collaborative rounds |
37
37
| ✨🦙 |**Gemini + Ollama**| Switch between cloud Gemini and fully-local Ollama models with a single click — no restart required |
@@ -70,7 +70,7 @@ Type a request in the chat. **Edi M**, the Team Manager, analyses your intent an
0 commit comments