-
-
Notifications
You must be signed in to change notification settings - Fork 366
Multiple workflow jobs with same ruby - Bundler cache issue? #801
Copy link
Copy link
Open
Description
Puma runs several workflow files, and there is overlap between the Ruby versions. For example, Ruby head is used in both the Puma CI workflow and a workflow that tests with turbo-rails. The turbo-rails workflow installs Rails.
Recently I noticed logs for the CI run loading a 'close key' match cache, and it logged removing all the Rails gems. Or, with multiple jobs with matching Ruby vesions, the cache may have .misses'.
I added more info to the key with cache-version (see https://github.com/puma/puma/pull/3726/files), but there might be a better way.
Not sure if anyone else has run into this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels