@@ -450,6 +450,7 @@ const TOOLING_SOURCE_TEST_TARGETS = new Map([
|
450 | 450 | ".github/workflows/openclaw-release-checks.yml", |
451 | 451 | ["test/scripts/package-acceptance-workflow.test.ts"], |
452 | 452 | ], |
| 453 | +["scripts/clawtributors-map.json", ["test/scripts/update-clawtributors.test.ts"]], |
453 | 454 | ["scripts/build-all.mjs", ["test/scripts/build-all.test.ts"]], |
454 | 455 | ["scripts/build-stamp.mjs", ["src/infra/build-stamp.test.ts"]], |
455 | 456 | ["scripts/crabbox-wrapper.mjs", ["test/scripts/crabbox-wrapper.test.ts"]], |
@@ -2661,6 +2662,13 @@ function isToolingScriptPath(changedPath) {
|
2661 | 2662 | return TOOLING_SCRIPT_PATH_PATTERN.test(changedPath); |
2662 | 2663 | } |
2663 | 2664 | |
| 2665 | +function resolveUpgradeSurvivorConfigRecipeTargets(changedPath) { |
| 2666 | +if (!/^scripts\/e2e\/lib\/upgrade-survivor\/config-recipe\/[^/]+\.json$/u.test(changedPath)) { |
| 2667 | +return null; |
| 2668 | +} |
| 2669 | +return ["test/scripts/upgrade-survivor-config-recipe.test.ts"]; |
| 2670 | +} |
| 2671 | + |
2664 | 2672 | function resolveParallelsToolingTestTargets(changedPath) { |
2665 | 2673 | if ( |
2666 | 2674 | !/^scripts\/e2e\/parallels\/[^/]+\.ts$/u.test(changedPath) && |
@@ -2689,6 +2697,7 @@ function resolveToolingTestTargets(changedPath, cwd = process.cwd()) {
|
2689 | 2697 | const explicitTargets = |
2690 | 2698 | TOOLING_SOURCE_TEST_TARGETS.get(changedPath) ?? |
2691 | 2699 | TOOLING_TEST_TARGETS.get(changedPath) ?? |
| 2700 | +resolveUpgradeSurvivorConfigRecipeTargets(changedPath) ?? |
2692 | 2701 | resolveParallelsToolingTestTargets(changedPath); |
2693 | 2702 | const conventionalTargets = resolveConventionalToolingTestTargets(changedPath, cwd); |
2694 | 2703 | if (explicitTargets && conventionalTargets) { |
|