Skip to content

test: close validators and run regression tests in CI - #469

Open
与世无争剑宇子 (yushiwuzhengjianyuzi) wants to merge 1 commit into
microsoft:mainfrom
yushiwuzhengjianyuzi:fix/463-test-cleanup-ci
Open

与世无争剑宇子 (yushiwuzhengjianyuzi) wants to merge 1 commit into
microsoft:mainfrom
yushiwuzhengjianyuzi:fix/463-test-cleanup-ci

Conversation

@yushiwuzhengjianyuzi

Summary

  • Track TypeScript validators created by the shared test fixture and close them in afterEach, including when assertions fail.
  • Run the existing regression suite with npm test in the Node.js CI matrix after npm run build-all.

Why

With TypeScript 7, each validator owns a native compiler process. The validator suite created a new instance per test without releasing it, which can exhaust compiler resources on some environments. The CI workflow also only built the workspace, so regressions in the test suite were not enforced.

Validation

  • npm test — 177 tests passed, 0 failed
  • npm run build-all — passed

Closes #463

@yushiwuzhengjianyuzi

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clean up TypeScript test validators and run regression tests in CI

1 participant