Skip to content

Commit 03a9511

Browse files
committed
test(ci): Windowsの同時実行数を制限する
4vCPUのfork runnerでACL subprocessを含む追加suiteと他Bun suiteが並列に走ると、初回の検査だけ既存5秒枠に収まらない。forkのWindows package実行数を1へ絞り、fresh VMで容量条件を検証する。 Linuxと上流の同時実行数3を保持し、全テスト・strict環境・5秒上限は変更しない。事前のPowerShell起動やテスト除外は加えない。 Refs: #366 Agent-Lane: codex
1 parent b0b67e7 commit 03a9511

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,13 @@ jobs:
126126
- name: Run unit tests
127127
timeout-minutes: 20
128128
run: |
129-
# The runners have four vCPUs, and each Bun test process performs its own concurrent work.
129+
# Each Bun process performs concurrent work on four-vCPU runners. The fork's Windows suites
130+
# include ACL subprocess checks, so run packages serially within their existing five-second budget.
130131
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
131-
GITHUB_ACTIONS=false bun turbo test --concurrency=3
132+
GITHUB_ACTIONS=false bun turbo test --concurrency=${{ runner.os == 'Windows' && github.repository != 'anomalyco/opencode' && 1 || 3 }}
132133
exit 0
133134
fi
134-
GITHUB_ACTIONS=false bun turbo test --affected --concurrency=3
135+
GITHUB_ACTIONS=false bun turbo test --affected --concurrency=${{ runner.os == 'Windows' && github.repository != 'anomalyco/opencode' && 1 || 3 }}
135136
env:
136137
OPENCODE_EXPERIMENTAL_DISABLE_FILEWATCHER: ${{ runner.os == 'Windows' && 'true' || 'false' }}
137138
TURBO_SCM_BASE: ${{ github.event_name == 'pull_request' && format('{0}^1', github.sha) || github.event.before }}

0 commit comments

Comments
 (0)