-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[v4] fix(ci): resolve v4 CI timeout by disabling Nx Cloud distributed execution #9623
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v4] fix(ci): resolve v4 CI timeout by disabling Nx Cloud distributed execution #9623
Conversation
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests
Comment |
View your CI Pipeline Execution ↗ for commit edbe114
☁️ Nx Cloud last updated this comment at |
@manudeli I'm not entirely sure if this is the perfect solution, but anyway, this PR passes the NX Cloud stage with the modified pr.yml,, |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit edbe114:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's try this after merging
@joseph0926 I think you fixed it! 👍 |
@manudeli |
CI issues related to Nx Cloud: #9584 #9334 #9310
Problem
The CI pipeline has been timing out after 1 hour with the error
Maybe Root Cause
In commit eee4405, the workflow was refactored with the following changes
agents
job that was starting 3 distributed agentstanstack/config/.github/setup@main
for simplified setup--parallel=3
flag to the test commandHowever, the environment variables still had
NX_CLOUD_DISTRIBUTED_EXECUTION: true
NX_CLOUD_DISTRIBUTED_EXECUTION_AGENT_COUNT: 3
This created a configuration mismatch where
npx nx-cloud start-ci-run
agents
job was removed)Solution
Set
NX_CLOUD_DISTRIBUTED_EXECUTION: false
to align with the simplified workflow structure. This ensures tests run directly in the main job.Note
While we cannot fully replicate the GitHub Actions environment locally, this analysis is based on