Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix(test): increase vitest timeout to 10s to eliminate flaky test failures

Adam Eivy82c2a01fceb5
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.md
index 3f4b9a5bd9..45a9c44bbd 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@ -32,6 +32,7 @@
- jira-status-report task now runs in PortOS context (not the app's directory) and uses the correct PortOS API endpoint
- jira-status-report agents no longer attempt to commit, push, or modify files (readOnly metadata flag)
- readOnly tasks skip unnecessary git pull, JIRA branch creation, and worktree setup
+- Flaky test suite stabilized by increasing vitest timeout from 5s to 10s (parallel execution pressure caused intermittent timeouts)
- Added `PORTOS_API_URL` constant to `ports.js` for dynamic API URL resolution in task prompts
## Removed
diff --git a/server/vitest.config.js b/server/vitest.config.js
index c9f2740041..45a7c899cd 100644
--- a/server/vitest.config.js
+++ b/server/vitest.config.js
@@ -2,6 +2,7 @@ import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
+ testTimeout: 10000,
coverage: {
provider: 'v8',
reporter: ['text', 'text-summary', 'html'],