ci: adapt workflows and test runner for team-mode

This commit is contained in:
YeonGyu-Kim
2026-04-28 10:48:38 +09:00
parent 10c520edaf
commit a5f0388cf7
2 changed files with 13 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ jobs:
- uses: oven-sh/setup-bun@v2
with:
bun-version: "1.3.11"
bun-version: "1.3.12"
- name: Install dependencies
run: bun install
@@ -56,7 +56,7 @@ jobs:
- uses: oven-sh/setup-bun@v2
with:
bun-version: "1.3.11"
bun-version: "1.3.12"
- name: Install dependencies
run: bun install
@@ -81,7 +81,7 @@ jobs:
- uses: oven-sh/setup-bun@v2
with:
bun-version: "1.3.11"
bun-version: "1.3.12"
- name: Install dependencies
run: bun install

View File

@@ -8,7 +8,16 @@ type CiTestPlan = {
const TEST_ROOTS = ["bin", "script", "src"] as const
const MODULE_MOCK_PATTERN = "mock.module("
const ALWAYS_ISOLATED_TEST_FILES = ["src/openclaw/__tests__/reply-listener-discord.test.ts"] as const
const ALWAYS_ISOLATED_TEST_FILES = [
"src/features/team-mode/team-mailbox/ack.test.ts",
"src/features/team-mode/team-mailbox/send.test.ts",
"src/features/team-mode/team-runtime/shutdown.test.ts",
"src/features/team-mode/team-runtime/status.test.ts",
"src/features/team-mode/team-state-store/resume.test.ts",
"src/features/team-mode/team-state-store/store.test.ts",
"src/hooks/anthropic-context-window-limit-recovery/aggressive-truncation-strategy.test.ts",
"src/openclaw/__tests__/reply-listener-discord.test.ts",
] as const
async function collectTestFiles(rootDirectory: string): Promise<string[]> {
const testFiles: string[] = []