ci: bound hosted fanout

This commit is contained in:
Tianyi Cui
2026-07-21 21:14:55 +08:00
parent 25f9035ecd
commit 7813dbcf0f
6 changed files with 26 additions and 85 deletions

View File

@@ -16,27 +16,22 @@ export const snapshotLanes: readonly SnapshotLane[] = [
name: 'support',
files: [
'packages/sdk/scripts/tests/config.snapshot.ts',
'packages/ui/tui/tests/tui.snapshot.ts',
],
},
{
name: 'demos',
files: [
'examples/tui-agent/tests/tui.snapshot.ts',
'packages/sdk/create-sdk/tests/create.snapshot.ts',
'packages/ui/tui/tests/tui.snapshot.ts',
],
},
{
name: 'agents',
files: [
'examples/tui-agent/tests/tui.snapshot.ts',
'examples/acp-agent/tests/goal.snapshot.ts',
'examples/headless-agent/tests/headless.snapshot.ts',
],
},
...Array.from({ length: 4 }, (_, offset) => ({
...Array.from({ length: 2 }, (_, offset) => ({
name: `acp-${offset + 1}`,
files: ['examples/acp-agent/tests/acp.snapshot.ts'],
scenarioShard: `${offset + 1}/4`,
scenarioShard: `${offset + 1}/2`,
})),
]