Skip to content

Bun v1.0.31 is taking too long to install packages in Github Actions #9430

Closed

Description

What version of Bun is running?

v1.0.31

What platform is your computer?

Github Actions

What steps can reproduce the bug?

Not clear yet about how to make a correct reproduction. But my CI runs in Github actions are taking a lot of time and are timeouting during bun install. My bunfig file:

[install]
exact = true

[install.lockfile]
save = false

Another important info is that I'm using the workspaces feature in package.json:

"workspaces": [
  "packages/*"
],

So because of this monorepo arrangement, I'm not using lock files to avoid too many branch refreshes due to conflicts in bun.lockb

What is the expected behavior?

To have the normal blazing fast bun install times.

What do you see instead?

Timeouts of 20 minutes in my Github Actions workflows.

Additional information

I'm using moonrepo for orchestrating the tasks in the monorepo.

Not sure if this is a clear regression but rolling back to v1.0.30 solves the issue in Github Actions.

Also, using v1.0.31 locally in a Mac (Darwin 23.3.0 arm64 arm) doesn't raise the issue locally.

I'm sending this bug report because others may have the same issue.

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

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbun installSomething that relates to the npm-compatible client

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions