Skip to content
Source
Sign inSign up
TanStack/intent

ci: migrate workflows to nx agents #196

Openbeaussan(GitHub profile, opens in a new tab)wants to merge 5 commits intomain fromcodex/nx-agents-workflow-migrationopened

Summary

  • Start Nx Agents around the PR Test job while preserving the existing pnpm run test:pr script as the command surface.
  • Reuse the existing .nx/workflows/dynamic-changesets.yaml distribution config and default Nx Cloud agent template.
  • Leave Preview and Release on their existing execution paths.

Impact

  • Architecture: CI keeps GitHub-only orchestration, preview publishing, and release behavior unchanged while distributing cacheable Nx targets from the PR Test workflow through Nx Agents.
  • Performance / bundle size: No runtime or package changes. CI should get more distributed capacity for PR test targets.
  • Risk: Requires a trial CI run to confirm Nx Cloud agent allocation and token availability in GitHub Actions.
  • User-facing changes: None expected.

Testing

  • npx -y pnpm@11.9.0 exec prettier --check .github/workflows/pr.yml .nx/workflows/dynamic-changesets.yaml
  • YAML parsing for .github/workflows/pr.yml and .nx/workflows/dynamic-changesets.yaml
  • npx -y pnpm@11.9.0 nx affected --targets=test:eslint,test:sherif,test:knip,test:docs,test:lib,test:types,build --graph=stdout
  • git diff --check
    1. coderabbitai[bot](GitHub profile, opens in a new tab)commented

      Important

      Review skipped

      Draft detected.

      Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

      ⚙️ Run configuration

      Configuration used: defaults

      Review profile: CHILL

      Plan: Pro

      Run ID: bb18ff32-a6b4-432d-8fa1-6c25557b831a

      You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

      Use the checkbox below for a quick retry:

      • 🔍 Trigger review
      ✨ Finishing Touches
      🧪 Generate unit tests (beta)
      • Create PR with unit tests
      • Commit unit tests in branch `codex/nx-agents-workflow-migration`

      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.
    2. nx-cloud[bot](GitHub profile, opens in a new tab)commented

      View your CI Pipeline Execution ↗ for commit 67117a0bd52b259fc7c2b782d9f017adc17d6a3c

      CommandStatusDurationResult
      nx run-many --targets=build --exclude=examples/**✅ Succeeded<1sView ↗

      ☁️ Nx Cloud last updated this comment at 2026-07-08 21:29:30 UTC

    3. pkg-pr-new[bot](GitHub profile, opens in a new tab)commented

      Open in StackBlitz

      npm i https://pkg.pr.new/TanStack/intent/@tanstack/intent@196

      commit: 67117a0

    4. @beaussan are these at a point where they can be merged?

Sign in to join this conversation.