ruby / ruby/setup-ruby

bundle install should honor BUNDLE_JOBS configuration

Open
#673 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
990
Forks
369
Avg merge
18m
Merged PRs (30d)
3

Description

We just ran into a bug related to Bundler where transitive dependencies would not resolve correctly when parallel installation (--jobs option) is enabled. The problem with the current action is that there is no way to configure this behaviour as it is hardcoded to 4 (cf. bundler.js).

It would be very helpful if the BUNDLE_JOBS configuration, if present, could be honored.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with bundler.js around line 209, where the parallel installation setting is hardcoded to 4. Trace how the action invokes Bundler and determine how an existing BUNDLE_JOBS value should affect that setting. Done means installations honor BUNDLE_JOBS when it is present while retaining current behavior otherwise.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, ruby
Domain
ci-cd
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.