Skip to content

chore: disable Nx cloud cache for vite ecosystem ci#6695

Merged
birkskyum merged 1 commit intomainfrom
skip-cloud-cache-for-vite-ecosystem-ci
Feb 18, 2026
Merged

chore: disable Nx cloud cache for vite ecosystem ci#6695
birkskyum merged 1 commit intomainfrom
skip-cloud-cache-for-vite-ecosystem-ci

Conversation

@birkskyum
Copy link
Member

@birkskyum birkskyum commented Feb 18, 2026

pointed out here, that we should remember to turn cloud cache off

Summary by CodeRabbit

  • Chores
    • Optimized build and test script configuration to enhance caching efficiency and streamline test execution workflows.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 18, 2026

📝 Walkthrough

Walkthrough

Updates npm scripts in package.json to add --skipRemoteCache flags to vite-ecosystem-ci build and test commands, and restructures the unit test configuration to exclude specific @tanstack/react-start packages while keeping e2e tests intact.

Changes

Cohort / File(s) Summary
NPM Scripts Configuration
package.json
Added --skipRemoteCache flag to vite-ecosystem-ci:build; separated vite-ecosystem-ci:test into unit and e2e subtasks with explicit remote cache skip flags; narrowed unit test project scope to exclude @tanstack/react-start and @tanstack/react-start-server packages.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

  • TanStack/router#6644: Modifies the same vite-ecosystem-ci npm scripts previously added, directly updating cache and test configuration flags.

Poem

🐰 Cache we skip, tests split neat,
Unit and e2e, a workflow complete,
Scripts refined with flags so bright,
Building faster, every night! 🚀

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'chore: disable Nx cloud cache for vite ecosystem ci' directly describes the main change: disabling the Nx cloud cache for the vite ecosystem CI configuration in package.json.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch skip-cloud-cache-for-vite-ecosystem-ci

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@nx-cloud
Copy link

nx-cloud bot commented Feb 18, 2026

View your CI Pipeline Execution ↗ for commit f16e051

