From ce9769faae58cdc2badacb2232371c9fdef2de4a Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Sat, 20 Jun 2026 23:28:48 +0200 Subject: [PATCH] test(scripts): focus install package routing --- scripts/test-projects.test-support.mjs | 17 +++++++++++++++++ test/scripts/test-projects.test.ts | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/scripts/test-projects.test-support.mjs b/scripts/test-projects.test-support.mjs index f95c42621ff..d9f077c5fcd 100644 --- a/scripts/test-projects.test-support.mjs +++ b/scripts/test-projects.test-support.mjs @@ -716,6 +716,13 @@ const TOOLING_SOURCE_TEST_TARGETS = new Map([ ["test/scripts/bundled-plugin-source-utils.test.ts"], ], ["scripts/lib/dev-tooling-safety.ts", ["test/scripts/dev-tooling-safety.test.ts"]], + ["scripts/docker/cleanup-smoke/run.sh", ["test/scripts/docker-build-helper.test.ts"]], + [ + "scripts/docker/install-sh-e2e/run.sh", + ["test/scripts/docker-build-helper.test.ts", "test/scripts/test-install-sh-docker.test.ts"], + ], + ["scripts/docker/install-sh-nonroot/run.sh", ["test/scripts/test-install-sh-docker.test.ts"]], + ["scripts/docker/install-sh-smoke/run.sh", ["test/scripts/test-install-sh-docker.test.ts"]], ["scripts/lib/docker-e2e-container.sh", ["test/scripts/docker-build-helper.test.ts"]], ["scripts/lib/docker-e2e-package.sh", ["test/scripts/docker-build-helper.test.ts"]], ["scripts/lib/format-generated-module.mjs", ["test/scripts/format-generated-module.test.ts"]], @@ -761,6 +768,10 @@ const TOOLING_SOURCE_TEST_TARGETS = new Map([ "test/scripts/upgrade-survivor-config-recipe.test.ts", ], ], + [ + "scripts/lib/npm-pack-budget.mjs", + ["test/release-check.test.ts", "test/scripts/test-install-sh-docker.test.ts"], + ], ["scripts/lib/openclaw-release-clawhub-plan.ts", ["test/plugin-clawhub-release.test.ts"]], [ "scripts/lib/plugin-clawhub-release.ts", @@ -813,6 +824,7 @@ const TOOLING_SOURCE_TEST_TARGETS = new Map([ ["scripts/docker-e2e.mjs", ["test/scripts/docker-e2e-helper-cli.test.ts"]], ["scripts/docker-e2e-rerun.mjs", ["test/scripts/docker-e2e-helper-cli.test.ts"]], ["scripts/docker-e2e-timings.mjs", ["test/scripts/docker-e2e-helper-cli.test.ts"]], + ["scripts/e2e/bun-global-install-smoke.sh", ["test/scripts/test-install-sh-docker.test.ts"]], ["scripts/generate-npm-shrinkwrap.mjs", ["test/scripts/generate-npm-shrinkwrap.test.ts"]], [ "scripts/install.sh", @@ -875,6 +887,10 @@ const TOOLING_SOURCE_TEST_TARGETS = new Map([ ["scripts/test-extension-batch.mjs", ["test/scripts/test-extension.test.ts"]], ["scripts/test-force.ts", ["test/scripts/test-force.test.ts"]], ["scripts/test-live.mjs", ["test/scripts/test-live.test.ts"]], + [ + "scripts/test-install-sh-e2e-docker.sh", + ["test/scripts/docker-build-helper.test.ts", "test/scripts/test-install-sh-docker.test.ts"], + ], ["scripts/tsdown-build.mjs", ["test/scripts/tsdown-build.test.ts"]], ["scripts/verify.mjs", ["test/scripts/verify.test.ts"]], ["scripts/verify-pr-hosted-gates.mjs", ["test/scripts/verify-pr-hosted-gates.test.ts"]], @@ -1259,6 +1275,7 @@ const TOOLING_SOURCE_TEST_TARGETS = new Map([ "scripts/check-gateway-watch-regression.mjs", ["test/scripts/check-gateway-watch-regression.test.ts"], ], + ["scripts/write-package-dist-inventory.ts", ["test/scripts/test-install-sh-docker.test.ts"]], ["scripts/e2e/cron-mcp-cleanup-seed.ts", ["test/scripts/docker-e2e-seeds.test.ts"]], ["scripts/bundled-plugin-assets.mjs", ["test/scripts/bundled-plugin-assets.test.ts"]], ["scripts/bundle-a2ui.mjs", ["test/scripts/bundled-plugin-assets.test.ts"]], diff --git a/test/scripts/test-projects.test.ts b/test/scripts/test-projects.test.ts index 9f250535f52..33147291963 100644 --- a/test/scripts/test-projects.test.ts +++ b/test/scripts/test-projects.test.ts @@ -1234,6 +1234,7 @@ describe("scripts/test-projects changed-target routing", () => { ["scripts/make_appcast.sh", ["test/scripts/make-appcast.test.ts"]], ["scripts/package-mac-app.sh", ["test/scripts/package-mac-app.test.ts"]], ["scripts/package-mac-dist.sh", ["test/scripts/package-mac-dist.test.ts"]], + ["scripts/e2e/bun-global-install-smoke.sh", ["test/scripts/test-install-sh-docker.test.ts"]], [ "scripts/sparkle-build.ts", [ @@ -1244,6 +1245,10 @@ describe("scripts/test-projects changed-target routing", () => { ], ], ["scripts/package-changelog.mjs", ["test/scripts/package-changelog.test.ts"]], + [ + "scripts/test-install-sh-e2e-docker.sh", + ["test/scripts/docker-build-helper.test.ts", "test/scripts/test-install-sh-docker.test.ts"], + ], ["scripts/openclaw-prepack.ts", ["test/openclaw-prepack.test.ts"]], ["scripts/openclaw-npm-release-check.ts", ["test/openclaw-npm-release-check.test.ts"]], [ @@ -1288,6 +1293,13 @@ describe("scripts/test-projects changed-target routing", () => { ["scripts/lib/dev-tooling-safety.ts", ["test/scripts/dev-tooling-safety.test.ts"]], ["scripts/lib/npm-verify-exec.ts", ["test/scripts/npm-verify-exec.test.ts"]], ["scripts/lib/arg-utils.mjs", ["test/scripts/arg-utils.test.ts"]], + ["scripts/docker/cleanup-smoke/run.sh", ["test/scripts/docker-build-helper.test.ts"]], + [ + "scripts/docker/install-sh-e2e/run.sh", + ["test/scripts/docker-build-helper.test.ts", "test/scripts/test-install-sh-docker.test.ts"], + ], + ["scripts/docker/install-sh-nonroot/run.sh", ["test/scripts/test-install-sh-docker.test.ts"]], + ["scripts/docker/install-sh-smoke/run.sh", ["test/scripts/test-install-sh-docker.test.ts"]], [ "scripts/lib/package-dist-imports.mjs", [ @@ -1320,6 +1332,10 @@ describe("scripts/test-projects changed-target routing", () => { "test/scripts/upgrade-survivor-config-recipe.test.ts", ], ], + [ + "scripts/lib/npm-pack-budget.mjs", + ["test/release-check.test.ts", "test/scripts/test-install-sh-docker.test.ts"], + ], ["scripts/lib/openclaw-release-clawhub-plan.ts", ["test/plugin-clawhub-release.test.ts"]], [ "scripts/lib/plugin-clawhub-release.ts", @@ -1332,6 +1348,7 @@ describe("scripts/test-projects changed-target routing", () => { ["scripts/lib/test-group-report.mjs", ["test/scripts/test-group-report.test.ts"]], ["scripts/lib/stable-release-closeout.mjs", ["test/stable-release-closeout.test.ts"]], ["scripts/lib/ts-guard-utils.mjs", ["test/scripts/ts-guard-utils.test.ts"]], + ["scripts/write-package-dist-inventory.ts", ["test/scripts/test-install-sh-docker.test.ts"]], ["scripts/lib/format-generated-module.mjs", ["test/scripts/format-generated-module.test.ts"]], [ "scripts/lib/bundled-plugin-source-utils.mjs",