From a85afb4cd1177549aba706b15e7e6d8232b99567 Mon Sep 17 00:00:00 2001 From: Alan Agius <17563226+alan-agius4@users.noreply.github.com> Date: Tue, 28 Apr 2026 09:47:46 +0000 Subject: [PATCH] refactor: remove undici dependency across github actions and local actions This dependency is not needed. --- .../local-actions/branch-manager/BUILD.bazel | 1 - .../local-actions/branch-manager/package.json | 3 +- .github/local-actions/labels-sync/BUILD.bazel | 1 - .../local-actions/labels-sync/package.json | 3 +- .github/local-actions/lock-closed/BUILD.bazel | 1 - .../local-actions/lock-closed/package.json | 3 +- github-actions/branch-manager/BUILD.bazel | 1 - github-actions/branch-manager/package.json | 3 +- .../google-internal-tests/BUILD.bazel | 1 - .../google-internal-tests/package.json | 3 +- github-actions/labeling/package.json | 1 - .../labeling/pull-request/BUILD.bazel | 1 - github-actions/org-file-sync/BUILD.bazel | 1 - github-actions/org-file-sync/package.json | 3 +- .../post-approval-changes/BUILD.bazel | 1 - .../post-approval-changes/package.json | 3 +- .../unified-status-check/BUILD.bazel | 1 - .../unified-status-check/package.json | 3 +- pnpm-lock.yaml | 33 ------------------- 19 files changed, 8 insertions(+), 59 deletions(-) diff --git a/.github/local-actions/branch-manager/BUILD.bazel b/.github/local-actions/branch-manager/BUILD.bazel index e1400a48b3..7a1bb47cae 100644 --- a/.github/local-actions/branch-manager/BUILD.bazel +++ b/.github/local-actions/branch-manager/BUILD.bazel @@ -15,7 +15,6 @@ ts_project( "//.github/local-actions/branch-manager:node_modules/@octokit/rest", "//.github/local-actions/branch-manager:node_modules/@types/node", "//.github/local-actions/branch-manager:node_modules/typed-graphqlify", - "//.github/local-actions/branch-manager:node_modules/undici", "//github-actions:utils", "//ng-dev/pr/common", "//ng-dev/pr/common/labels", diff --git a/.github/local-actions/branch-manager/package.json b/.github/local-actions/branch-manager/package.json index 6f2e1cbe2d..28b26a8515 100644 --- a/.github/local-actions/branch-manager/package.json +++ b/.github/local-actions/branch-manager/package.json @@ -4,7 +4,6 @@ "@actions/github": "9.1.1", "@octokit/rest": "22.0.1", "@types/node": "24.12.2", - "typed-graphqlify": "3.1.6", - "undici": "8.1.0" + "typed-graphqlify": "3.1.6" } } diff --git a/.github/local-actions/labels-sync/BUILD.bazel b/.github/local-actions/labels-sync/BUILD.bazel index beb28dea61..0708881ad3 100644 --- a/.github/local-actions/labels-sync/BUILD.bazel +++ b/.github/local-actions/labels-sync/BUILD.bazel @@ -15,7 +15,6 @@ ts_project( "//.github/local-actions/labels-sync:node_modules/@octokit/rest", "//.github/local-actions/labels-sync:node_modules/@octokit/types", "//.github/local-actions/labels-sync:node_modules/@types/node", - "//.github/local-actions/labels-sync:node_modules/undici", "//github-actions:utils", "//ng-dev/pr/common/labels", ], diff --git a/.github/local-actions/labels-sync/package.json b/.github/local-actions/labels-sync/package.json index 4786f56c9e..322ede9a74 100644 --- a/.github/local-actions/labels-sync/package.json +++ b/.github/local-actions/labels-sync/package.json @@ -4,7 +4,6 @@ "@actions/github": "9.1.1", "@octokit/rest": "22.0.1", "@octokit/types": "16.0.0", - "@types/node": "24.12.2", - "undici": "8.1.0" + "@types/node": "24.12.2" } } diff --git a/.github/local-actions/lock-closed/BUILD.bazel b/.github/local-actions/lock-closed/BUILD.bazel index 3844d815dc..d61e9b4ef0 100644 --- a/.github/local-actions/lock-closed/BUILD.bazel +++ b/.github/local-actions/lock-closed/BUILD.bazel @@ -14,7 +14,6 @@ ts_project( "//.github/local-actions/lock-closed:node_modules/@actions/github", "//.github/local-actions/lock-closed:node_modules/@octokit/rest", "//.github/local-actions/lock-closed:node_modules/@types/node", - "//.github/local-actions/lock-closed:node_modules/undici", "//github-actions:utils", ], ) diff --git a/.github/local-actions/lock-closed/package.json b/.github/local-actions/lock-closed/package.json index 4786f56c9e..322ede9a74 100644 --- a/.github/local-actions/lock-closed/package.json +++ b/.github/local-actions/lock-closed/package.json @@ -4,7 +4,6 @@ "@actions/github": "9.1.1", "@octokit/rest": "22.0.1", "@octokit/types": "16.0.0", - "@types/node": "24.12.2", - "undici": "8.1.0" + "@types/node": "24.12.2" } } diff --git a/github-actions/branch-manager/BUILD.bazel b/github-actions/branch-manager/BUILD.bazel index 202dee3744..77a7d34731 100644 --- a/github-actions/branch-manager/BUILD.bazel +++ b/github-actions/branch-manager/BUILD.bazel @@ -16,7 +16,6 @@ ts_project( ":node_modules/@octokit/webhooks-types", ":node_modules/@types/node", ":node_modules/typed-graphqlify", - ":node_modules/undici", "//github-actions:utils", "//ng-dev/pr/common/labels", ], diff --git a/github-actions/branch-manager/package.json b/github-actions/branch-manager/package.json index 904ee084a2..e5b9b3ccdb 100644 --- a/github-actions/branch-manager/package.json +++ b/github-actions/branch-manager/package.json @@ -6,7 +6,6 @@ "@octokit/rest": "22.0.1", "@octokit/webhooks-types": "7.6.1", "@types/node": "24.12.2", - "typed-graphqlify": "3.1.6", - "undici": "8.1.0" + "typed-graphqlify": "3.1.6" } } diff --git a/github-actions/google-internal-tests/BUILD.bazel b/github-actions/google-internal-tests/BUILD.bazel index af80da31df..1741c5669c 100644 --- a/github-actions/google-internal-tests/BUILD.bazel +++ b/github-actions/google-internal-tests/BUILD.bazel @@ -14,7 +14,6 @@ ts_project( ":node_modules/@actions/github", ":node_modules/@octokit/rest", ":node_modules/@types/node", - ":node_modules/undici", "//ng-dev/utils:g3_sync_config", ], ) diff --git a/github-actions/google-internal-tests/package.json b/github-actions/google-internal-tests/package.json index f36d693382..1a52c64496 100644 --- a/github-actions/google-internal-tests/package.json +++ b/github-actions/google-internal-tests/package.json @@ -5,7 +5,6 @@ "@actions/github": "9.1.1", "@octokit/rest": "22.0.1", "@types/node": "24.12.2", - "typed-graphqlify": "3.1.6", - "undici": "8.1.0" + "typed-graphqlify": "3.1.6" } } diff --git a/github-actions/labeling/package.json b/github-actions/labeling/package.json index f2fed2f28a..01e70a18e7 100644 --- a/github-actions/labeling/package.json +++ b/github-actions/labeling/package.json @@ -10,7 +10,6 @@ "@types/node": "24.12.2", "micromatch": "^4.0.8", "typed-graphqlify": "3.1.6", - "undici": "8.1.0", "@octokit/openapi-types": "27.0.0", "jasmine": "6.2.0" } diff --git a/github-actions/labeling/pull-request/BUILD.bazel b/github-actions/labeling/pull-request/BUILD.bazel index 5685207d4d..c57e5065d4 100644 --- a/github-actions/labeling/pull-request/BUILD.bazel +++ b/github-actions/labeling/pull-request/BUILD.bazel @@ -17,7 +17,6 @@ ts_project( "//github-actions/labeling:node_modules/@types/micromatch", "//github-actions/labeling:node_modules/@types/node", "//github-actions/labeling:node_modules/micromatch", - "//github-actions/labeling:node_modules/undici", "//github-actions/labeling/shared", "//ng-dev/commit-message", "//ng-dev/pr/common/labels", diff --git a/github-actions/org-file-sync/BUILD.bazel b/github-actions/org-file-sync/BUILD.bazel index 39ece3fe3f..560f1dd9f9 100644 --- a/github-actions/org-file-sync/BUILD.bazel +++ b/github-actions/org-file-sync/BUILD.bazel @@ -15,7 +15,6 @@ ts_project( ":node_modules/@octokit/rest", ":node_modules/@octokit/types", ":node_modules/@types/node", - ":node_modules/undici", "//github-actions:utils", ], ) diff --git a/github-actions/org-file-sync/package.json b/github-actions/org-file-sync/package.json index 613bc323b9..a996faacdd 100644 --- a/github-actions/org-file-sync/package.json +++ b/github-actions/org-file-sync/package.json @@ -6,7 +6,6 @@ "@octokit/rest": "22.0.1", "@octokit/types": "16.0.0", "@types/node": "24.12.2", - "typed-graphqlify": "3.1.6", - "undici": "8.1.0" + "typed-graphqlify": "3.1.6" } } diff --git a/github-actions/post-approval-changes/BUILD.bazel b/github-actions/post-approval-changes/BUILD.bazel index bcbd581514..fc3f14fed3 100644 --- a/github-actions/post-approval-changes/BUILD.bazel +++ b/github-actions/post-approval-changes/BUILD.bazel @@ -15,7 +15,6 @@ ts_project( ":node_modules/@octokit/rest", ":node_modules/@octokit/webhooks-types", ":node_modules/@types/node", - ":node_modules/undici", "//github-actions:utils", ], ) diff --git a/github-actions/post-approval-changes/package.json b/github-actions/post-approval-changes/package.json index 904ee084a2..e5b9b3ccdb 100644 --- a/github-actions/post-approval-changes/package.json +++ b/github-actions/post-approval-changes/package.json @@ -6,7 +6,6 @@ "@octokit/rest": "22.0.1", "@octokit/webhooks-types": "7.6.1", "@types/node": "24.12.2", - "typed-graphqlify": "3.1.6", - "undici": "8.1.0" + "typed-graphqlify": "3.1.6" } } diff --git a/github-actions/unified-status-check/BUILD.bazel b/github-actions/unified-status-check/BUILD.bazel index 4c33b4a37f..4a5be28a2d 100644 --- a/github-actions/unified-status-check/BUILD.bazel +++ b/github-actions/unified-status-check/BUILD.bazel @@ -17,7 +17,6 @@ ts_project( ":node_modules/@octokit/types", ":node_modules/@types/node", ":node_modules/typed-graphqlify", - ":node_modules/undici", "//github-actions:utils", "//ng-dev/pr/common/labels", ], diff --git a/github-actions/unified-status-check/package.json b/github-actions/unified-status-check/package.json index 884ae62a50..43a49c0864 100644 --- a/github-actions/unified-status-check/package.json +++ b/github-actions/unified-status-check/package.json @@ -7,7 +7,6 @@ "@octokit/rest": "22.0.1", "@octokit/types": "16.0.0", "@types/node": "24.12.2", - "typed-graphqlify": "3.1.6", - "undici": "8.1.0" + "typed-graphqlify": "3.1.6" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a8bd5be84e..8bbbdaa5bb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -74,9 +74,6 @@ importers: typed-graphqlify: specifier: 3.1.6 version: 3.1.6 - undici: - specifier: 8.1.0 - version: 8.1.0 .github/local-actions/labels-sync: dependencies: @@ -95,9 +92,6 @@ importers: '@types/node': specifier: 24.12.2 version: 24.12.2 - undici: - specifier: 8.1.0 - version: 8.1.0 .github/local-actions/lock-closed: dependencies: @@ -116,9 +110,6 @@ importers: '@types/node': specifier: 24.12.2 version: 24.12.2 - undici: - specifier: 8.1.0 - version: 8.1.0 .github/local-actions/stale-cleanup: dependencies: @@ -365,9 +356,6 @@ importers: typed-graphqlify: specifier: 3.1.6 version: 3.1.6 - undici: - specifier: 8.1.0 - version: 8.1.0 github-actions/browserstack: dependencies: @@ -395,9 +383,6 @@ importers: typed-graphqlify: specifier: 3.1.6 version: 3.1.6 - undici: - specifier: 8.1.0 - version: 8.1.0 github-actions/labeling: dependencies: @@ -434,9 +419,6 @@ importers: typed-graphqlify: specifier: 3.1.6 version: 3.1.6 - undici: - specifier: 8.1.0 - version: 8.1.0 github-actions/org-file-sync: dependencies: @@ -458,9 +440,6 @@ importers: typed-graphqlify: specifier: 3.1.6 version: 3.1.6 - undici: - specifier: 8.1.0 - version: 8.1.0 github-actions/post-approval-changes: dependencies: @@ -482,9 +461,6 @@ importers: typed-graphqlify: specifier: 3.1.6 version: 3.1.6 - undici: - specifier: 8.1.0 - version: 8.1.0 github-actions/previews/pack-and-upload-artifact: dependencies: @@ -536,9 +512,6 @@ importers: typed-graphqlify: specifier: 3.1.6 version: 3.1.6 - undici: - specifier: 8.1.0 - version: 8.1.0 ng-dev: dependencies: @@ -5818,10 +5791,6 @@ packages: resolution: {integrity: sha512-xXnp4kTyor2Zq+J1FfPI6Eq3ew5h6Vl0F/8d9XU5zZQf1tX9s2Su1/3PiMmUANFULpmksxkClamIZcaUqryHsQ==} engines: {node: '>=20.18.1'} - undici@8.1.0: - resolution: {integrity: sha512-E9MkTS4xXLnRPYqxH2e6Hr2/49e7WFDKczKcCaFH4VaZs2iNvHMqeIkyUAD9vM8kujy9TjVrRlQ5KkdEJxB2pw==} - engines: {node: '>=22.19.0'} - unicode-emoji-modifier-base@1.0.0: resolution: {integrity: sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==} engines: {node: '>=4'} @@ -11984,8 +11953,6 @@ snapshots: undici@7.25.0: {} - undici@8.1.0: {} - unicode-emoji-modifier-base@1.0.0: {} unique-string@2.0.0: