nx 21.2.0-canary.20250528-2572455 → 21.2.0-canary.20250529-c8a6ffb

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nx",
3
- "version": "21.2.0-canary.20250528-2572455",
3
+ "version": "21.2.0-canary.20250529-c8a6ffb",
4
4
  "private": false,
5
5
  "description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.",
6
6
  "repository": {
@@ -83,16 +83,16 @@
83
83
  }
84
84
  },
85
85
  "optionalDependencies": {
86
- "@nx/nx-darwin-arm64": "21.2.0-canary.20250528-2572455",
87
- "@nx/nx-darwin-x64": "21.2.0-canary.20250528-2572455",
88
- "@nx/nx-freebsd-x64": "21.2.0-canary.20250528-2572455",
89
- "@nx/nx-linux-arm-gnueabihf": "21.2.0-canary.20250528-2572455",
90
- "@nx/nx-linux-arm64-gnu": "21.2.0-canary.20250528-2572455",
91
- "@nx/nx-linux-arm64-musl": "21.2.0-canary.20250528-2572455",
92
- "@nx/nx-linux-x64-gnu": "21.2.0-canary.20250528-2572455",
93
- "@nx/nx-linux-x64-musl": "21.2.0-canary.20250528-2572455",
94
- "@nx/nx-win32-arm64-msvc": "21.2.0-canary.20250528-2572455",
95
- "@nx/nx-win32-x64-msvc": "21.2.0-canary.20250528-2572455"
86
+ "@nx/nx-darwin-arm64": "21.2.0-canary.20250529-c8a6ffb",
87
+ "@nx/nx-darwin-x64": "21.2.0-canary.20250529-c8a6ffb",
88
+ "@nx/nx-freebsd-x64": "21.2.0-canary.20250529-c8a6ffb",
89
+ "@nx/nx-linux-arm-gnueabihf": "21.2.0-canary.20250529-c8a6ffb",
90
+ "@nx/nx-linux-arm64-gnu": "21.2.0-canary.20250529-c8a6ffb",
91
+ "@nx/nx-linux-arm64-musl": "21.2.0-canary.20250529-c8a6ffb",
92
+ "@nx/nx-linux-x64-gnu": "21.2.0-canary.20250529-c8a6ffb",
93
+ "@nx/nx-linux-x64-musl": "21.2.0-canary.20250529-c8a6ffb",
94
+ "@nx/nx-win32-arm64-msvc": "21.2.0-canary.20250529-c8a6ffb",
95
+ "@nx/nx-win32-x64-msvc": "21.2.0-canary.20250529-c8a6ffb"
96
96
  },
97
97
  "nx-migrations": {
98
98
  "migrations": "./migrations.json",
Binary file
@@ -772,6 +772,17 @@ function getRunner(nxArgs, nxJson) {
772
772
  }
773
773
  const defaultTasksRunnerPath = require.resolve('./default-tasks-runner');
774
774
  function getTasksRunnerPath(runner, nxJson) {
775
+ // If running inside of Codex, there will be no internet access, so we cannot use the cloud runner, regardless of other config.
776
+ // We can infer this scenario by checking for certain environment variables defined in their base image: https://github.com/openai/codex-universal
777
+ if (process.env.CODEX_ENV_NODE_VERSION) {
778
+ output_1.output.warn({
779
+ title: 'Codex environment detected, using default tasks runner',
780
+ bodyLines: [
781
+ 'Codex does not have internet access when it runs tasks, so Nx will use the default tasks runner and only leverage local caching.',
782
+ ],
783
+ });
784
+ return defaultTasksRunnerPath;
785
+ }
775
786
  const isCloudRunner =
776
787
  // No tasksRunnerOptions for given --runner
777
788
  nxJson.nxCloudAccessToken ||