Documentation / VFX-D-1103

VFX-D-1103

Title

SuiteFileTooLarge

Explanation

The suite file exceeds the 2 MB maximum size the YAML-bomb guard enforces. This determination is reached from the file's length ALONE, without reading a single byte of its content — that is the whole point of the guard: it refuses to load what it is rejecting, so an oversized file can never reach the recursive YAML parser at all.

Common causes

  • Large fixture data (sample payloads, test data) embedded inline in the suite rather than referenced from an external file.
  • Generated or templated YAML that duplicated content many times over.
  • A suite that has genuinely grown past the intended scope of a single .e2e.yaml file.

Fixes

  • Move large fixture payloads to external files referenced by path, rather than inlining them in the suite.
  • Split an overgrown suite into multiple smaller .e2e.yaml files.
  • Treat the 2 MB cap as a hard limit for a single call — it is not configurable per request, so a genuinely large suite must be reduced.