Command Status Duration Result
nx affected --targets=test:eslint,test:unit,tes... ✅ Succeeded 11m 37s View ↗
nx run-many --target=build --exclude=examples/*... ✅ Succeeded 2m 4s View ↗

☁️ Nx Cloud last updated this comment at 2026-02-18 15:49:26 UTC

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 18, 2026

More templates

@tanstack/arktype-adapter

npm i https://pkg.pr.new/TanStack/router/@tanstack/arktype-adapter@6695

@tanstack/eslint-plugin-router

npm i https://pkg.pr.new/TanStack/router/@tanstack/eslint-plugin-router@6695

@tanstack/history

npm i https://pkg.pr.new/TanStack/router/@tanstack/history@6695

@tanstack/nitro-v2-vite-plugin

npm i https://pkg.pr.new/TanStack/router/@tanstack/nitro-v2-vite-plugin@6695

@tanstack/react-router

npm i https://pkg.pr.new/TanStack/router/@tanstack/react-router@6695

@tanstack/react-router-devtools

npm i https://pkg.pr.new/TanStack/router/@tanstack/react-router-devtools@6695

@tanstack/react-router-ssr-query

npm i https://pkg.pr.new/TanStack/router/@tanstack/react-router-ssr-query@6695

@tanstack/react-start

npm i https://pkg.pr.new/TanStack/router/@tanstack/react-start@6695

@tanstack/react-start-client

npm i https://pkg.pr.new/TanStack/router/@tanstack/react-start-client@6695

@tanstack/react-start-server

npm i https://pkg.pr.new/TanStack/router/@tanstack/react-start-server@6695

@tanstack/router-cli

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-cli@6695

@tanstack/router-core

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-core@6695

@tanstack/router-devtools

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-devtools@6695

@tanstack/router-devtools-core

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-devtools-core@6695

@tanstack/router-generator

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-generator@6695

@tanstack/router-plugin

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-plugin@6695

@tanstack/router-ssr-query-core

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-ssr-query-core@6695

@tanstack/router-utils

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-utils@6695

@tanstack/router-vite-plugin

npm i https://pkg.pr.new/TanStack/router/@tanstack/router-vite-plugin@6695

@tanstack/solid-router

npm i https://pkg.pr.new/TanStack/router/@tanstack/solid-router@6695

@tanstack/solid-router-devtools

npm i https://pkg.pr.new/TanStack/router/@tanstack/solid-router-devtools@6695

@tanstack/solid-router-ssr-query

npm i https://pkg.pr.new/TanStack/router/@tanstack/solid-router-ssr-query@6695

@tanstack/solid-start

npm i https://pkg.pr.new/TanStack/router/@tanstack/solid-start@6695

@tanstack/solid-start-client

npm i https://pkg.pr.new/TanStack/router/@tanstack/solid-start-client@6695

@tanstack/solid-start-server

npm i https://pkg.pr.new/TanStack/router/@tanstack/solid-start-server@6695

@tanstack/start-client-core

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-client-core@6695

@tanstack/start-fn-stubs

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-fn-stubs@6695

@tanstack/start-plugin-core

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-plugin-core@6695

@tanstack/start-server-core

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-server-core@6695

@tanstack/start-static-server-functions

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-static-server-functions@6695

@tanstack/start-storage-context

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-storage-context@6695

@tanstack/valibot-adapter

npm i https://pkg.pr.new/TanStack/router/@tanstack/valibot-adapter@6695

@tanstack/virtual-file-routes

npm i https://pkg.pr.new/TanStack/router/@tanstack/virtual-file-routes@6695

@tanstack/vue-router

npm i https://pkg.pr.new/TanStack/router/@tanstack/vue-router@6695

@tanstack/vue-router-devtools

npm i https://pkg.pr.new/TanStack/router/@tanstack/vue-router-devtools@6695

@tanstack/vue-router-ssr-query

npm i https://pkg.pr.new/TanStack/router/@tanstack/vue-router-ssr-query@6695

@tanstack/vue-start

npm i https://pkg.pr.new/TanStack/router/@tanstack/vue-start@6695

@tanstack/vue-start-client

npm i https://pkg.pr.new/TanStack/router/@tanstack/vue-start-client@6695

@tanstack/vue-start-server

npm i https://pkg.pr.new/TanStack/router/@tanstack/vue-start-server@6695

@tanstack/zod-adapter

npm i https://pkg.pr.new/TanStack/router/@tanstack/zod-adapter@6695

commit: f16e051

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@package.json`:
- Line 35: The vite-ecosystem-ci:test script is missing the
`@tanstack/react-start-server` project in its unit test run; update the
"vite-ecosystem-ci:test" npm script to include `@tanstack/react-start-server` in
the nx run-many --targets=test:unit --projects list (alongside
`@tanstack/router-plugin`,`@tanstack/start-plugin-core`,`@tanstack/react-start-client`)
so its test:unit target is executed; keep the existing --skipRemoteCache and the
subsequent e2e run unchanged.

"vite-ecosystem-ci:build": "nx run-many --targets=build --projects=@tanstack/router-plugin,@tanstack/start-plugin-core,@tanstack/react-start,@tanstack/react-start-client,@tanstack/react-start-server --skipRemoteCache",
"vite-ecosystem-ci:before-test": "pnpm exec playwright install chromium",
"vite-ecosystem-ci:test": "nx run-many --targets=test:unit --projects=@tanstack/router-plugin,@tanstack/start-plugin-core,@tanstack/react-start-client && nx run-many --target=test:e2e --projects=tanstack-router-e2e-react-basic-file-based,tanstack-router-e2e-react-basic-file-based-code-splitting,tanstack-react-start-e2e-basic"
"vite-ecosystem-ci:test": "nx run-many --targets=test:unit --projects=@tanstack/router-plugin,@tanstack/start-plugin-core,@tanstack/react-start-client --skipRemoteCache && nx run-many --target=test:e2e --projects=tanstack-router-e2e-react-basic-file-based,tanstack-router-e2e-react-basic-file-based-code-splitting,tanstack-react-start-e2e-basic --skipRemoteCache"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Find packages directory structure
echo "=== Looking for `@tanstack/react-start` and `@tanstack/react-start-server` ==="
fd 'project.json|package.json' packages/ | grep -E 'react-start' | head -20

# List all packages to understand structure
echo -e "\n=== All packages in packages directory ==="
fd -t d --max-depth 1 . packages/ | head -20

Repository: TanStack/router

Length of output: 825


🏁 Script executed:

#!/bin/bash
# Check for test:unit in react-start related packages
echo "=== Checking `@tanstack/react-start` ==="
if [ -f "packages/react-start/package.json" ]; then
  cat -n packages/react-start/package.json | grep -A5 -B5 'test:unit' || echo "(no test:unit in package.json)"
fi
if [ -f "packages/react-start/project.json" ]; then
  cat -n packages/react-start/project.json | grep -A5 -B5 'test:unit' || echo "(no test:unit in project.json)"
fi

echo -e "\n=== Checking `@tanstack/react-start-server` ==="
if [ -f "packages/react-start-server/package.json" ]; then
  cat -n packages/react-start-server/package.json | grep -A5 -B5 'test:unit' || echo "(no test:unit in package.json)"
fi
if [ -f "packages/react-start-server/project.json" ]; then
  cat -n packages/react-start-server/project.json | grep -A5 -B5 'test:unit' || echo "(no test:unit in project.json)"
fi

# Check for any test configuration
echo -e "\n=== Checking for test directories ==="
fd 'test|spec' packages/react-start packages/react-start-server 2>/dev/null | head -20

Repository: TanStack/router

Length of output: 846


🏁 Script executed:

#!/bin/bash
# Get the full package.json from both packages to see their structure
echo "=== packages/react-start-server/package.json ==="
wc -l packages/react-start-server/package.json 2>/dev/null && cat -n packages/react-start-server/package.json

echo -e "\n=== packages/react-start/package.json ==="
wc -l packages/react-start/package.json 2>/dev/null && cat -n packages/react-start/package.json

Repository: TanStack/router

Length of output: 6865


Add @tanstack/react-start-server to vite-ecosystem-ci:test unit tests.

@tanstack/react-start-server defines a test:unit target (line 29 of its package.json) but is excluded from the unit tests in this workflow. Include it in the vite-ecosystem-ci:test nx target list alongside @tanstack/router-plugin and others, or document why it should be excluded.

Note: @tanstack/react-start correctly has no test:unit target and should remain excluded.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@package.json` at line 35, The vite-ecosystem-ci:test script is missing the
`@tanstack/react-start-server` project in its unit test run; update the
"vite-ecosystem-ci:test" npm script to include `@tanstack/react-start-server` in
the nx run-many --targets=test:unit --projects list (alongside
`@tanstack/router-plugin`,`@tanstack/start-plugin-core`,`@tanstack/react-start-client`)
so its test:unit target is executed; keep the existing --skipRemoteCache and the
subsequent e2e run unchanged.

@birkskyum birkskyum merged commit 923fe9c into main Feb 18, 2026
6 checks passed
@birkskyum birkskyum deleted the skip-cloud-cache-for-vite-ecosystem-ci branch February 18, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments