chriscoderdr / morro-ride-sharing

1 stars 1 forks source link

Task Title: Fix NX Cloud Distributed Task Execution Error #12

Closed chriscoderdr closed 4 weeks ago

chriscoderdr commented 1 month ago

Task: Fix NX Cloud Distributed Task Execution Error

Objective:

Resolve the error related to distributed task execution in NX Cloud by ensuring the build tasks for the driver-app and rider-app are marked as cacheable.

Description:

When attempting to run distributed task execution with NX Cloud, the error occurs because the build tasks for driver-app and rider-app are not marked as cacheable. NX Cloud only supports distributed execution for tasks that are cacheable, such as build and test tasks.

Steps to Fix:

  1. Configure NX Cacheable Operations:

    • Open the nx.json file and ensure the build tasks for driver-app and rider-app are listed under cacheableOperations.
  2. Check Cacheable Targets:

    • Ensure the target configuration in workspace.json or project.json for build is set to cacheable.
  3. Verify Configurations:

    • Run a test to verify if NX Cloud can now execute these tasks in distributed mode without errors.

Acceptance Criteria:

chriscoderdr commented 1 month ago

As a note we are having dependencies issues, I'll move the dependencies to the specific projects for now and later we can move common dependencies that won't have conflicts