Skip to content

Multiple workflow jobs with same ruby - Bundler cache issue? #801

@MSP-Greg

Description

@MSP-Greg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions