Visitar URL original
feat(core): fetch ultracache configurations by default in CI by FrozenPandaz · Pull Request #37448 · nrwl/nx · GitHub
Skip to content

feat(core): fetch ultracache configurations by default in CI - #37448

Merged
FrozenPandaz merged 2 commits into
masterfrom
feat/ultracache-on-by-default
Oct 19, 2026
Merged

FrozenPandaz merged 2 commits into
masterfrom
feat/ultracache-on-by-default

Conversation

@FrozenPandaz

Copy link
Copy Markdown
Contributor

Current Behavior

Nx only hashes tasks from Nx Cloud's Ultracache configurations when a CI run sets NX_CLOUD_USE_ULTRACACHE=true. A workspace with Ultracache turned on in Nx Cloud still needs every CI pipeline to set the variable.

Expected Behavior

In CI, a workspace connected to Nx Cloud fetches its Ultracache configurations by default. Nx Cloud's workspace setting decides whether the fetch returns any: a workspace with Ultracache off gets an empty set and hashes as before. NX_CLOUD_USE_ULTRACACHE=false opts a run out. Runs outside CI, with NX_NO_CLOUD, or without Nx Cloud are unchanged.

A failed fetch already falls back to native hashing, so the default can't fail a run.

The docs that said "set NX_CLOUD_USE_ULTRACACHE" now describe the default and the opt-out.

Pairs with the Nx Cloud client change in nrwl/ocean (linked in this session), which records and uses configs by default for this Nx.

Cost to note: each CI run in a Cloud workspace makes one config read, including workspaces with Ultracache off.

Related Issue(s)

None.

🤖 Generated with Claude Code


View Polygraph session ↗

Nx Cloud's workspace setting now decides whether a CI run gets configurations. NX_CLOUD_USE_ULTRACACHE=false opts a run out.
@netlify

netlify Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for nx-dev ready!

Name Link
🔨 Latest commit 1777ba9
🔍 Latest deploy log https://app.netlify.com/projects/nx-dev/deploys/6ad2b2324f99e169fd622a0f
😎 Deploy Preview https://deploy-preview-37448--nx-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit 1777ba9
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/6ad2b232b26f2e402b54e46f
😎 Deploy Preview https://deploy-preview-37448--nx-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@nx-cloud

nx-cloud Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

View your CI Pipeline Execution ↗ for commit 1777ba9

Command Status Duration Result
nx affected --targets=lint,oxlint,test,build,e2... ✅ Succeeded 44m 27s View ↗
nx run-many -t check-imports check-lock-files c... ✅ Succeeded 2s View ↗
nx-cloud record -- pnpm nx-cloud conformance:check ✅ Succeeded 1m 7s View ↗
nx build workspace-plugin ✅ Succeeded <1s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 34s View ↗
nx-cloud record -- nx format:check ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2026-10-17 00:14:30 UTC

@FrozenPandaz
FrozenPandaz marked this pull request as ready for review October 17, 2026 02:08
@FrozenPandaz
FrozenPandaz requested a review from a team as a code owner October 17, 2026 02:08
@FrozenPandaz
FrozenPandaz merged commit dc7a15a into master Oct 19, 2026
26 checks passed
@FrozenPandaz
FrozenPandaz deleted the feat/ultracache-on-by-default branch October 19, 2026 12:16
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Oct 25, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants