Open schneems opened 1 month ago
thx for catching this, i meant to open a tracking issue but forgot. and the context is helpful for preserving the intent of the test for whoever ends up renovating this
My best guess is that bundler stopped installing the entire git history somehow, so when it tries to checkout to an older SHA it thinks it doesn't exist.
OK there's pretty good circumstantial evidence that this is indeed what happened: https://github.com/rubygems/rubygems/pull/4475
Here are some version tags someone could use to bisect / verify
These tests are failing on main:
With error:
The purpose of these tests is to exercise the A/B commit testing capabilities of derailed benchmarks. I.e. you point it at a git path, give it two SHAs and a command to run, and it will tell you which is faster.
My best guess is that bundler stopped installing the entire git history somehow, so when it tries to checkout to an older SHA it thinks it doesn't exist.
A path forward could be: Making our own git repo inside of the test and using
DERAILED_PATH_TO_LIBRARY
to that (or some other way to exercise those code paths). Alternatively we couldgit clone
rails into a tempdir or something but it would be better if it was a consistent location for performance reasons.It's okay to keep them disabled for now, but it also means we now have less code coverage.