3D engine that AI agents drive
Separate the shard file list from the reporter flags (issue #560)
Nguyen Xuan An92c93b97faa5
diff --git a/.github/workflows/test.yml b/.github/workflows/test.ymlindex 0f66e28a..e75e00f1 100644--- a/.github/workflows/test.yml+++ b/.github/workflows/test.yml@@ -48,7 +48,7 @@ jobs:- run: npm run tool-cost -- --base "$SIZE_BASE_REF"# `node --test` already runs every file in its own process (Node 24 default, --test-isolation=process), so one pass over- # the files is also the isolation check. Six shards of hashed file names (scripts/shard-test-files.mjs), because the light bake tests are heavy and sit next to each other in the file list.+ # the files is also the isolation check. Six shards of hashed file names (scripts/shard-test-files.mjs). The light bake tests are heavy, so one shard of three took twice as long as the others.unit:runs-on: ubuntu-latesttimeout-minutes: 15@@ -61,7 +61,7 @@ jobs:- uses: ./.github/actions/setup# The live MCP tests need build/ and build/mcp.- run: npm run build:lib- - run: mkdir -p coverage && npm run test:coverage -- $(node scripts/shard-test-files.mjs ${{ matrix.shard }} 6)--test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=coverage/shard-${{ matrix.shard }}.info+ - run: mkdir -p coverage && npm run test:coverage -- $(node scripts/shard-test-files.mjs ${{ matrix.shard }} 6) --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=coverage/shard-${{ matrix.shard }}.info- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2if: always()with: