chore: organized test scripts in CI workspace and package configuration

- Added scripts/fix-dts-extensions.test.ts to the test:scripts npm script.
- Included the .d.ts extension rewrite test in the CI workspace test suite.
- Updated repoScriptTests list in scripts/ci-test-ts.ts to ensure consistent tracking.
This commit is contained in:
can1357
2026-07-05 15:57:24 +02:00
parent 302f1c3beb
commit 336e1edf7a
3 changed files with 20 additions and 7 deletions
+1 -1
View File
@@ -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/link-omp.test.ts",
"test:scripts": "bun test scripts/ci-concurrency.test.ts scripts/ci-release-notes.test.ts scripts/fix-dts-extensions.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",
+4
View File
@@ -2,6 +2,10 @@
## [Unreleased]
### Added
- Added `classifyJsonPrefix`, a strict RFC 8259 streaming-buffer classifier (`"complete" | "prefix" | "invalid"`). Providers use it to disambiguate identifierless streaming tool-call deltas: a `{`-prefixed chunk only advances to a sibling call when the current argument buffer cannot absorb it.
## [16.3.1] - 2026-07-02
### Fixed
+15 -6
View File
@@ -103,14 +103,16 @@ const nativeAndIntegrationPackages = [
// and is outside every CI TS bucket.
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 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.)
// Repo-level script tests. CI's `workspace` bucket only runs the merge gates:
// the concurrency regression (the GHA-config guard) and the .d.ts extension
// rewrite (guards published-type resolution; hermetic temp-dir suite). A local
// full run 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/fix-dts-extensions.test.ts",
"scripts/link-omp.test.ts",
];
@@ -337,7 +339,14 @@ async function commandsForMode(mode: Mode): Promise<TestCommand[]> {
{
label: "scripts",
cwd: ".",
command: ["bun", "test", "--parallel=4", ...onlyFailuresArgs, "scripts/ci-concurrency.test.ts"],
command: [
"bun",
"test",
"--parallel=4",
...onlyFailuresArgs,
"scripts/ci-concurrency.test.ts",
"scripts/fix-dts-extensions.test.ts",
],
},
];
case "native":