Commit 4881b5bf214 for woocommerce

commit 4881b5bf2149cbfd97095cdd884f4321772b0e16
Author: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com>
Date:   Mon Jun 8 17:16:45 2026 +0200

    Remove Buildkite analytics reporting from CI (#65542)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4f366168cb9..9e6a0534775 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -189,21 +189,6 @@ jobs:
         if: ${{ matrix.testEnv.shouldCreate }}
         run: pnpm --filter="${{ matrix.projectName }}" ${{ matrix.testEnv.start }}

-      - name: 'Determine BuildKite Analytics Message'
-        env:
-          HEAD_COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
-          PR_TITLE: ${{ github.event.pull_request.title }}
-        run: |
-          if [[ "${{ github.event_name }}" == "push" ]]; then
-            MESSAGE=`echo "$HEAD_COMMIT_MESSAGE" | head -1`
-          elif [[ "${{ github.event_name }}" == "pull_request" ]]; then
-            MESSAGE="$PR_TITLE"
-          else
-            MESSAGE="${{ github.event_name }}"
-          fi
-          echo "BUILDKITE_ANALYTICS_MESSAGE=$MESSAGE" >> "$GITHUB_ENV"
-        shell: bash
-
       - name: 'Resolve artifacts path'
         if: ${{ always() && matrix.report.resultsPath != '' }}
         # Blocks e2e use a relative path which is not supported by actions/upload-artifact@v4
@@ -226,7 +211,6 @@ jobs:
         timeout-minutes: ${{ ( github.event_name == 'pull_request' && ( ( matrix.testType == 'e2e' && 20 ) || ( matrix.testType == 'unit:php' && 15 ) ) ) || 360 }}
         env:
           E2E_ENV_KEY: ${{ secrets.E2E_ENV_KEY }}
-          BUILDKITE_ANALYTICS_TOKEN: ${{ secrets.BUILDKITE_CORE_E2E_TOKEN }}
           CODEVITALS_PROJECT_TOKEN: ${{ secrets.CODEVITALS_PROJECT_TOKEN }} # required by Metrics tests
           LAST_FAILED_RUN: ${{ vars.LAST_FAILED_RUN }}
           GITHUB_BASE_SHA: ${{ github.event.pull_request.base.sha }}
diff --git a/plugins/woocommerce/changelog/remove-buildkite-analytics-ci b/plugins/woocommerce/changelog/remove-buildkite-analytics-ci
new file mode 100644
index 00000000000..4f73f5cc6c2
--- /dev/null
+++ b/plugins/woocommerce/changelog/remove-buildkite-analytics-ci
@@ -0,0 +1,4 @@
+Significance: patch
+Type: dev
+
+
diff --git a/plugins/woocommerce/client/blocks/package.json b/plugins/woocommerce/client/blocks/package.json
index 9527a8fe23a..05e8c79650b 100644
--- a/plugins/woocommerce/client/blocks/package.json
+++ b/plugins/woocommerce/client/blocks/package.json
@@ -185,7 +185,6 @@
 		"babel-jest": "29.5.x",
 		"babel-plugin-react-docgen": "4.2.1",
 		"babel-plugin-transform-react-remove-prop-types": "0.4.24",
-		"buildkite-test-collector": "^1.7.1",
 		"chalk": "4.1.2",
 		"circular-dependency-plugin": "5.2.x",
 		"copy-webpack-plugin": "13.0.x",
diff --git a/plugins/woocommerce/client/blocks/tests/e2e/playwright.config.ts b/plugins/woocommerce/client/blocks/tests/e2e/playwright.config.ts
index 9488d357317..2b2a0b10abd 100644
--- a/plugins/woocommerce/client/blocks/tests/e2e/playwright.config.ts
+++ b/plugins/woocommerce/client/blocks/tests/e2e/playwright.config.ts
@@ -29,7 +29,6 @@ const config: PlaywrightTestConfig = {
 						outputFolder: `${ __dirname }/artifacts/test-results/allure-results`,
 					},
 				],
-				[ 'buildkite-test-collector/playwright/reporter' ],
 				[
 					'junit',
 					{
diff --git a/plugins/woocommerce/package.json b/plugins/woocommerce/package.json
index 8ef1668cb1c..b262aa3ddb2 100644
--- a/plugins/woocommerce/package.json
+++ b/plugins/woocommerce/package.json
@@ -940,7 +940,6 @@
 		"allure-playwright": "^3.1.0",
 		"autoprefixer": "9.8.6",
 		"axios": "^0.24.0",
-		"buildkite-test-collector": "^1.7.1",
 		"config": "3.3.7",
 		"dotenv": "^10.0.0",
 		"eslint": "^8.55.0",
diff --git a/plugins/woocommerce/tests/e2e-pw/playwright.config.ts b/plugins/woocommerce/tests/e2e-pw/playwright.config.ts
index d5f6b7b2b9e..3955e0da964 100644
--- a/plugins/woocommerce/tests/e2e-pw/playwright.config.ts
+++ b/plugins/woocommerce/tests/e2e-pw/playwright.config.ts
@@ -58,7 +58,6 @@ const reporter = [
 ];

 if ( process.env.CI ) {
-	reporter.push( [ 'buildkite-test-collector/playwright/reporter' ] );
 	reporter.push( [ `${ TESTS_ROOT_PATH }/reporters/skipped-tests.ts` ] );
 	reporter.push( [
 		'junit',
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index cbeeb34119c..a4154b264a6 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -2631,9 +2631,6 @@ importers:
       axios:
         specifier: ^0.24.0
         version: 0.24.0
-      buildkite-test-collector:
-        specifier: ^1.7.1
-        version: 1.9.5
       config:
         specifier: 3.3.7
         version: 3.3.7
@@ -3714,9 +3711,6 @@ importers:
       babel-plugin-transform-react-remove-prop-types:
         specifier: 0.4.24
         version: 0.4.24
-      buildkite-test-collector:
-        specifier: ^1.7.1
-        version: 1.9.5
       chalk:
         specifier: 4.1.2
         version: 4.1.2
@@ -12608,10 +12602,6 @@ packages:
   buffer@6.0.3:
     resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==}

-  buildkite-test-collector@1.9.5:
-    resolution: {integrity: sha512-xb1jLDKDEAI/FfJ2X/br2SfJviI7kH5PqPLn1PC5F+XRA95d0IxN7EcUH6PsEt21nZmmXFohyl4JpWRz8cCAeg==}
-    engines: {npm: '>=7.0.0'}
-
   builtin-status-codes@3.0.0:
     resolution: {integrity: sha512-HpGFw18DgFWlncDfjTa2rcQ4W88O1mC8e8yZ2AvQY5KDaktSTwo+KRf6nHK6FRI5FyRyb/5T6+TSxfP7QyGsmQ==}

@@ -18440,9 +18430,6 @@ packages:
   moment@2.30.1:
     resolution: {integrity: sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==}

-  monkeypatch@1.0.0:
-    resolution: {integrity: sha512-6tG0IrCUUIBuAspnbdmOAd+D/AptB/ya9JLujp88NIAuFuTGdGvCKtDkc6pwNOcIJ6nKLm3FjJlaCdx8vr3r2w==}
-
   moo@0.5.3:
     resolution: {integrity: sha512-m2fmM2dDm7GZQsY7KK2cme8agi+AAljILjQnof7p1ZMDe6dQ4bdnSMx0cPppudoeNv5hEFQirN6u+O4fDE0IWA==}

@@ -20919,9 +20906,6 @@ packages:
     peerDependencies:
       request: ^2.34

-  request-spy@0.0.10:
-    resolution: {integrity: sha512-va+4vLamK9Pwu/WJnJrQcTjCjYdIcl0KDKOKEkfvNmer4f+K+OhgbpU4DCiPyzBGnTpYXbrVLrnD8O5fS/cmKA==}
-
   request@2.88.2:
     resolution: {integrity: sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==}
     engines: {node: '>= 6'}
@@ -39579,16 +39563,6 @@ snapshots:
       base64-js: 1.5.1
       ieee754: 1.2.1

-  buildkite-test-collector@1.9.5:
-    dependencies:
-      axios: 1.15.0
-      dotenv: 16.6.1
-      request-spy: 0.0.10
-      strip-ansi: 6.0.1
-      uuid: 8.3.2
-    transitivePeerDependencies:
-      - debug
-
   builtin-status-codes@3.0.0: {}

   builtins@1.0.3: {}
@@ -47474,8 +47448,6 @@ snapshots:

   moment@2.30.1: {}

-  monkeypatch@1.0.0: {}
-
   moo@0.5.3: {}

   motion-dom@11.18.1:
@@ -50528,10 +50500,6 @@ snapshots:
       stealthy-require: 1.1.1
       tough-cookie: 2.5.0

-  request-spy@0.0.10:
-    dependencies:
-      monkeypatch: 1.0.0
-
   request@2.88.2:
     dependencies:
       aws-sign2: 0.7.0