Credo Quietly Failed.

Yesterday I had a credo failure on a merged PR. The same code had made it through two passes of our CI server (once on the branch and once on merge).

Inspecting the logs revealed that Credo had timed out parsing a file and just gave up leaving an innoculous info message.

Looking at the docs https://hexdocs.pm/credo/config_file.html reveals a config value that can be used to raise the timeout value. parse_timeout defaults to 5000 but can be given a larger value.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s