Fan-Out / Fan-In - CI/CD用語集の定義
Fan-out / fan-in は、あるステージが作業を多数の並列jobに分割し (fan-out)、後のステージがそれらすべての完了を待ってから結果を集約する (fan-in) パイプラインパターンです。これはCIがテストスイートを並列化してから判定を集約する方法です。
GitHub Actionsでは
fan-outはmatrixまたは複数の独立したjobであり、fan-inはすべての並列jobをneeds:の下に列挙する最終jobで、それらがすべて成功したときにのみ実行されます。
関連ガイド
Build Matrix - CI/CD Glossary DefinitionBuild Matrix: A build matrix is a configuration that expands a single job definition into many parallel jobs,…
Test Sharding - CI/CD Glossary DefinitionTest Sharding: Test sharding splits a single test suite into independent subsets (shards) that run in paralle…
Pipeline - CI/CD Glossary DefinitionPipeline: A **pipeline** is the automated sequence of stages - build, test, deploy - a code change passes thr…