Repository navigation
feat(health): 为每一个脚本增加启动成功的检测标识与多模态就绪感知 - #142
Merged
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.
Closes #141
变更概述
HealthTarget联合类型,支持端口(ports)、HTTP、实时日志输出正则匹配(output)以及进程稳定存活检测(alive)。alive检测(启动后稳定存活 2 秒即标记就绪)。.devhub.yaml中允许为 script 配置health字段(包括 ports / http / output / alive)。RunStatusBadge):启动中显示黄色呼吸脉冲圆点,就绪显示绿色常亮圆点,无响应显示红色警告圆点;鼠标悬停显示检测目标。针对普通 alive 脚本保留主文案运行中,保持现有测试契约与无障碍树一致。terminal-panel.tsx):运行中标签前增加对应检测状态小圆点,并设置aria-hidden="true"避免污染无障碍树名称计算。group-step-card.tsx):步骤进程状态前增加检测状态小圆点与悬停目标提示。schedule-executor.ts,使devhub-core.ts保持在 395 行(< 400 行硬规则)。验证结果
pnpm check:全部通过(893 个单元与集成测试全部通过,TypeScript / ESLint / Prettier 0 告警)。pnpm e2e:全部通过(Playwright 60 个端到端测试全绿)。