Closed sklerotraficon closed 9 months ago
This issue is stale because it has been open for more than 14 days with no activity. Remove stale label or comment or this will be closed in 14 days.
This issue was closed because it has been stalled for 28 days with no activity.
The problem
Using percy snapshot I have around 350 URLs in a urls.yaml according to the Example snapshots.yml
I use 3 more defined references in every url item.
On running the percy snapshot command, I get a Reference Error: Excessive alias count indicates a resource exhaustion attack.
Since the error seems to come from the yaml parser used by Percy,there should be a way to set the maxAliasCount in the percy configuration and pass it to the yaml parser.
The value should be configurable via a config parameter in the snapshot section of .percy.js:
According to the YAML Documentation:
Environment
@percy/cli
version: 1.27.5Debug logs
The logs shows: Reference Error: Excessive alias count indicates a resource exhaustion attack
Code to reproduce issue
The yaml followed the Example snapshots.yml with 3 more defined references in a yaml with 360 url items