refactor(pipeline 日誌): 步驟連號單一任務、輸入輸出與成敗訊息更明確、清除 bot-check 雜訊
This commit is contained in:
+2
-2
@@ -11,7 +11,7 @@ import {
|
||||
getLLMConfig,
|
||||
} from './config.js';
|
||||
import { verifyRemoteAccess } from './git.js';
|
||||
import { step, line, ok, error } from './log.js';
|
||||
import { step, line, ok, error, result } from './log.js';
|
||||
|
||||
const httpsAgent = GITEA_SKIP_TLS_VERIFY ? new https.Agent({ rejectUnauthorized: false }) : undefined;
|
||||
const api = (path) => `${GITEA_SERVER_URL.replace(/\/$/, '')}/api/v1${path}`;
|
||||
@@ -175,6 +175,6 @@ export async function runPreflight(workspace = process.env.GITHUB_WORKSPACE || '
|
||||
if (llm.keyIndex) ok(`LLM provider=${llm.provider} 驗證通過(key ${llm.keyIndex}/${llm.total})`);
|
||||
else ok(`LLM provider=${llm.provider} 連線正常`);
|
||||
|
||||
ok('前置驗證通過');
|
||||
result(true, '前置驗證通過');
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user