Skip to content

Commit 56311ae

Browse files
committed
chore(nx-cloud): blog post about the newest Nx Cloud table log view
1 parent 13170da commit 56311ae

8 files changed

+49
-3
lines changed

docs/blog/2024-08-01-nx-19-5-update.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ pinned: true
1111

1212
In this blog post:
1313

14-
- [Table of Contents](#table-of-contents)
1514
- [Video Summary](#video-summary)
1615
- [Announcing Nx Cloud Hobby Tier](#announcing-nx-cloud-hobby-tier)
1716
- [StackBlitz Support](#stackblitz-support)
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
title: New Table Log View on CI with Nx Cloud
3+
slug: improved-ci-log-with-nx-cloud
4+
authors: ['Juri Strumpflohner']
5+
tags: [nx-cloud, release]
6+
cover_image: /blog/images/2024-08/nx-cloud-table-log-output-thumb.jpg
7+
youtubeUrl: https://youtu.be/aacrw0H0m4Q
8+
---
9+
10+
Whenever we talk about Nx Cloud, speed is often a major focus—and for good reason. However, Nx Cloud isn't just about speed. Similar to Nx itself, it's about making work within monorepos more pleasant and efficient. A key part of that is continuously **optimizing developer ergonomics**.
11+
12+
Structuring your log output is one example. In a polyrepo setup, this isn't a big deal since you typically run tasks for a single project. However, in a monorepo setup, you might be running hundreds of tasks in parallel across multiple projects. **Quickly finding a failed task in this context can be challenging.**
13+
14+
## New Table Log View
15+
16+
Today, we released an update that improves how logs are displayed on your CI provider when using Nx Cloud. Instead of streaming all logs directly into your CI provider's pipeline, **we now render a structured table view**. This table shows all tasks, their status (success or failure), timing, and whether they had a cache hit or miss.
17+
18+
![New Table Log View](/blog/images/2024-08/circle-table-log-view.avif)
19+
20+
At the end of the log output, you'll also see aggregated stats about executed tasks, cache hits, and a link to the Nx Cloud dashboard with full details of the run.
21+
22+
![Nx Cloud Dashboard](/blog/images/2024-08/nx-cloud-dashboard-log-view.avif)
23+
24+
## Revert to the Old Behavior
25+
26+
If you prefer the previous log view in your CI, you can opt-out of the new table view. Simply go to your Nx Cloud workspace settings and enable the "Display live terminal outputs in CI pipeline log" option.
27+
28+
![](/blog/images/2024-08/nxcloud-display-live-terminal-output.avif)
29+
30+
## Not Using Nx Cloud Yet?
31+
32+
If you're not on Nx Cloud yet, you can **connect your Nx workspace** by running:
33+
34+
```shell
35+
npx nx connect
36+
```
37+
38+
This command will guide you through the setup. We recently introduced a [new Hobby plan](/pricing), which lets you experiment with all the Nx Cloud features for free. This is a great way to see if it's a good fit for your team.
39+
40+
## Learn More
41+
42+
- [Nx on CI](/ci)
43+
- [Task Distribution with Nx Agents](/ci/features/distribute-task-execution)
44+
- [Automated e2e Test Splitting](/ci/features/split-e2e-tasks)
45+
- [X/Twitter](https://twitter.com/nxdevtools) -- [LinkedIn](https://www.linkedin.com/company/nrwl/)
46+
- [Nx Official Discord Server](https://go.nx.dev/community)
47+
- [Nx Youtube Channel](https://www.youtube.com/@nxdevtools)
Binary file not shown.
Binary file not shown.
Loading
Binary file not shown.
-9.03 KB
Loading

docs/nx-cloud/features/split-e2e-tasks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,9 +424,9 @@ jobs:
424424
with:
425425
fetch-depth: 0
426426

427-
- uses: pnpm/action-setup@v2
427+
- uses: pnpm/action-setup@v4
428428
with:
429-
version: 8
429+
version: 9
430430

431431
- run: pnpm dlx nx-cloud start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="e2e-ci"
432432

0 commit comments

Comments
 (0)