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