feat(pipeline): structure failure reasons and recovery paths in step conclusions - #195
Open
ruanzhengxin-zhuxing wants to merge 1 commit into
Open
feat(pipeline): structure failure reasons and recovery paths in step conclusions#195ruanzhengxin-zhuxing wants to merge 1 commit into
ruanzhengxin-zhuxing wants to merge 1 commit into
Conversation
…conclusions - iac-aliyun-deploying conclusion_schema: add error_code/error_message/ failed_stack_status and recovery_attempts; failed conclusions now require error_message so each retry is distinguishable and root-cause traceable - iac-aliyun-cost preview_validation: add recovered/failure_history so implicit preview failure-retry-recovery paths are visible in cost conclusions - update deploying/cost prompts and skill guidance; forbid reusing identical failure text across retries - add schema and content tests for both skills Refs: Aone #84518490 (sessions 43b8f91f/69f59a80)
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.
背景
Aone 需求 #84518490:Pipeline 步骤结论未结构化记录失败原因与恢复路径(Session 43b8f91f 部署步骤 7-9 结论字节级相同仅有 status=failed;Session 69f59a80 preview 在 cost_estimating 期间 body_file invalid 后隐式恢复未体现)。
变更
iac-aliyun-deployingconclusion_schema:新增error_code/error_message/failed_stack_status/recovery_attempts[];status=failed时必填error_message,使每次重试结论可区分、根因可追溯。iac-aliyun-costpreview_validation:新增recovered/failure_history[],预览失败-重试-恢复路径在 cost 结论中可见。prompts/deploying.md、prompts/cost_estimating.md与两个技能正文指引,禁止跨重试复用同一失败文案。测试
tests/pipeline/selling/skills154 passed;全量 pytest 13280 passed(2 个失败为父提交同样失败的既有环境相关问题);ruff 全过。