You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
montella1507
changed the title
NX randomly skip building application on CI
NX randomly skip building application on CI (wrong result)
Jan 25, 2025
montella1507
changed the title
NX randomly skip building application on CI (wrong result)
NX randomly skip building application on CI (or reports wrong result)
Jan 25, 2025
Current Behavior
This is normal script output in CI (circleci) :
All files are correctly generated.
Howeve, sometimes - randomly, the output is like this:
As you can see, files ARE NOT generated / flushed.
However, NX reported all has been done correctly.
The main reason for that is probably, because CI kills the build processes, because of Resource class limitation:
This screen is from successfull build. So i can imagine, the problem with build will be solved by bigger resource class.
However... NX monitoring / result check could have been better.
If the process is killed / ends unexpectly (like in this case).
The NX should have reported error, and not success result.
Expected Behavior
If the build process did not end in expected way, NX should not report everything as ok.
Like in this case, when CI pipeline porbably killed the build process.
GitHub Repo
No response
Steps to Reproduce
Probably iti s reproducable when some build processy is killed.
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: