chore: update ai review exclusions

This commit is contained in:
2026-05-16 14:53:12 +00:00
parent c6c02145a1
commit b9aae9aa4f
+7
View File
@@ -6,6 +6,13 @@
"suggestion": "新引入的 `require_var` 函數是腳本核心參數驗證邏輯,但缺乏獨立的單元測試。請為此函數建立測試,確保它在變數為空字串、為 \"null\" 字串以及有效值時,都能正確地判斷並執行預期的行為(例如:在無效情況下退出並輸出錯誤訊息至 stderr)。",
"is_new": true
},
{
"level": "warning",
"role": "Zara",
"location": "entrypoint.sh",
"suggestion": "舊版腳本缺少 `set -euo pipefail`。建議在腳本開頭加入此設定,以確保腳本在遇到錯誤時能立即終止,並避免使用未定義的變數,從而提高腳本的可靠性並防止因靜默失敗而浪費的計算資源。",
"is_new": true
},
{
"level": "warning",
"role": "Rex",