-
Notifications
You must be signed in to change notification settings - Fork 200
Closed
Labels
Description
Describe the bug
Running version >= v1.0.0-beta.127 (latest is v1.0.0-beta.129) of redocly/cli Docker results in the validation completing and then the process sits there for a while before exiting. The wait time can be significant (30 sec) for larger OpenAPI spec files.
To Reproduce
Steps to reproduce the behavior:
A small OpenAPI file, example.yaml:
openapi: 3.0.3
info:
title: Test
paths:
/:
get:
responses:
'200':- Given the OpenAPI example file shown above
- Run
docker run --rm -v $PWD:/spec redocly/cli lint example.yaml - It outputs "run
redocly lint --generate-ignore-fileto add all problems to the ignore file." and then sits there for a couple seconds - Run
docker run --rm -v $PWD:/spec redocly/cli:v1.0.0-beta.126 lint example.yamland it exits immediately
Using a larger OpenAPI file results in a longer and more significant hang time.
Expected behavior
It shouldn't, or it is unclear why it would hang for a while before exiting.
Redocly Version(s)
Issue is with Docker image redocly/cli version >= v1.0.0-beta.127 (latest == v1.0.0-beta.129)