Disabled Nx native command runner for the build artifacts job - #29210
Conversation
The "Build server and admin assets" step has intermittently segfaulted before Nx starts the target script (SIGSEGV on `nx run ghost:build:tsc`). Keep Nx orchestration but avoid its native PTY runner, matching the fix already applied to the acceptance test job.
|
| Command | Status | Duration | Result |
|---|---|---|---|
nx run @tryghost/admin-x-settings:test:acceptance |
✅ Succeeded | 11m 3s | View ↗ |
nx run ghost:test:ci:integration |
✅ Succeeded | 5s | View ↗ |
nx run ghost:test:integration |
✅ Succeeded | 2m 16s | View ↗ |
nx run ghost:test:legacy |
✅ Succeeded | 2m 59s | View ↗ |
nx run @tryghost/koenig-lexical:test:acceptance |
✅ Succeeded | 2m 22s | View ↗ |
nx run ghost:test:e2e |
✅ Succeeded | 2m 6s | View ↗ |
nx run-many --target=build --projects=tag:publi... |
✅ Succeeded | 1s | View ↗ |
nx run @tryghost/activitypub:test:acceptance |
✅ Succeeded | 48s | View ↗ |
Additional runs (10) |
✅ Succeeded | ... | View ↗ |
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗
☁️ Nx Cloud last updated this comment at 2026-07-09 18:03:32 UTC
WalkthroughThis change modifies the CI workflow configuration file to add an environment variable, Possibly related PRs
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #29210 +/- ##
==========================================
+ Coverage 74.04% 74.07% +0.02%
==========================================
Files 1570 1570
Lines 136624 136624
Branches 16524 16530 +6
==========================================
+ Hits 101165 101203 +38
+ Misses 34423 34385 -38
Partials 1036 1036
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|

no ref
The Build & Publish Artifacts job's
Build server and admin assetsstep has intermittently segfaulted before Nx starts the target script —nx run ghost:build:tscis killed withSIGSEGVroughly a second in, before Nx ortscproduce any output (e.g. run #49431).This sets
NX_NATIVE_COMMAND_RUNNER: "false"on that step's env, which keeps Nx orchestration and caching but avoids its native PTY command runner. It mirrors the same fix already applied to the acceptance test job in 2798ba3; there it lives at the job level because that job already had a job-levelenv:block, whereas here the failing step already carries its ownenv:, so scoping it to that step keeps it targeted to the exact command that crashes.