diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 05b2c1d49ef50..411e78251e4a4 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -63,11 +63,8 @@ jobs: node-version: [22.x] # Don't forget to update build-native-release python-version: [3.11] - transpile-worker-threads: [false, true] fail-fast: false - env: - CUBEJS_TRANSPILATION_WORKER_THREADS: ${{ matrix.transpile-worker-threads }} steps: - id: get-tag-out run: echo "$OUT" @@ -121,16 +118,16 @@ jobs: - name: Lerna test run: yarn lerna run --concurrency 1 --stream --no-prefix unit - name: Fix lcov paths - if: (matrix.node-version == '22.x' && matrix.transpile-worker-threads == true) + if: (matrix.node-version == '22.x') run: | ./.github/actions/codecov-fix.sh - name: Combine all fixed LCOV files - if: (matrix.node-version == '22.x' && matrix.transpile-worker-threads == true) + if: (matrix.node-version == '22.x') run: | echo "" > ./combined-unit.lcov find ./packages -type f -name lcov.fixed.info -exec cat {} + >> ./combined-unit.lcov || true - name: Upload coverage artifact - if: (matrix.node-version == '22.x' && matrix.transpile-worker-threads == true) + if: (matrix.node-version == '22.x') uses: actions/upload-artifact@v4 with: name: coverage-unit diff --git a/docs/pages/product/configuration/reference/environment-variables.mdx b/docs/pages/product/configuration/reference/environment-variables.mdx index be8295c305d9d..d0c5198adb777 100644 --- a/docs/pages/product/configuration/reference/environment-variables.mdx +++ b/docs/pages/product/configuration/reference/environment-variables.mdx @@ -1405,7 +1405,7 @@ code in worker threads. | Possible Values | Default in Development | Default in Production | | --------------- | ---------------------- | --------------------- | -| `true`, `false` | `false` | `false` | +| `true`, `false` | `true` | `true` | diff --git a/packages/cubejs-backend-shared/src/env.ts b/packages/cubejs-backend-shared/src/env.ts index 8491e3d7b5b81..ae5952f726af9 100644 --- a/packages/cubejs-backend-shared/src/env.ts +++ b/packages/cubejs-backend-shared/src/env.ts @@ -229,7 +229,7 @@ const variables: Record any> = { .default('true') .asBoolStrict(), transpilationWorkerThreads: () => get('CUBEJS_TRANSPILATION_WORKER_THREADS') - .default('false') + .default('true') .asBoolStrict(), allowNonStrictDateRangeMatching: () => get('CUBEJS_PRE_AGGREGATIONS_ALLOW_NON_STRICT_DATE_RANGE_MATCH') .default('true')