fix: SLI selftest SLI_SELFTEST_DIR 缺省(.github #98,ADR-0059) - #194
Conversation
|
Warning Review limit reached
Next review available in: 4 minutes Limit details: You’ve used all 10 included reviews currently available. Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?Wait for the limit to reset, then comment An organization admin can change what happens after included review limits in Billing. How do review limits work?CodeRabbit enforces per-developer PR review limits within each organization. For paid Pro and Pro+ reviews, CodeRabbit uses a developer's included PR review attempts over the past 7 days to set the current hourly allowance. At typical activity levels, the full plan allowance applies. Higher sustained activity can lower the allowance until earlier attempts leave the 7-day window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Comment |
PR Summary by QodoFix sli-report self-test default for SLI_SELFTEST_DIR under set -u
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
There was a problem hiding this comment.
Pull request overview
This PR fixes the --self-test path in scripts/sli-report.sh so it won’t fail under set -u when SLI_SELFTEST_DIR is unset, aligning with the reported first-run failure in .github #98 / ADR-0059.
Changes:
- Default
SLI_SELFTEST_DIRto.when invoking the embedded Python self-test helper, preventing an “unbound variable” error underset -u.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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 tweak Display preferences with a live preview to see your comment before it ships |
T4 首跑暴露:workflow 自测步骤未传 SLI_SELFTEST_DIR,set -u 下 unbound。缺省点号。