Context
In case something happens while running the DirectResolver and it fails, we can have a lockfile_check record with all the information we need to reproduce the error locally and fix it without a doubt.
Done When
- Create a migration to add the
target_rails_release
- Should be used here:
|
lockfile_check = @lockfile.lockfile_checks.find_or_create_by!(rails_release: target_release) do |check| |
|
check.status = "pending" |
|
check.ruby_version = runtime[:ruby_version] |
|
check.rubygems_version = runtime[:rubygems_version] |
|
check.bundler_version = runtime[:bundler_version] |
|
end |
Context
In case something happens while running the DirectResolver and it fails, we can have a lockfile_check record with all the information we need to reproduce the error locally and fix it without a doubt.
Done When
target_rails_releaseapp/app/services/checks/create.rb
Lines 21 to 26 in a93ad09