From 388534802c0bd7fe22b6c6e8ce12daf4c4a4fe0f Mon Sep 17 00:00:00 2001 From: can1357 Date: Thu, 2 Jul 2026 02:40:07 +0200 Subject: [PATCH] chore(repo): corrected invalid test script paths in ci configuration - Replaced the non-existent `ci-test-ts.test.ts` with the active `link-omp.test.ts` in `package.json` and `ci-test-ts.ts`. - Documented that the invalid test path was previously ignored silently by the bun test runner. --- package.json | 2 +- scripts/ci-test-ts.ts | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index a1afd0af2..9cee1c9e3 100644 --- a/package.json +++ b/package.json @@ -107,7 +107,7 @@ "build:native": "bun --cwd=packages/natives run build", "test": "bun scripts/ci-test-ts.ts local", "test:ts": "bun scripts/ci-test-ts.ts local-ts", - "test:scripts": "bun test scripts/ci-concurrency.test.ts scripts/ci-release-notes.test.ts scripts/ci-test-ts.test.ts", + "test:scripts": "bun test scripts/ci-concurrency.test.ts scripts/ci-release-notes.test.ts scripts/link-omp.test.ts", "test:rs": "bun scripts/run-rs-task.ts test:rs", "check": "bun run --parallel check:ts check:rs", "check:ts": "bun run check:tools && bun run --workspaces --if-present check", diff --git a/scripts/ci-test-ts.ts b/scripts/ci-test-ts.ts index a7e882eb4..a71eb2dce 100755 --- a/scripts/ci-test-ts.ts +++ b/scripts/ci-test-ts.ts @@ -105,11 +105,13 @@ const localOnlyWorkspacePackages = ["packages/mnemopi", "python/robomp/web"]; // Repo-level script tests. CI's `workspace` bucket only runs the concurrency // regression (it's the GHA-config guard that must gate merges); a local full run -// also exercises the release-notes and runner-output tests. +// also exercises the release-notes and link-omp tests. (A `ci-test-ts.test.ts` +// entry used to sit here but the file never existed — bun silently ignores +// unmatched filters when at least one other filter matches.) const repoScriptTests = [ "scripts/ci-concurrency.test.ts", "scripts/ci-release-notes.test.ts", - "scripts/ci-test-ts.test.ts", + "scripts/link-omp.test.ts", ]; const codingAgentNativePathPatterns = [