Repository navigation
Fix bundle install step on CI for TruffleRuby - #1104
BobbyMcWho merged 1 commit into
Conversation
BobbyMcWho
left a comment
There was a problem hiding this comment.
This will make CI slower on most builds, is there an alternative way to have truffle ruby install with a separate cache?
|
Yeah, it's a downside. But looks like installing dependencies without caching works faster than using a broken cache. A job without caching (link) - installing dependencies takes 34 s. I will probably create an issue for setup-ruby - to clarify how |
|
Ah, I forgot truffle Ruby has its own CI file, I'm fine with that in that case since it won't effect the other runtimes |
|
Thank you! |
|
@andrykonchin new errors in truffle, mind taking a look? |
|
Failing specs (2 failed jobs) agains TruffleRuby 22.3.1 should be fixed by my another PR (#1105). |
|
Failed job with truffleruby-head looks like a transient failure (it looks to me caused by concurrent access to Hash). |
Currently CI builds agains TruffleRuby 22.3.1 are failed on the
bundle installstep.https://github.com/omniauth/omniauth/actions/runs/3970157787/jobs/6805553917
I assume that the issue is related to invalid/incorrect cached
Gemfile.lockfile as far as locally I cannot reproduce the issue.Removing
bundler-cache: trueoption in the TruffleRuby workflow solves the issue.I tried also to invalidate cache with
cache-versionoption (https://github.com/ruby/setup-ruby#dealing-with-a-corrupted-cache) but it seems it doesn't work as I expected. My attempts are available in a fork repository https://github.com/andrykonchin/omniauth.