Skip to content

CLI hangs with large numbers of files in a single directory #1777

@mmitche

Description

@mmitche

Describe the bug

I had a tool that I wrote using the CLI to generate a bunch of reports. These (a markdown and an image) got placed into a directory underneath the working directory of the CLI. After this was done (reported generated in another terminal window), the first subsequent command in the CLI will initially hang for 2-5 minutes. The CLI cannot be Ctrl+C'd, ESC, etc.

After this point, the commands appear to operate as normal until the session is restarted.

Affected version

v0.0.421-1

Steps to reproduce the behavior

  1. Generate folder will thousands (I had 1500) markdown and images. THis was a subdir underneath the top dir of the CLI working dir.
  2. Run a CLI command or promot.

Expected behavior

Command runs.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions