From 27a137797974b818455cc34ef85fb50584f80373 Mon Sep 17 00:00:00 2001 From: Zahin Mohammad Date: Thu, 27 Aug 2026 20:44:59 +0000 Subject: [PATCH 1/2] fix(root): include private package in changed tests Pass Lerna's include-private option to unit-test-changed so test-only changes in the private bitgo package still execute its unit tests in CI. Ticket: WAL-1960 Session-Id: 799fc58c-8d9f-42aa-8234-bf06ce67adb4 Task-Id: 4826aa42-2223-4662-80cf-e0c3acd613b2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b8dd29dff4..12cfdb71ba 100644 --- a/package.json +++ b/package.json @@ -290,7 +290,7 @@ "postinstall": "test -n \"$NOYARNPOSTINSTALL\" || lerna run build --stream", "lint": "lerna run lint --stream", "lint-changed": "lerna run lint --since origin/${GITHUB_REPO_BRANCH:-master}..HEAD --stream", - "unit-test-changed": "lerna run unit-test --since $(git merge-base HEAD~ origin/${GITHUB_REPO_BRANCH:-master}) --stream", + "unit-test-changed": "lerna run unit-test --since $(git merge-base HEAD~ origin/${GITHUB_REPO_BRANCH:-master}) --include-private --stream", "browser-tests": "lerna run --scope bitgo compile-test && lerna run --scope bitgo browser-test && lerna run --scope @bitgo/web-demo test", "gen-coverage-changed": "lerna run gen-coverage --since origin/${GITHUB_REPO_BRANCH:-master}..HEAD --stream --parallel", "coverage-changed": "lerna run upload-coverage --since origin/${GITHUB_REPO_BRANCH:-master}..HEAD --stream --parallel --", From d087f5a0b2028b764235b9f4c5bc3de37fdb5dd0 Mon Sep 17 00:00:00 2001 From: Zahin Mohammad Date: Thu, 27 Aug 2026 22:08:22 +0000 Subject: [PATCH 2/2] fix(root): run private package changed tests Use Lerna's supported private filter for the changed-test command so test-only changes in the private bitgo package are selected and executed in CI. Ticket: WAL-1960 Session-Id: 799fc58c-8d9f-42aa-8234-bf06ce67adb4 Task-Id: 4826aa42-2223-4662-80cf-e0c3acd613b2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 12cfdb71ba..523206fb60 100644 --- a/package.json +++ b/package.json @@ -290,7 +290,7 @@ "postinstall": "test -n \"$NOYARNPOSTINSTALL\" || lerna run build --stream", "lint": "lerna run lint --stream", "lint-changed": "lerna run lint --since origin/${GITHUB_REPO_BRANCH:-master}..HEAD --stream", - "unit-test-changed": "lerna run unit-test --since $(git merge-base HEAD~ origin/${GITHUB_REPO_BRANCH:-master}) --include-private --stream", + "unit-test-changed": "lerna run unit-test --since $(git merge-base HEAD~ origin/${GITHUB_REPO_BRANCH:-master}) --private --stream", "browser-tests": "lerna run --scope bitgo compile-test && lerna run --scope bitgo browser-test && lerna run --scope @bitgo/web-demo test", "gen-coverage-changed": "lerna run gen-coverage --since origin/${GITHUB_REPO_BRANCH:-master}..HEAD --stream --parallel", "coverage-changed": "lerna run upload-coverage --since origin/${GITHUB_REPO_BRANCH:-master}..HEAD --stream --parallel --",