Skip to content

run lerna publish so slow #4140

Description

@lomo321

Current Behavior

In a monorepo. The lerna publish command is taking too long to execute. Debugging revealed that the Arbortist.loadActual() method within the packDirectory step is the bottleneck. A specific stage within loadActual consumes most of the time. What would be the impact of skipping this stage?
image

Expected Behavior

Skip findMissingEdges

Steps to Reproduce

This issue may not be prioritized if details are not provided to help us reproduce the issue.

Failure Logs / Configuration

lerna.json

<!-- Please paste your `lerna.json` here -->

lerna-debug.log

<!-- If you have a `lerna-debug.log` available, please paste it here -->
<!-- Otherwise, feel free to delete this <details> block -->

Environment

[email protected]
pnpm@8
[email protected]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions