fix(Pipeline): 完善 focus 协议 Schema - #1473
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.
Summary
focus字段补充结构化 Schema 定义Node.*回调消息类型content、display、trace字段Validation
rtk uvx check-jsonschema --schemafile tools/pipeline.schema.json test/schema/pipeline.schema.correct.jsonrtk uvx check-jsonschema --schemafile tools/pipeline.schema.json test/schema/pipeline.schema.error.json(预期失败,并命中新增约束)git diff --cached --checkSourcery 摘要
完善 Pipeline
focus字段的结构化 Schema 校验能力。新功能:
focus字段定义结构化 Schema,涵盖全部 21 种Node.*回调消息类型及支持的模板字段。问题修复:
focus配置的校验。测试:
focus约束。Original summary in English
Summary by Sourcery
完善 Pipeline
focus字段的结构化 Schema 校验能力。New Features:
focusfield, covering all 21Node.*callback message types and supported template fields.Bug Fixes:
focusconfigurations by enforcing the newly defined structure.Tests:
focusconstraints.