Skip to content

Conversation

@leosvelperez
Copy link
Member

@leosvelperez leosvelperez commented Dec 15, 2025

Delegates all DB operations to the daemon when enabled.

@leosvelperez leosvelperez self-assigned this Dec 15, 2025
@vercel
Copy link

vercel bot commented Dec 15, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
nx-dev Ready Ready Preview Jan 13, 2026 5:20pm

@netlify
Copy link

netlify bot commented Dec 15, 2025

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit 94e8cea
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/69667d3c019aa00008275674
😎 Deploy Preview https://deploy-preview-33862--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
Copy link
Contributor

nx-cloud bot commented Dec 15, 2025

Nx Cloud AI Fix could not be generated

View fix generation details ↗


View your CI Pipeline Execution ↗ for commit 94e8cea

Command Status Duration Result
nx affected --targets=lint,test,test-kt,build,e... ❌ Failed 36m 53s View ↗
nx run-many -t check-imports check-lock-files c... ✅ Succeeded 2m 36s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 12s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 4s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2026-01-13 17:56:51 UTC

nx-cloud[bot]

This comment was marked as outdated.

nx-cloud[bot]

This comment was marked as outdated.

nx-cloud[bot]

This comment was marked as outdated.

nx-cloud[bot]

This comment was marked as outdated.

@github-actions
Copy link
Contributor

🐳 We have a release for that!

This PR has a release associated with it. You can try it out using this command:

npx create-nx-workspace@0.0.0-pr-33862-b75a9d8 my-workspace

Or just copy this version and use it in your own command:

0.0.0-pr-33862-b75a9d8
Release details 📑
Published version 0.0.0-pr-33862-b75a9d8
Triggered by @leosvelperez
Branch nxc-3611
Commit b75a9d8
Workflow run 20305997925

To request a new release for this pull request, mention someone from the Nx team or the @nrwl/nx-pipelines-reviewers.

Copy link
Contributor

@nx-cloud nx-cloud bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

At least one additional CI pipeline execution has run since the conclusion below was written and it may no longer be applicable.

Nx Cloud is proposing a fix for your failed CI:

These changes fix the timeout error in e2e-release:e2e-ci--src/release-tag-pattern.test.ts by preventing daemon delegation during cache initialization. The test was timing out because assertCacheIsValid() attempted to delegate cacheCheckFsInSync() to the daemon, which may not be ready during e2e test setup, causing the async call to hang and exceed the 60-second timeout.

We verified this fix by re-running e2e-release:e2e-ci--src/release-tag-pattern.test.ts.

diff --git a/packages/nx/src/tasks-runner/cache.ts b/packages/nx/src/tasks-runner/cache.ts
index e9e4c861ab..48c861e14f 100644
--- a/packages/nx/src/tasks-runner/cache.ts
+++ b/packages/nx/src/tasks-runner/cache.ts
@@ -382,12 +382,9 @@ export class DbCache {
     // hit issues. If we detect this, we can create a fallback db cache in the
     // custom directory, and check if the entries are there when the main db
     // cache misses.
-    let isInSync: boolean;
-    if (this.shouldDelegateToDaemon()) {
-      isInSync = await daemonClient.cacheCheckFsInSync();
-    } else {
-      isInSync = this.cache.checkCacheFsInSync();
-    }
+
+    // Don't delegate to daemon during initialization to avoid hanging if daemon isn't ready
+    const isInSync = this.cache.checkCacheFsInSync();
 
     if (isCI() && !isInSync) {
       const warningLines = [

Apply fix via Nx Cloud  Reject fix via Nx Cloud


Or Apply changes locally with:

npx nx-cloud apply-locally uQJH-ZsEb

Apply fix locally with your editor ↗   View interactive diff ↗


🎓 Learn more about Self-Healing CI on nx.dev

@leosvelperez leosvelperez marked this pull request as ready for review January 13, 2026 16:45
@leosvelperez leosvelperez requested a review from a team as a code owner January 13, 2026 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants