ci: split model and integration coverage

This commit is contained in:
Tianyi Cui
2026-07-21 23:25:52 +08:00
parent 9568f9ee27
commit efba4c259b
2 changed files with 13 additions and 4 deletions

View File

@@ -92,11 +92,16 @@ jobs:
gate_concurrency: '1' gate_concurrency: '1'
coverage_max_workers: '4' coverage_max_workers: '4'
coverage_shard: state-session coverage_shard: state-session
- lane: coverage-models-integrations - lane: coverage-models
command: pnpm run check:ci:coverage command: pnpm run check:ci:coverage
gate_concurrency: '1' gate_concurrency: '1'
coverage_max_workers: '4' coverage_max_workers: '4'
coverage_shard: models-integrations coverage_shard: models
- lane: coverage-integrations
command: pnpm run check:ci:coverage
gate_concurrency: '1'
coverage_max_workers: '4'
coverage_shard: integrations
- lane: coverage-sdk-capabilities - lane: coverage-sdk-capabilities
command: pnpm run check:ci:coverage command: pnpm run check:ci:coverage
gate_concurrency: '1' gate_concurrency: '1'

View File

@@ -34,8 +34,12 @@ export const coverageShards = [
], ],
}, },
{ {
name: 'models-integrations', name: 'models',
packageRoots: ['llm', 'compact', 'hooks/hook-protocol', 'lsp', 'mcp', 'hooks/hooks-claude'], packageRoots: ['llm', 'compact'],
},
{
name: 'integrations',
packageRoots: ['hooks/hook-protocol', 'lsp', 'mcp', 'hooks/hooks-claude'],
}, },
{ {
name: 'sdk-capabilities', name: 'sdk-capabilities',