Multiple workflow jobs with same ruby - Bundler cache issue?
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先检查共用 Ruby 版本的 workflow 文件以及 issue 中描述的缓存相关日志,然后将它们与 pull request #3726 中的缓存版本变更进行比较。确定重叠的 job 是否可能恢复或移除不兼容的 Rails gems;缓存行为得到确认,并且记录了具体修复方案或解释后,即视为完成。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- JavaScript
- 星标
- 1k
- 派生
- 381
- 平均合并
- 17 小时 39 分钟
- 30 天内合并 PR
- 10
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ruby/setup-ruby 的其他 Issue
-
macOS Rubies need Homebrew openssl@4 >= 4.1 since #980; an older 4.x segfaults instead of erroring未关闭
难度 1/5 1 小时以内 新手友好度 82/100
ruby/setup-ruby#981 · 2 条评论 ·
维护者通常 1 天内回复
-
Ruby 3.2.11 for ubuntu-26.04 isn't linked against libcrypt: String#crypt ignores $1$/$5$/$6$ salts可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 4/5 3-5 天 新手友好度 35/100
ruby/setup-ruby#985 · 3 条评论 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 8/100
ruby/setup-ruby#972 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 20/100
ruby/setup-ruby#967 · 3 个 reaction ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 42/100
ruby/setup-ruby#791 · 3 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
marketing
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
Kanevry/session-orchestrator#108 ·
-
难度 1/5 1 小时以内 新手友好度 88/100
awesomemotive/all-in-one-seo-pack#3238 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
andromarces/agent-loops#2055 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复