Added nx-cloud start-ci-run to Nx-orchestrated CI jobs - #28843
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughThe CI workflow file is updated to insert a new "Start Nx Cloud CI run" step in the 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
|
| Command | Status | Duration | Result |
|---|---|---|---|
nx run @tryghost/admin-x-settings:test:acceptance |
✅ Succeeded | 9m 25s | View ↗ |
nx run ghost:test:ci:integration:no-coverage |
✅ Succeeded | 2m 35s | View ↗ |
nx run ghost:test:ci:integration |
✅ Succeeded | 2m 13s | View ↗ |
nx run ghost:test:ci:legacy |
✅ Succeeded | 2m 48s | View ↗ |
nx run ghost:test:ci:e2e:no-coverage |
✅ Succeeded | 2m 33s | View ↗ |
nx run ghost:test:ci:e2e |
✅ Succeeded | 2m 28s | View ↗ |
nx build @tryghost/sodo-search |
✅ Succeeded | <1s | View ↗ |
nx build @tryghost/signup-form |
✅ Succeeded | <1s | View ↗ |
Additional runs (15) |
✅ Succeeded | ... | View ↗ |
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗
☁️ Nx Cloud last updated this comment at 2026-06-23 18:47:13 UTC
1a81d16 to
ad52e59
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/ci.yml:
- Around line 181-183: The pnpm nx-cloud start-ci-run command in the "Start Nx
Cloud CI run" step will fail because the nx-cloud package is not installed and
the Nx Cloud authentication token is not configured. Add the nx-cloud package as
a devDependency in package.json, then add the NX_CLOUD_ACCESS_TOKEN environment
variable to the GitHub Actions workflow (either as a secret or directly in the
workflow step's env section, depending on your security setup) to enable proper
Nx Cloud authentication and registration during the CI run.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: b71f6547-b5a6-45c9-b45a-8fd8debc3f63
📒 Files selected for processing (1)
.github/workflows/ci.yml
no ref Registers a single Nx Cloud Pipeline Execution per workflow run by calling start-ci-run once in job_setup, before any other nx command (the affected-projects queries). Subsequent nx invocations across lint/admin/unit/acceptance/legacy/playwright jobs attribute tasks to this pipeline via the shared GITHUB_RUN_ID. Surfaces per-task analytics (cache hit rates, durations, flake counts) in the Nx Cloud dashboard grouped per workflow run. Tasks invoked outside Nx (i18n filter, Tinybird, version/migration scripts) remain uncorrelated.
ad52e59 to
7bc0493
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #28843 +/- ##
=======================================
Coverage 74.10% 74.10%
=======================================
Files 1560 1560
Lines 134884 134884
Branches 16334 16335 +1
=======================================
Hits 99952 99952
+ Misses 33952 33922 -30
- Partials 980 1010 +30
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:
|

Calls
nx-cloud start-ci-runonce injob_setup, before any other nx command (the affected-project queries). Downstream lint/admin/unit/acceptance/legacy/playwright jobs run nx tasks that attribute to this Pipeline Execution via the sharedGITHUB_RUN_ID. Surfaces per-task analytics (cache hit rates, durations, flake counts) in the Nx Cloud dashboard grouped per workflow run.Tasks invoked outside Nx (i18n filter, Tinybird, version/migration scripts) remain uncorrelated.
Test plan