@devries-cameron20 / t3code-1 / commits / 34b50df534
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

ci: stop uploading per-shard test cache reports (#34525)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

Julius Marminge committed Nov 11, 2026 at 12:46 UTC 34b50df5349a58345b4da0abe36aa0a73a5a20b8
2 files changed +2 -23
.github/workflows/ci.yml
+1 -9
@@ -489,15 +489,7 @@ jobs:
489 run: >-
490 vp run test:cached -- --shard ${{ matrix.shard }}/${{ strategy.job-total }}
491 --uncached apps/server/integration/transferBudgetV2.integration.test.ts
492 - --verify-hits 1 --report "${{ runner.temp }}/test-cache-${{ matrix.shard }}.json" apps/server
493 -
494 - - name: Upload test cache measurements
495 - if: always() && steps.changes.outputs.test_server != 'false'
496 - uses: actions/upload-artifact@v7
497 - with:
498 - name: test-cache-${{ matrix.shard }}
499 - path: ${{ runner.temp }}/test-cache-${{ matrix.shard }}.json
500 - if-no-files-found: error
492 + --verify-hits 1 apps/server
493
494 # integration/transferBudgetV2.integration.test.ts writes the report; exactly one shard
495 # produces these files. Gating the upload on their presence keeps a
scripts/test-cached.ts
+1 -14
@@ -16,7 +16,6 @@ const { values, positionals } = NodeUtil.parseArgs({
16 "group-size": { type: "string", default: "1" },
17 concurrency: { type: "string", default: "1" },
18 shard: { type: "string" },
19 - report: { type: "string" },
19 "verify-hits": { type: "string", default: "0" },
20 uncached: { type: "string", multiple: true, default: [] },
21 help: { type: "boolean", short: "h" },
@@ -88,7 +87,7 @@ const result = NodeChildProcess.spawnSync(
87 if (result.error) throw result.error;
88 const cacheRunMs = performance.now() - started;
89 process.exitCode = result.status ?? 1;
91 -if (values.report || verifyHits > 0) {
90 +if (verifyHits > 0) {
91 const cacheRoot =
92 process.env.VITE_CACHE_PATH || NodePath.join(root, "node_modules/.vite/task-cache");
93 const summaryFiles = NodeFS.readdirSync(cacheRoot, { withFileTypes: true })
@@ -131,18 +130,6 @@ if (values.report || verifyHits > 0) {
130 if (audit.status !== 0) process.exitCode = audit.status ?? 1;
131 }
132 }
134 - const report = {
135 - shard: values.shard,
136 - files,
137 - cacheRunMs,
138 - exitCode: result.status,
139 - summary,
140 - verification,
141 - };
142 - if (values.report) {
143 - NodeFS.mkdirSync(NodePath.dirname(values.report), { recursive: true });
144 - NodeFS.writeFileSync(values.report, `${JSON.stringify(report, null, 2)}\n`);
145 - }
133 if (process.env.GITHUB_STEP_SUMMARY) {
134 const remote = hits.filter((task) => task.result.CacheHit?.source === "Remote").length;
135 const savedMs = hits.reduce(