ci: migrate workflows to nx agents #196
Open
beaussan(GitHub profile, opens in a new tab)wants to merge 5 commits into
main fromcodex/nx-agents-workflow-migration·opened Summary#
- Start Nx Agents around the PR Test job while preserving the existing
pnpm run test:prscript as the command surface. - Reuse the existing
.nx/workflows/dynamic-changesets.yamldistribution 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.ymland.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=stdoutgit diff --check
- 1
View your CI Pipeline Execution ↗ for commit 67117a0bd52b259fc7c2b782d9f017adc17d6a3c
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:30UTC@beaussan are these at a point where they can be merged?
Sign in to join this conversation.
Important
Review skipped#
Draft detected.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID:
bb18ff32-a6b4-432d-8fa1-6c25557b831aYou can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
✨ Finishing Touches
🧪 Generate unit tests (beta)
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