fix: org-gate C1 求值 bash -e false 灭脚本缺陷(ADR-0046) - #27
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthrough本次变更更新 ChangesC1 路径判定
Possibly related PRs
Suggested labels: Merge Risk: ⚪ Minimal · up to The workflow now preserves valid false evaluations instead of terminating early; no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
PR Summary by QodoPrevent org-gate exits on valid non-C1 verdicts
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can copy the agent prompt from any finding and feed it to your IDE agent |
agent-registry PR#65 实测:
VERDICT=$(jq -e ...)对 false 结论退出 1,裸赋值后取 $? 在 Actions 默认bash -e下直接灭脚本(非 C1 PR 静默 exit 1 无任何输出)。改RC=0; VERDICT=$(...) || RC=$?——false 是合法求值结果,只有 RC>1(编译/求值错误)才 fail-closed 判红。Summary by CodeRabbit