Skip to content
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

NX randomly skip building application on CI (or reports wrong result) #29753

Open
1 of 4 tasks
montella1507 opened this issue Jan 25, 2025 · 0 comments
Open
1 of 4 tasks
Assignees
Labels
scope: core core nx functionality type: bug

Comments

@montella1507
Copy link

montella1507 commented Jan 25, 2025

Current Behavior

This is normal script output in CI (circleci) :

Image

All files are correctly generated.

Howeve, sometimes - randomly, the output is like this:

Image

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:

Image

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

Node           : 22.12.0
OS             : darwin-arm64
Native Target  : aarch64-macos
npm            : 10.9.0

nx                     : 20.3.1
@nx/js                 : 20.3.1
@nx/jest               : 20.3.1
@nx/eslint             : 20.3.1
@nx/workspace          : 20.3.1
@nx/angular            : 20.3.1
@nx/cypress            : 20.3.1
@nx/devkit             : 20.3.1
@nx/eslint-plugin      : 20.3.1
@nx/module-federation  : 20.3.1
@nx/storybook          : 20.3.1
@nx/web                : 20.3.1
@nx/webpack            : 20.3.1
typescript             : 5.6.3
---------------------------------------
Community plugins:
@ngneat/transloco                   : 4.3.0
@ngrx/component-store               : 19.0.0
@ngrx/effects                       : 19.0.0
@ngrx/entity                        : 19.0.0
@ngrx/operators                     : 19.0.0
@ngrx/router-store                  : 19.0.0
@ngrx/signals                       : 19.0.0
@ngrx/store                         : 19.0.0
@ngrx/store-devtools                : 19.0.0
@nrwl/js                            : 19.1.0
@progress/kendo-angular-barcodes    : 17.2.0
@progress/kendo-angular-buttons     : 17.2.0
@progress/kendo-angular-dateinputs  : 17.2.0
@progress/kendo-angular-dialog      : 17.2.0
@progress/kendo-angular-dropdowns   : 17.2.0
@progress/kendo-angular-editor      : 17.2.0
@progress/kendo-angular-inputs      : 17.2.0
@progress/kendo-angular-intl        : 17.2.0
@progress/kendo-angular-l10n        : 17.2.0
@progress/kendo-angular-label       : 17.2.0
@progress/kendo-angular-layout      : 17.2.0
@progress/kendo-angular-listview    : 17.2.0
@progress/kendo-angular-menu        : 17.2.0
@progress/kendo-angular-pager       : 17.2.0
@progress/kendo-angular-popup       : 17.2.0
@progress/kendo-angular-progressbar : 17.2.0
@progress/kendo-angular-ripple      : 17.2.0
@progress/kendo-angular-scheduler   : 17.2.0
@progress/kendo-angular-scrollview  : 17.2.0
@progress/kendo-angular-toolbar     : 17.2.0
@progress/kendo-angular-tooltip     : 17.2.0
@progress/kendo-angular-treeview    : 17.2.0
@rx-angular/cdk                     : 1.0.0
@rx-angular/state                   : 1.7.0
@rx-angular/template                : 1.1.0
angular-calendar                    : 0.31.1
ngxtension                          : 4.2.0

(report from my PC.. but it happens only on CI - linux docker machine)

Failure Logs

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

@montella1507 montella1507 changed the title NX randomly skip building application on CI NX randomly skip building application on CI (wrong result) Jan 25, 2025
@montella1507 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
@FrozenPandaz FrozenPandaz added the scope: core core nx functionality label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: core core nx functionality type: bug
Projects
None yet
Development

No branches or pull requests

3 participants