Skip to content
Source
Sign inSign up
TanStack/router

ci: experiment with 16 large Nx workers #8812

Closedbeaussan(GitHub profile, opens in a new tab)wants to merge 6 commits intomain frombeaussan/ci-16-large-workersopened

🎯 Changes

Timing experiment only; do not merge as an independent product change. Compare with #8807, the fresh 16-medium-worker baseline at f793766a51.

Larger workers: use 16 linux-large-js for the full-workspace changeset. Smaller changesets retain the baseline allocation. The only differences from the baseline are this allocation and a unique nx.json cache bust.

Keep the same application code, Nx 24, .nx/ci-config.yaml worker lifecycle, dynamic task packing flags, E2E parallelism: false, and Playwright worker counts. Preview cannot warm the Test cache; checkout uses the exact branch head and all trials use the same fixed comparison base.

Compare final Nx execution time, Test job time, cache hits, unique task coverage, actual worker allocation, failures, and recorded compute usage. One run per configuration is exploratory evidence. No retries, timeout changes, or application fixes are part of the experiment.

AI-authored with Codex.

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested code changes locally with the relevant test commands, or tests do not apply to this pull request.
  • I fully understand the code in this pull request, including any code generated with AI assistance.

Validation: frozen-lockfile install, pnpm format, YAML/Nx schema checks, a strict two-file diff against the baseline, and git diff --check. The published medium/large templates share the same image and initialization steps. Runtime validation is this CI experiment.

🚀 Release Impact

  • This change affects published code, and I have generated a changeset.
  • This change is docs/CI/dev-only (no release).
    1. ⚠️ No Changeset found

      Latest commit: 99009c77006e3f24a674f0e136099986ed6fa983

      Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

      This PR includes no changesets

      When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

      Click here to learn what changesets are, and how to add one.

      Click here if you're a maintainer who wants to add a changeset to this PR

    2. Important

      Draft PR not reviewed

      Draft PRs are not automatically reviewed by default.

      • Trigger a manual review

      To automatically review draft PRs, update your CodeRabbit configuration:

      reviews:
        auto_review:
          drafts: true
      • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

      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.
    3. Review the following changes in direct dependencies. Learn more about Socket for GitHub.

      Diff Package Supply Chain
      Security
      Vulnerability Quality Maintenance License
      Updatednx@​23.2.0 ⏵ 24.0.067 -1100 +292100100
      Updated@​nx/​devkit@​23.2.0 ⏵ 24.0.099 +11009299100

      View full report

    4. 🚀 Changeset Version Preview

      No changeset entries found. Merging this PR will not cause a version bump for any packages.

    5. View your CI Pipeline Execution ↗ for commit 99009c77006e3f24a674f0e136099986ed6fa983

      CommandStatusDurationResult
      nx affected --targets=test:eslint,test:unit,tes...✅ Succeeded8m 20sView ↗

      ☁️ Nx Cloud last updated this comment at 2026-10-24 22:46:00 UTC

    6. Bundle Size Benchmarks

      This pull request does not affect bundle size in any measured scenario.

Sign in to join this conversation.