Skip to content

Updated Nx config to disable the daemon#27968

Merged
9larsons merged 1 commit into
mainfrom
disable-nx-daemon
May 20, 2026
Merged

Updated Nx config to disable the daemon#27968
9larsons merged 1 commit into
mainfrom
disable-nx-daemon

Conversation

@jonatansberg
Copy link
Copy Markdown
Member

Summary

  • Reintroduced the top-level useDaemonProcess: false setting in nx.json.
  • Keeps local long-running Nx dev tasks from relying on the daemon.

Context

The Nx daemon can fail to bind its Unix socket from sandboxed environments and leave the workspace with a stale .nx/workspace-data/d/disabled marker. Since pnpm dev mostly runs long-lived tasks, the daemon startup optimization is not worth the recovery failure mode for local development.

Validation

  • pnpm nx report
  • pnpm nx show projects --json

no ref

The Nx daemon can fail to bind its socket from sandboxed environments and leave the workspace in a stale disabled state. Local development runs long-lived tasks, so avoiding the daemon removes that failure mode.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 19, 2026

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: c768a14d-de27-44e3-b081-dd9326b1bdf7

📥 Commits

Reviewing files that changed from the base of the PR and between 9bd489c and 4fb1125.

📒 Files selected for processing (1)
  • nx.json

Walkthrough

This PR adds a single configuration flag to the NX workspace settings. The change disables the NX daemon process by setting useDaemonProcess: false in the top-level nx.json configuration. No other behavioral or configuration changes are introduced.

Possibly related PRs

  • TryGhost/Ghost#25716: Previous PR that added the same useDaemonProcess: false configuration to nx.json, suggesting this may be a follow-up or re-application of the same setting.

Suggested reviewers

  • kevinansfield
  • peterzimon
  • rob-ghost
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately and concisely summarizes the main change: disabling the Nx daemon in the configuration.
Description check ✅ Passed The description is directly related to the changeset, providing clear context about why the daemon is being disabled and what validation was performed.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch disable-nx-daemon

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@jonatansberg jonatansberg marked this pull request as ready for review May 20, 2026 07:30
@9larsons 9larsons merged commit 455a9d1 into main May 20, 2026
42 checks passed
@9larsons 9larsons deleted the disable-nx-daemon branch May 20, 2026 12:35
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