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

Fix NX Cloud distributed task execution error for cacheable build tasks #14

Conversation

chriscoderdr
Copy link
Owner

                    - Updated nx.json to ensure 'build' tasks for driver-app

and rider-app are cacheable.
- Verified the build tasks for driver-app and rider-app
are included under cacheableOperations.
- Fixed the configuration in project.json to mark 'build' targets as cacheable for both apps.
- Resolved the error in NX Cloud that prevented distributed task execution due to non-cacheable tasks.

                    This commit closes #12 by ensuring proper cacheable task configuration for distributed builds.

                        - Updated nx.json to ensure 'build' tasks for driver-app
 and rider-app are cacheable.
                        - Verified the build tasks for driver-app and rider-app
are included under cacheableOperations.
                        - Fixed the configuration in project.json to mark 'build' targets as cacheable for both apps.
                        - Resolved the error in NX Cloud that prevented distributed task execution due to non-cacheable tasks.

                        This commit closes #12 by ensuring proper cacheable task configuration for distributed builds.
@chriscoderdr chriscoderdr self-assigned this Oct 23, 2024
@chriscoderdr chriscoderdr added the bug Something isn't working label Oct 23, 2024
Copy link

nx-cloud bot commented Oct 23, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 3adb03c. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

                            - Updated nx.json to ensure 'build' tasks for driver-app
     and rider-app are cacheable.
                            - Verified the build tasks for driver-app and rider-app
    are included under cacheableOperations.
                            - Fixed the configuration in project.json to mark 'build' targets as cacheable for both apps.
                            - Resolved the error in NX Cloud that prevented distributed task execution due to non-cacheable tasks.

                            This commit closes #12 by ensuring proper cacheable task configuration for distributed builds.
@chriscoderdr chriscoderdr force-pushed the 12-task-title-fix-nx-cloud-distributed-task-execution-error-2 branch from 078d49d to 8d42b4d Compare October 25, 2024 02:48
                                - Updated nx.json to ensure 'build' tasks for driver-app
         and rider-app are cacheable.
                                - Verified the build tasks for driver-app and rider-app
        are included under cacheableOperations.
                                - Fixed the configuration in project.json to mark 'build' targets as cacheable for both apps.
                                - Resolved the error in NX Cloud that prevented distributed task execution due to non-cacheable tasks.

                                This commit closes #12 by ensuring proper cacheable task configuration for distributed builds.
                                    - Updated nx.json to ensure 'build' tasks for driver-app
             and rider-app are cacheable.
                                    - Verified the build tasks for driver-app and rider-app
            are included under cacheableOperations.
                                    - Fixed the configuration in project.json to mark 'build' targets as cacheable for both apps.
                                    - Resolved the error in NX Cloud that prevented distributed task execution due to non-cacheable tasks.

                                    This commit closes #12 by ensuring proper cacheable task configuration for distributed builds.
                                        - Updated nx.json to ensure 'build' tasks for driver-app
                 and rider-app are cacheable.
                                        - Verified the build tasks for driver-app and rider-app
                are included under cacheableOperations.
                                        - Fixed the configuration in project.json to mark 'build' targets as cacheable for both apps.
                                        - Resolved the error in NX Cloud that prevented distributed task execution due to non-cacheable tasks.

                                        This commit closes #12 by ensuring proper cacheable task configuration for distributed builds.
                                            - Updated nx.json to ensure 'build' tasks for driver-app
                     and rider-app are cacheable.
                                            - Verified the build tasks for driver-app and rider-app
                    are included under cacheableOperations.
                                            - Fixed the configuration in project.json to mark 'build' targets as cacheable for both apps.
                                            - Resolved the error in NX Cloud that prevented distributed task execution due to non-cacheable tasks.

                                            This commit closes #12 by ensuring proper cacheable task configuration for distributed builds.
                                                - Updated nx.json to ensure 'build' tasks for driver-app
                         and rider-app are cacheable.
                                                - Verified the build tasks for driver-app and rider-app
                        are included under cacheableOperations.
                                                - Fixed the configuration in project.json to mark 'build' targets as cacheable for both apps.
                                                - Resolved the error in NX Cloud that prevented distributed task execution due to non-cacheable tasks.

                                                This commit closes #12 by ensuring proper cacheable task configuration for distributed builds.
@chriscoderdr
Copy link
Owner Author

NoHoist is not working in npm workspaces but I found out in this issue npm/rfcs#287 this was just recently added (maybe?) so I'm gonna use yarn workspace who fully supports it

@chriscoderdr
Copy link
Owner Author

It's finally working as expected, this took longer than expected due to the mono repo setup
NPM Workspace didn't work cause we need to unhoist some packages due to having different versions of the same package across the projects but cannot change it due to being the versions required by these projects

@chriscoderdr chriscoderdr merged commit d2a567d into main Oct 25, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant