CIのdebug loggingとは?
CIのdebug loggingは、runnerの設定で有効化されると、通常はログから隠されている追加の診断メッセージをrunnerとアクションに出力させる、オプトインの冗長モードです。変数の解決、条件分岐、内部的な判断を表面化させます。workflowが予期しない挙動をしたとき、最初に切り替えるスイッチです。
なぜ重要か
デフォルトのログは、読みやすさを保つためにエンジンの推論の多くを隠します。debug loggingを有効にすると、なぜ条件がスキップされたか、inputがどう解決されたか、どこでパスが間違ったかが明らかになります。workflowを変更せずに、紛らわしいCIの挙動を診断する標準的なツールです。
関連ガイド
What Is Step Debug Logging?Step debug logging is the per-step verbose mode that prints extra diagnostic detail about how an individual s…
What Are Runner Diagnostic Logs?Runner diagnostic logs are detailed internal logs from the CI runner process itself, capturing how it set up…
What Is Log Grouping?Log grouping collapses a block of build output into a named, expandable section in the CI log so long runs st…