惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
博客园 - 司徒正美
小众软件
小众软件
H
Help Net Security
博客园 - 聂微东
宝玉的分享
宝玉的分享
Jina AI
Jina AI
酷 壳 – CoolShell
酷 壳 – CoolShell
阮一峰的网络日志
阮一峰的网络日志
M
MIT News - Artificial intelligence
博客园 - 【当耐特】
U
Unit 42
大猫的无限游戏
大猫的无限游戏
Apple Machine Learning Research
Apple Machine Learning Research
S
SegmentFault 最新的问题
腾讯CDC
MongoDB | Blog
MongoDB | Blog
云风的 BLOG
云风的 BLOG
J
Java Code Geeks
I
InfoQ
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Martin Fowler
Martin Fowler
博客园 - 三生石上(FineUI控件)
Vercel News
Vercel News

Nx Blog

Sharing Tailwind CSS Styles Across Apps in a Monorepo | Nx Blog How SiriusXM Stays Competitive by Iterating and Getting to Market Fast | Nx Blog Agentic Experience Is the New Developer Experience | Nx Blog Nx Joins the Linux Foundation and the Agentic AI Foundation | Nx Blog A Monorepo Is NOT a Monolith | Nx Blog Why we deleted (most of) our MCP tools | Nx Blog Teach Your AI Agent How to Work in a Monorepo | Nx Blog How Broadcom stays efficient and nimble with monorepos | Nx Blog Why Monorepos are King in the Age of AI | Nx Blog Nx 2026 Roadmap: Expanding Agent Autonomy, Improving Performance, Better Polyglot and More | Nx Blog End to End Autonomous AI Agent Workflows with Nx | Nx Blog Autonomous Agents at Scale | Nx Blog Scaling 700+ Projects: How Nx Became a 'No-Brainer' for Caseware | Nx Blog Configure Tailwind v4 with Angular in an Nx Monorepo | Nx Blog The Missing Multiplier for AI Agent Productivity | Nx Blog A Year of Nx Webinars | Nx Blog Wrapping Up 2025 | Nx Blog Nx 22.3 Release: Angular 21 Support, tsgo Compiler, and Prettier v3 | Nx Blog Nx Cloud Release: Agent Resource Usage | Nx Blog Nx Platform Outperforms DIY Cache by 5x | Nx Blog An Nx Carol: Past, Present, and Future of Your Monorepo | Nx Blog Nx 22.1 Release: Terminal UI on Windows, Storybook 10, Vitest 4, and more! | Nx Blog The Compounding Effect: How Nx Features Multiply Performance Gains | Nx Blog 10 Monorepo Myths Debunked: Separating Fact from Fiction | Nx Blog Nx Cloud Release: Enterprise Task Analytics | Nx Blog Watch and Rebuild Storybook Dependencies with Nx | Nx Blog Book - React for Enterprise: Timeless Architecture for Enterprise Apps | Nx Blog Beyond Remote Cache: Unlock 70% More CI Performance | Nx Blog Nx 22 Release: Expanding the build platform | Nx Blog What's the Point of Generating All This Code If You Can't Merge It? | Nx Blog
Nx Cloud Update - Assignment rules come out of beta and m...
Philip Fulcher · 2025-04-22 · via Nx Blog

We're rolling out updates to Nx Cloud constantly, so we wanted to bring you up to date with what we've been working on lately.

Assignment Rules come out of beta

In your CI pipeline, you've got some tasks of different sizes. Some tasks are quick, like linting or format checking, but you've got more resource-intensive tasks like building apps or running e2e suites. Your smaller tasks can run on a small agent with fewer CPU cores or less memory, but your larger tasks need a larger agent.

But when you're spreading tasks across multiple agents, it's inefficient to increase the size of all the agents to accommodate your larger tasks. So ideally, you have smaller agents for small tasks and larger agents for your larger tasks. But how do you make sure tasks get assigned to the right agent?

Many CI tools have ways of handling this, but we wanted to make things easier. That's why Nx Cloud now has Assignment Rules. This configuration allows you to control which tasks are assigned to certain agents.

Let's take a look at a quick example for Nx Agents:

.nx/workflows/distribution-config.yaml

# Create five agents using the `linux-medium-js` launch template and five agents using `linux-large-js`
distribute-on:
  default: 5 linux-medium-js, 5 linux-large-js

assignment-rules:
  # for our `app1` projects...
  - projects:
      - app1
    # for targets beginning with "e2e-ci"...
    targets:
      - e2e-ci*
    # and using the `production` configuration
    configurations:
      - production
    # run matching tasks on a `linux-medium-js` agent with parallelism set to 5
    run-on:
      - agent: linux-medium-js
        parallelism: 5

  # for lint and build tasks on any project
  - targets:
      - lint
      - build
    # run matching tasks on a `linux-large-js` agent with parallelism set to 10
    run-on:
      - agent: linux-large-js
        parallelism: 10

As you can see, there's a lot of flexibility in the configuration here to fine-tune your agent assignments.

We're so excited about this feature that we've built it to work with both Agents and Manual DTE. So, no matter how you're distributing tasks using Nx Cloud, you can use this new feature! Be sure to check the docs for more details.

We're also providing a new UI that tells you exactly what tasks are being run on which agents and the rules impacting them.

Screenshot of UI showing how assignment rules are affecting tasks

Find your CIPEs with better filtering

Screenshot of UI showing filters for CIPEs view

Having trouble finding a CI Pipeline Execution (CIPE)? We've added new filter options for the CIPEs list. You can now filter by committer, branch, or date range. You can even sort by duration to help find your longest CIPEs.

Control how flaky task retries work with your workspace

Screenshot of UI showing configuration options for flaky task retries

Flaky retries are great at unblocking your CI pipelines by automatically retrying tasks that Nx Cloud detects as flaky. This means you spend less time re-running CI pipelines when you have a task that passes sometimes and fails other times. You now have more control over this process. You can fine-tune how Nx Cloud retries tasks, specify a time range when flakiness is determined, or even turn it off entirely. This helps optimize when tasks are retried so you can control resource use and CI cost.

Request access to protected views

Screenshot of UI showing an option to request access to a protected resource

Access control is important, but it can be time-consuming to give the right access to the right people. Now, users can request access with a simple button click, and an admin will be alerted to adjust their access. This automated process saves your team time by not having to send another email or submit a support ticket for access.

Nx Agents supports custom GitHub domains

Screenshot of UI showing how to use a custom GitHub URL for Nx Agents

Using GitHub Enterprise and having a custom URL? Nx Agents now works with these custom domains, check for the option to override your domain during setup.


Learn more