From e52152bab826afe00a1fdae0012dce877c52be55 Mon Sep 17 00:00:00 2001 From: lourw <56288712+lourw@users.noreply.github.com> Date: Tue, 14 Jan 2025 15:12:14 -0800 Subject: [PATCH 01/19] chore(repo): turn on verbose logging --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 33e94aab699a7..07a731e559f6b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -82,13 +82,14 @@ jobs: NX_E2E_CI_CACHE_KEY: e2e-circleci-linux NX_DAEMON: 'true' NX_PERF_LOGGING: 'false' - NX_VERBOSE_LOGGING: 'false' + NX_VERBOSE_LOGGING: 'true' NX_NATIVE_LOGGING: 'false' NX_E2E_RUN_E2E: 'true' NX_CI_EXECUTION_ENV: 'linux' NX_CLOUD_DTE_V2: 'true' NX_CLOUD_DTE_SUMMARY: 'true' NX_CLOUD_NO_TIMEOUTS: 'true' + NX_BRANCH: 'main' steps: - checkout - nx/set-shas: From a622f6920f8ba37ea5e69e5885562a0ff2c49021 Mon Sep 17 00:00:00 2001 From: Louie Weng <56288712+lourw@users.noreply.github.com> Date: Tue, 14 Jan 2025 17:22:12 -0800 Subject: [PATCH 02/19] chore(repo): turn off logs --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 07a731e559f6b..1c5d1d34bde38 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -82,7 +82,7 @@ jobs: NX_E2E_CI_CACHE_KEY: e2e-circleci-linux NX_DAEMON: 'true' NX_PERF_LOGGING: 'false' - NX_VERBOSE_LOGGING: 'true' + NX_VERBOSE_LOGGING: 'false' NX_NATIVE_LOGGING: 'false' NX_E2E_RUN_E2E: 'true' NX_CI_EXECUTION_ENV: 'linux' From 63b36d8e6b654b469a6c039e981d0f2bbda9ae9f Mon Sep 17 00:00:00 2001 From: Louie Weng <56288712+lourw@users.noreply.github.com> Date: Wed, 15 Jan 2025 07:28:04 -0800 Subject: [PATCH 03/19] chore(repo): remove env var --- .circleci/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1c5d1d34bde38..33e94aab699a7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -89,7 +89,6 @@ jobs: NX_CLOUD_DTE_V2: 'true' NX_CLOUD_DTE_SUMMARY: 'true' NX_CLOUD_NO_TIMEOUTS: 'true' - NX_BRANCH: 'main' steps: - checkout - nx/set-shas: From f6065a89df579226d40571bbf11b50fdc67cddcc Mon Sep 17 00:00:00 2001 From: lourw <56288712+lourw@users.noreply.github.com> Date: Wed, 15 Jan 2025 07:32:45 -0800 Subject: [PATCH 04/19] chore(repo): test pipeline with verbose logging on --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 33e94aab699a7..4fca9f980ed78 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -82,7 +82,8 @@ jobs: NX_E2E_CI_CACHE_KEY: e2e-circleci-linux NX_DAEMON: 'true' NX_PERF_LOGGING: 'false' - NX_VERBOSE_LOGGING: 'false' + NX_VERBOSE_LOGGING: 'true' + NX_CLOUD_DEBUG_URLS: 'true' NX_NATIVE_LOGGING: 'false' NX_E2E_RUN_E2E: 'true' NX_CI_EXECUTION_ENV: 'linux' From 327250c314af70365b706c45c3c77d35bcee9086 Mon Sep 17 00:00:00 2001 From: lourw <56288712+lourw@users.noreply.github.com> Date: Wed, 15 Jan 2025 10:20:36 -0800 Subject: [PATCH 05/19] chore(repo): find cause of undefined --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4fca9f980ed78..572c4364c86c7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -104,7 +104,7 @@ jobs: os: linux - run: name: Check Documentation - command: pnpm nx documentation --no-dte + command: pnpm nx documentation --no-cloud no_output_timeout: 20m - run: name: Run Checks/Lint/Test/Build From e5bbfa2c8c78e8a80d663b246c0e4ea1a9e94a2b Mon Sep 17 00:00:00 2001 From: lourw <56288712+lourw@users.noreply.github.com> Date: Wed, 15 Jan 2025 11:45:53 -0800 Subject: [PATCH 06/19] chore(repo): turn off daemon --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 572c4364c86c7..573bdbb2dfe08 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -104,7 +104,7 @@ jobs: os: linux - run: name: Check Documentation - command: pnpm nx documentation --no-cloud + command: NX_NO_CLOUD=true NX_DAEMON=false pnpm nx documentation --no-cloud no_output_timeout: 20m - run: name: Run Checks/Lint/Test/Build From 55464924d0537a7e4109b424764294700d61a8b9 Mon Sep 17 00:00:00 2001 From: lourw <56288712+lourw@users.noreply.github.com> Date: Wed, 15 Jan 2025 12:48:09 -0800 Subject: [PATCH 07/19] chore(repo): turn off daemon --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 573bdbb2dfe08..b2502e18757fa 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -80,7 +80,7 @@ jobs: executor: linux environment: NX_E2E_CI_CACHE_KEY: e2e-circleci-linux - NX_DAEMON: 'true' + NX_DAEMON: 'false' NX_PERF_LOGGING: 'false' NX_VERBOSE_LOGGING: 'true' NX_CLOUD_DEBUG_URLS: 'true' @@ -104,7 +104,7 @@ jobs: os: linux - run: name: Check Documentation - command: NX_NO_CLOUD=true NX_DAEMON=false pnpm nx documentation --no-cloud + command: pnpm nx documentation --no-dte no_output_timeout: 20m - run: name: Run Checks/Lint/Test/Build From 0016827c25f32829c14ebe9b9c2826355278af9b Mon Sep 17 00:00:00 2001 From: lourw <56288712+lourw@users.noreply.github.com> Date: Wed, 15 Jan 2025 12:59:28 -0800 Subject: [PATCH 08/19] chore(repo): turn on perf logging --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b2502e18757fa..276353af940fd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -81,7 +81,7 @@ jobs: environment: NX_E2E_CI_CACHE_KEY: e2e-circleci-linux NX_DAEMON: 'false' - NX_PERF_LOGGING: 'false' + NX_PERF_LOGGING: 'true' NX_VERBOSE_LOGGING: 'true' NX_CLOUD_DEBUG_URLS: 'true' NX_NATIVE_LOGGING: 'false' From c49e78335a23e91305b98eb23857ce8bb8f8d7c8 Mon Sep 17 00:00:00 2001 From: lourw <56288712+lourw@users.noreply.github.com> Date: Wed, 15 Jan 2025 14:11:12 -0800 Subject: [PATCH 09/19] chore(repo): turn off workspace data artifacts retrieval --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 276353af940fd..5335b53c5ebbb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -90,6 +90,7 @@ jobs: NX_CLOUD_DTE_V2: 'true' NX_CLOUD_DTE_SUMMARY: 'true' NX_CLOUD_NO_TIMEOUTS: 'true' + NX_CLOUD_SKIP_WORKSPACE_DATA_CACHE: 'true' steps: - checkout - nx/set-shas: From 13acb17f823ae5266f309694eb02f345cb79ba2b Mon Sep 17 00:00:00 2001 From: lourw <56288712+lourw@users.noreply.github.com> Date: Wed, 15 Jan 2025 14:20:49 -0800 Subject: [PATCH 10/19] chore(repo): turn off data cache --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5335b53c5ebbb..b6b81efd342d3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -90,7 +90,7 @@ jobs: NX_CLOUD_DTE_V2: 'true' NX_CLOUD_DTE_SUMMARY: 'true' NX_CLOUD_NO_TIMEOUTS: 'true' - NX_CLOUD_SKIP_WORKSPACE_DATA_CACHE: 'true' + NX_CLOUD_SKIP_WORKSPACE_DATA_CACHE: 'false' steps: - checkout - nx/set-shas: From 3ef860bc5beb1f89467cde87842fe5e6bf95d978 Mon Sep 17 00:00:00 2001 From: lourw <56288712+lourw@users.noreply.github.com> Date: Wed, 15 Jan 2025 14:33:52 -0800 Subject: [PATCH 11/19] chore(repo): add steps --- .circleci/config.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index b6b81efd342d3..b41dbfcdb0805 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -103,6 +103,12 @@ jobs: - browser-tools/install-chrome - run-pnpm-install: os: linux + - run: + name: Project Graph Cold + command: pnpm nx show projects + - run: + name: Project Graph Warm + command: pnpm nx show projects - run: name: Check Documentation command: pnpm nx documentation --no-dte From 88b31c59f086018fa09b9a28ec8042287fb09151 Mon Sep 17 00:00:00 2001 From: lourw <56288712+lourw@users.noreply.github.com> Date: Wed, 15 Jan 2025 14:52:10 -0800 Subject: [PATCH 12/19] chore(repo): enable workspace data cache --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b41dbfcdb0805..68aa9d33a64d7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -90,7 +90,7 @@ jobs: NX_CLOUD_DTE_V2: 'true' NX_CLOUD_DTE_SUMMARY: 'true' NX_CLOUD_NO_TIMEOUTS: 'true' - NX_CLOUD_SKIP_WORKSPACE_DATA_CACHE: 'false' + NX_CLOUD_SKIP_WORKSPACE_DATA_CACHE: 'true' steps: - checkout - nx/set-shas: From 12309ab559939fc0b82de5d492100ccbdf551ea3 Mon Sep 17 00:00:00 2001 From: lourw <56288712+lourw@users.noreply.github.com> Date: Wed, 15 Jan 2025 15:25:47 -0800 Subject: [PATCH 13/19] chore(repo): print file system --- .circleci/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 68aa9d33a64d7..ec5833ddb65dd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -103,6 +103,9 @@ jobs: - browser-tools/install-chrome - run-pnpm-install: os: linux + - run: + name: Print Workspace Cache + command: ls -lah ./.nx/cache/workspace-data - run: name: Project Graph Cold command: pnpm nx show projects From 9baaca002dc8f16a64712d1cf149717422a8df5f Mon Sep 17 00:00:00 2001 From: lourw <56288712+lourw@users.noreply.github.com> Date: Wed, 15 Jan 2025 15:30:31 -0800 Subject: [PATCH 14/19] chore(repo): dont ignore workspace data --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ec5833ddb65dd..a4216d3e2d982 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -90,7 +90,7 @@ jobs: NX_CLOUD_DTE_V2: 'true' NX_CLOUD_DTE_SUMMARY: 'true' NX_CLOUD_NO_TIMEOUTS: 'true' - NX_CLOUD_SKIP_WORKSPACE_DATA_CACHE: 'true' + NX_CLOUD_SKIP_WORKSPACE_DATA_CACHE: 'false' steps: - checkout - nx/set-shas: From dd893298d9c23e14a073715e1dd14a7d6ddd0252 Mon Sep 17 00:00:00 2001 From: lourw <56288712+lourw@users.noreply.github.com> Date: Wed, 15 Jan 2025 15:34:50 -0800 Subject: [PATCH 15/19] chore(repo): print cwd --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a4216d3e2d982..98d7d61f3d9d7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -105,7 +105,7 @@ jobs: os: linux - run: name: Print Workspace Cache - command: ls -lah ./.nx/cache/workspace-data + command: ls -lah . - run: name: Project Graph Cold command: pnpm nx show projects From cde8010c4ae6b35eb671bde8e98175bf7de4f568 Mon Sep 17 00:00:00 2001 From: lourw <56288712+lourw@users.noreply.github.com> Date: Wed, 15 Jan 2025 15:39:05 -0800 Subject: [PATCH 16/19] chore(repo): print before and after project graph creation --- .circleci/config.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 98d7d61f3d9d7..335155de6db08 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -84,13 +84,14 @@ jobs: NX_PERF_LOGGING: 'true' NX_VERBOSE_LOGGING: 'true' NX_CLOUD_DEBUG_URLS: 'true' - NX_NATIVE_LOGGING: 'false' + NX_NATIVE_LOGGING: 'true' NX_E2E_RUN_E2E: 'true' NX_CI_EXECUTION_ENV: 'linux' NX_CLOUD_DTE_V2: 'true' NX_CLOUD_DTE_SUMMARY: 'true' NX_CLOUD_NO_TIMEOUTS: 'true' NX_CLOUD_SKIP_WORKSPACE_DATA_CACHE: 'false' + NX_FORCE_REUSE_CACHED_GRAPH: 'true' steps: - checkout - nx/set-shas: @@ -103,12 +104,18 @@ jobs: - browser-tools/install-chrome - run-pnpm-install: os: linux + - run: + name: Print env + command: echo $NX_CACHE_PROJECT_GRAPH - run: name: Print Workspace Cache - command: ls -lah . + command: ls -lah .nx/workspace-data - run: name: Project Graph Cold command: pnpm nx show projects + - run: + name: Print Workspace Cache 2 + command: ls -lah .nx/workspace-data - run: name: Project Graph Warm command: pnpm nx show projects From 462207e7ab4b1fae3b16a466aa01da51549eb640 Mon Sep 17 00:00:00 2001 From: Louie Weng <56288712+lourw@users.noreply.github.com> Date: Fri, 17 Jan 2025 00:26:11 -0800 Subject: [PATCH 17/19] chore(repo): change flag --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 335155de6db08..b9ff9cd84bb4e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -91,7 +91,7 @@ jobs: NX_CLOUD_DTE_SUMMARY: 'true' NX_CLOUD_NO_TIMEOUTS: 'true' NX_CLOUD_SKIP_WORKSPACE_DATA_CACHE: 'false' - NX_FORCE_REUSE_CACHED_GRAPH: 'true' + NX_FORCE_REUSE_CACHED_GRAPH: 'false' steps: - checkout - nx/set-shas: From de4ed37d44d7ac4830d0a1f52edd6b89724ebba4 Mon Sep 17 00:00:00 2001 From: Louie Weng <56288712+lourw@users.noreply.github.com> Date: Fri, 17 Jan 2025 00:30:59 -0800 Subject: [PATCH 18/19] chore(repo): update again --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b9ff9cd84bb4e..335155de6db08 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -91,7 +91,7 @@ jobs: NX_CLOUD_DTE_SUMMARY: 'true' NX_CLOUD_NO_TIMEOUTS: 'true' NX_CLOUD_SKIP_WORKSPACE_DATA_CACHE: 'false' - NX_FORCE_REUSE_CACHED_GRAPH: 'false' + NX_FORCE_REUSE_CACHED_GRAPH: 'true' steps: - checkout - nx/set-shas: From f3a9b54045c50a1dc0bca63866b63cfc14bdb85b Mon Sep 17 00:00:00 2001 From: lourw <56288712+lourw@users.noreply.github.com> Date: Fri, 17 Jan 2025 00:33:08 -0800 Subject: [PATCH 19/19] chore(repo): disable workspace data cache --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 335155de6db08..0dd1e0e1c53ae 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -90,7 +90,7 @@ jobs: NX_CLOUD_DTE_V2: 'true' NX_CLOUD_DTE_SUMMARY: 'true' NX_CLOUD_NO_TIMEOUTS: 'true' - NX_CLOUD_SKIP_WORKSPACE_DATA_CACHE: 'false' + NX_CLOUD_SKIP_WORKSPACE_DATA_CACHE: 'true' NX_FORCE_REUSE_CACHED_GRAPH: 'true' steps: - checkout @@ -107,9 +107,9 @@ jobs: - run: name: Print env command: echo $NX_CACHE_PROJECT_GRAPH - - run: - name: Print Workspace Cache - command: ls -lah .nx/workspace-data +# - run: +# name: Print Workspace Cache +# command: ls -lah .nx/workspace-data - run: name: Project Graph Cold command: pnpm nx show projects