fix: [QE E2E Test] Failure: E2E Pipeline: IR rules=[] — 0功能规则生成 - Closes #15 #17

Merged
pzhang_zywl merged 1 commits from dev/issue-15-fix-empty-ir-pipeline into main 2026-05-31 17:42:59 +08:00

1 Commits

Author SHA1 Message Date
pzhang_zywl 8069fc2f8a fix: pipeline LLM 全失败时明确报错而非静默输出空 IR - Closes #15
CI / test (pull_request) Successful in 7s
- step1: 所有 LLM 调用返回空 function_units 时抛出 RuntimeError
- step1: main() 在 _quick_validate 未通过时 sys.exit(1)
- step2: function_units 为空时提前报错终止
- step3: fragments 为空时提前报错终止
- test: test_step1 捕获 SystemExit, test_step2_5/step3 空数据改为 skip

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-31 17:41:16 +08:00