flowpactworkflow contracts
Rules

FP406 · matrix-too-large

A job's matrix produces more than 256 jobs, which GitHub rejects.

CodeNameCategoryDefault severity
FP406matrix-too-largeMatrix🔴 error

Why it matters

GitHub generates at most 256 jobs per matrix (after exclude and include) and fails the workflow run otherwise.

How to fix

Split the job, drop dimensions or values, or exclude combinations you do not need.

Configure

Change the severity (or turn the rule off) in .github/flowpact/flowpact.config.yml, by code or by name:

.github/flowpact/flowpact.config.yml
rules:
  FP406: off
  # or: matrix-too-large: error

Explain it in the terminal:

flowpact explain FP406

On this page