test(runtime-host): parallelize execution host integration coverage - #1964
Merged
M4n5ter merged 1 commit intoAug 3, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
English
Summary
Why
Node's test runner schedules test files in parallel, but the former monolithic file serialized every execution-host scenario. That single file dominated the Runtime Host suite even though its cases use independent temporary roots.
The new files group authority/interactions, queue/admission, recovery, and message lifecycle coverage. They can run concurrently without changing production code or weakening coverage.
Impact
Validation
npm run build:testnpm --workspace @maka/runtime-host test: 568 passednpm run lintnpm run format:checkupstream/main: no additions or omissions中文
概要
原因
Node 测试运行器会并行调度测试文件,但原有单体文件会串行执行其中所有 execution-host 场景。尽管这些场景使用相互独立的临时 root,这个文件仍长期占据 Runtime Host 测试的主要耗时。
拆分后的文件分别覆盖 authority/interactions、queue/admission、recovery 和 message lifecycle,可以并行运行,且不改动生产代码或削弱覆盖范围。
影响
验证
npm run build:testnpm --workspace @maka/runtime-host test:568 个通过npm run lintnpm run format:checkupstream/main比较测试名称集合:无新增或遗漏