Uh oh!
There was an error while loading. Please reload this page.
fix(runtime-host): arm process lifecycle before readiness - #1690
Merged
Astro-Han merged 1 commit intoJul 31, 2026
Merged
Conversation
M4n5ter
marked this pull request as ready for review
July 31, 2026 08:37
Uh oh!
There was an error while loading. Please reload this page.
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 freeto 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
Root cause
The test Host fixtures published their
readyIPC message before entering the process lifecycle helper. A parent that stopped the child immediately after readiness could therefore deliverSIGTERMbefore the child installed its graceful-shutdown handler, producing intermittent CI failures in otherwise unrelated pull requests.Validation
npm --workspace @maka/runtime-host run typechecknpx biome linton all changed files中文
概要
根因
测试 Host fixture 在进入进程生命周期辅助函数之前就发布了
readyIPC 消息。父进程若在收到就绪消息后立即停止子进程,可能会在子进程安装优雅关闭处理器之前发送SIGTERM,从而使无关 PR 的 CI 间歇失败。验证
npm --workspace @maka/runtime-host run typechecknpx biome lint