0

When I run a recipe I see messages like this one:

Parsing as quark .../my_big_cucumber.feature as its size 12Mb exceeds size threshold 10Mb

What does this message mean? I also see the message for json files. Clearly the files are too big, but what are the implications of this?

Christopher Helck
  • 1,130
  • 2
  • 8
  • 23

1 Answers1

0

A "quark" is what we call files that we could not parse or manipulate with OpenRewrite; we provide you with this message such that you know any changes you might have expected in these files will not be applied.

In this case it's because the files are too large; but it can also be because it's a file type we do not (yet) recognize.

Feature files are text, and should normally be parsed as such, but I must say I've never seen a feature file that large before, even as a contributor to cucumber-jvm. Would you want to make changes to your feature files through OpenRewrite? Or if not then it's safe to ignore this message for now.

Tim
  • 19,793
  • 8
  • 70
  • 95
  • It is a big feature file. The project has a few of that size or larger. I would love to have a way to "rewrite" Gherkin files. – Christopher Helck May 20 '23 at 18:21
  • Feel free to describe your use case on a feature request here, and then we'll have a look at what changes are necessary both in terms of feature recipes, and supporting large files in OpenRewrite. https://github.com/cucumber/cucumber-jvm-migration/issues – Tim May 21 '23 at 08:51