Bisect - CI/CD用語集の定義
bisect(git bisect)は commit 履歴を二分探索して、バグを持ち込んだ正確な commit を見つけます。既知の good な commit と既知の bad な commit を指定し、Git が原因を特定するまで各 checkout を good か bad かでラベル付けします。
bisect(git bisect)は commit 履歴を二分探索して、バグを持ち込んだ正確な commit を見つけます。既知の good な commit と既知の bad な commit を指定し、Git が原因を特定するまで各 checkout を good か bad かでラベル付けします。
bisect(git bisect)は commit 履歴を二分探索して、バグを持ち込んだ正確な commit を見つけます。既知の good な commit と既知の bad な commit を指定し、Git が原因を特定するまで各 checkout を good か bad かでラベル付けします。
CI での扱い
bisect は git bisect run <script> で自動化できます。script が good なら 0、bad なら非ゼロで終了することで、pipeline が手動の手順なしに regression を特定できます。
関連ガイド
Reflog - CI/CD Glossary DefinitionReflog: The reflog records every update to `HEAD` and branch tips locally, so `git reflog` can recover commit…
Exit Code - CI/CD Glossary DefinitionExit Code: An **exit code** is the number a process returns when it ends. Zero means success; non-zero means…
Commit-ish - CI/CD Glossary DefinitionCommit-ish: A commit-ish is anything Git can resolve to a commit: a full or short SHA, a branch, a tag, `HEAD…