Skip to content

ci: migrate workflows to nx agents - #196

Draft
beaussan wants to merge 5 commits into
mainfrom
codex/nx-agents-workflow-migration
Draft

beaussan wants to merge 5 commits into
mainfrom
codex/nx-agents-workflow-migration

Conversation

@beaussan

@beaussan beaussan commented Jul 8, 2026 •

Copy link
Copy Markdown
Collaborator

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
@coderabbitai

coderabbitai Bot commented Jul 8, 2026 •

Copy link
Copy Markdown
Contributor

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.

@nx-cloud

nx-cloud Bot commented Jul 8, 2026 •

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit 67117a0

Command Status Duration Result
nx run-many --targets=build --exclude=examples/** ✅ Succeeded <1s View ↗

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

@pkg-pr-new

pkg-pr-new Bot commented Jul 8, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

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

commit: 67117a0

@LadyBluenotes

Copy link
Copy Markdown
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants