Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

ci: raise test timeouts and serialize module tests

Steven Enamakelc176f5b11062
diff --git a/.github/workflows/ci-full.yml b/.github/workflows/ci-full.yml
index 94c3f6beef..f45e735949 100644
--- a/.github/workflows/ci-full.yml
+++ b/.github/workflows/ci-full.yml
@@ -69,7 +69,7 @@ jobs:
runs-on: ubuntu-22.04
container:
image: ghcr.io/tinyhumansai/openhuman_ci:latest@sha256:c3c20d625bcc9f75e50c3c2c2b75c88d3e60a3f4352b0f19f5327b490438722d
- timeout-minutes: 30
+ timeout-minutes: 60
env:
CARGO_INCREMENTAL: "0"
# Trim DWARF debug info so test-binary linking doesn't exhaust runner disk
diff --git a/.github/workflows/test-reusable.yml b/.github/workflows/test-reusable.yml
index 0d52ae17fd..72812b6b9b 100644
--- a/.github/workflows/test-reusable.yml
+++ b/.github/workflows/test-reusable.yml
@@ -262,10 +262,10 @@ jobs:
# `--bins` silently skips it and this lane goes green having compiled
# none of it. Its tests would vanish too, with no error.
# The regular libtest process runs tests in parallel. Keep the
- # process-global, never-unloaded TinyBus modules out of that shared
- # test process, then run each module-backed regression in its own
- # process below. Boot and parallel resolver tests can otherwise race
- # while attaching the same released library to the one module host.
+ # process-global TinyBus module tests out of it, then run each one in
+ # its own process below. Parallel resolver tests can race while
+ # attaching the same release, and TinyFlows callbacks can race with
+ # another test shutting down the process-global module runtime.
unset OPENHUMAN_MODULE_PATH
bash scripts/ci-cancel-aware.sh cargo test -p openhuman --lib --features "${CORE_FEATURES}" -- "${MODULE_TEST_SKIP_ARGS[@]}"
if [ -n "$STAGED_MODULE_PATH" ]; then
diff --git a/app/src/pages/__tests__/Conversations.sidebarOverflow.test.tsx b/app/src/pages/__tests__/Conversations.sidebarOverflow.test.tsx
index acfa5202a7..d1a764799a 100644
--- a/app/src/pages/__tests__/Conversations.sidebarOverflow.test.tsx
+++ b/app/src/pages/__tests__/Conversations.sidebarOverflow.test.tsx
@@ -22,6 +22,7 @@ import { MemoryRouter } from 'react-router-dom';
import { beforeEach, describe, expect, it, vi } from 'vitest';
import { SidebarSlotOutlet, SidebarSlotProvider } from '../../components/layout/shell/SidebarSlot';
+import Conversations from '../../features/conversations/Conversations';
import chatRuntimeReducer from '../../store/chatRuntimeSlice';
import layoutReducer from '../../store/layoutSlice';
import runModeReducer from '../../store/runModeSlice';
@@ -173,7 +174,6 @@ function socketState(status: 'connected' | 'disconnected') {
async function renderSidebar(preload: Record<string, unknown> = {}) {
const store = buildStore(preload);
- const { default: Conversations } = await import('../../features/conversations/Conversations');
let container!: HTMLElement;
await act(async () => {
@@ -220,7 +220,6 @@ describe('Conversations — sidebar composer footer overflow (#3785)', () => {
it('keeps the assistant-ui page composer in flow (no legacy floating footer)', async () => {
const store = buildStore({ thread: emptyThreadState });
- const { default: Conversations } = await import('../../features/conversations/Conversations');
let container!: HTMLElement;
await act(async () => {
diff --git a/scripts/ci/self-hosted/lanes-plan.mjs b/scripts/ci/self-hosted/lanes-plan.mjs
index 5797ebc342..8875d840d2 100644
--- a/scripts/ci/self-hosted/lanes-plan.mjs
+++ b/scripts/ci/self-hosted/lanes-plan.mjs
@@ -494,7 +494,7 @@ export function buildPlan({ profile, areas, env = {}, isPullRequest = true }) {
" modules::runtime:: modules::registry:: modules::storage_grant_tinywallet::" +
" modules::storage_grant_tinyconnectors::" +
" cron::bus_host::tests:: cron::documents_port::tests::" +
- " mcp::server::resources:: test_support::introspect::",
+ " mcp::server::resources:: test_support::introspect:: --test-threads=1",
},
{
name: "kernel-floor",